If you check out the test file[1] in the repository for deco, it looks like you can specify the number of cores by setting the &quot;processes&quot; attribute of the concurrent-decorated function [object].<p>1. <a href="https:&#x2F;&#x2F;github.com&#x2F;alex-sherman&#x2F;deco&#x2F;blob&#x2F;master&#x2F;conc_test.py#L27" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;alex-sherman&#x2F;deco&#x2F;blob&#x2F;master&#x2F;conc_test.p...</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;alex-sherman&#x2F;deco&#x2F;blob&#x2F;cee63391bf4c6d66ee40628fb6ab61e62d3bc236&#x2F;deco&#x2F;conc.py#L112-L117" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;alex-sherman&#x2F;deco&#x2F;blob&#x2F;cee63391bf4c6d66ee...</a>