Repository navigation
First public release.
Added
Command: a chainable, fully typed builder to configure and run an external command.exec()/aexec()to run a command synchronously or withasyncio, waiting for it or
leaving it in the background.pipe()/pipeline()and theirapipe()/apipeline()counterparts, chaining commands
with raw OS pipes, safe for binary payloads.- Output redirects to a
Path, a file object (StringIO/BytesIOincluded) or a
callable receiving each line, withstrip_redirect()to feed loggers. - Input from a
strorbytespayload, a file object, aqueue.Queueor an
asyncio.Queue. timeout()andok_exit_codes(), enforced withTimeoutExceptionand
ErrorReturnCode;CommandNotFoundfor a missing binary.EnvCmdandPathCmdto build a command's environment andPATHfrom the current
ones, andsearch_pathto look a binary up in given directories.user(),group()andextra_groups()to drop privileges (POSIX only).nice()to lower the CPU priority, with the idle IO class on Linux and a priority
class on Windows.Bind, a base for typed per-binary wrappers whose operations each run in an
isolatedCommand.ProcessObserverto be notified of every process spawn and exit.- Support for Python 3.12 and 3.13 on Linux, macOS and Windows, with no runtime
dependency.