{"library":"sh","type":"library","category":null,"description":"sh is a full-fledged subprocess replacement for Python (3.8 - 3.12) that allows you to call any program on your system as if it were a function. It dynamically resolves programs from your `$PATH`, similar to Bash, and wraps them in callable Python functions, offering an intuitive way to write shell scripts in Python. The current version is 2.2.2, and it maintains an active release cadence with regular bug fixes and minor feature additions.","language":"python","status":"active","version":"2.2.2","tags":["shell","subprocess","command-line","scripting","unix"],"install":[{"cmd":"pip install sh","imports":["import sh","from sh import Command","from sh import ErrorReturnCode_127","from sh.contrib import bash"]}],"homepage":"https://sh.readthedocs.io/","github":"https://github.com/amoffat/sh","docs":"https://sh.readthedocs.io/","changelog":null,"pypi":"https://pypi.org/project/sh/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.7,"avg_import_s":0.31,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/sh/compatibility"},"provenance":{"verified_status":"passing","verified_at":"Sun Jun 28","last_verified":"Sun Jun 28","next_check":"Tue Jul 28","install_tag":"verified"}}