OSMeterium
The osmeterium is a defensive organ found in all papilionid larvae, in all stages.
A simple wrapper for Popen to meet MapColonies org needs for running background processes and pipe the output.
Usage
Async
t = run_command_async('ping -c 5 www.google.com',
(lambda x: print('Hey this stdout output {0}'.format(x))),
(lambda x: print('Hey this stderr output {0}'.format(x))),
(lambda y: print('This is exit code ${0}'.format(y))),
(lambda: print('Command success'))) # return a Thread Object
t.join()
Sync
run_command('ping -c 5 www.google.com',
(lambda x: print('Hey this stdout output {0}'.format(x))),
(lambda x: print('Hey this stderr output {0}'.format(x))),
(lambda y: print('This is exit code ${0}'.format(y))),
(lambda: print('Command success')))
Release files for osmeterium 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| osmeterium-0.0.3.tar.gz | 2.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| osmeterium-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.4 kB
Release files / osmeterium-0.0.3.tar.gz
| Download URL | osmeterium-0.0.3.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b5b1fdb535f07786bc38c0989b607f40896aefc859330e339ccdc3f6052d4428
|
|
BLAKE2b-256 checksum How to use checksums |
a107a9dfe3d36d1f17fdbc0d8497d255489a84167d190ac648d9865987f40863
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.11
|
Release files / osmeterium-0.0.3-py3-none-any.whl
| Download URL | osmeterium-0.0.3-py3-none-any.whl |
|---|---|
| Size | 2.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6519c4f298750b0f8f5bbda6d0c14bb14f7603e5ce7671727ef2df7f7115dbb5
|
|
BLAKE2b-256 checksum How to use checksums |
b38cad4d3fd2ca39c4d8a1c04586a8572788f710a183c7caffb8c234046231e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.11
|