

GitHub - kennethreitz/bash.py: An inline Bash script runner, for Python.
source link: https://github.com/kennethreitz/bash.py
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md
bash.py
An inline Bash script runner, for Python.
Example Usage
>>> import bash >>> bash.run("echo hi") <BashProcess pid=24108 return_code=0> >>> _.output 'hi\n'
Installation
$ pipenv install bash.py
Recommend
-
370
Amplify Overview Amplify allows users to increase the size of images. Best used in narrow containers, between paragraphs. It is lightweight: 29 sloc of JS and 23 sloc of SCSS resulting in 1.22kB com...
-
182
Pipenv: Python Development Workflow for Humans [ ~ Dependency Scanning by PyUp.io ~ ] Pipenv is a tool that aims to bring the best of all packaging worlds (bund...
-
139
requests-html - HTML Parsing for Humans™
-
157
Python 程序员,特别是做爬虫的同学都知道 HTTP 请求库 Requests,Requests 完美体现了 “for Humans” 这个词要表达的意思。 它的作者是高颜值的摄影爱好者 kennethreitz ,kennethreitz 写过很多的库,
-
68
README.rst Requests-Core Experimental lower-level async HTTP client for Requests 3.0 Goals: take urllib3 codebase add async s...
-
47
README.md PyTheory: Music Theory for Humans This (work in progress) library attempt to make exploring music theory approachable to humans. Usag...
-
44
README.md Requests: HTTP for Humans™
-
60
README.md
-
3
README Small script that alleviates some of the security concerns with running curl <url> | sh -. Usage Assuming the site provides it, the md5sum can be used to verify the downloaded script before r...
-
9
A little trick to embed python code in a BASH script. · GitHub Instantly share code, notes, and snippets.
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK