Our great sponsors
-
subprocess-tee
A subprocess.run drop-in replacement that supports a tee mode, being able to display output in real time while still capturing it. No dependencies needed
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
scalene
Scalene: a high-performance, high-precision CPU, GPU, and memory profiler for Python with AI-powered optimization proposals
I'm biased because I wrote it, but subprocess-tee is the only other package I know of that comes close to getting this right.
A lot of the Python community relies on Makefile for automating some CLI scripts. Alternatives that do similar stuff include Tox, task, or just.
A lot of the Python community relies on Makefile for automating some CLI scripts. Alternatives that do similar stuff include Tox, task, or just.
Scalene is a very powerful profiler. It is especially useful in contexts where you're invoking native libraries through python bindings (or any time you're using extension modules at all) as it can distinguish between time spent in the pure python code vs. the wrapped native code.