Donations
It takes me a long time to make these libraries. If you would like to support my work, Then you can follow my patreon :)
https://www.patreon.com/Schkimansky
Library
This is a easy to use python library that allows you to run terminal commands easily.
import propar
result = propar.run_command('echo Hello, MG?')
print(result)
Installation
pip install propar
Documentation
There are only 2 functions:
run_command(command: str, timeout=None, get_both_output_and_errors=False, get_return_code=False)
run_commands(commands_array: list[str], timeout=None, get_both_output_and_errors=False, get_return_code=False)
Run_command takes a command as a string and then runs it. The return value of the function depends on the parameters. For example, In this case the return value will be the text that you get when you run the command manually in the terminal.
result = run_command("mkdir NewFolder") # If this command gets a error, it will return the error. However if theres no error, Then it will just return the text you get when you execute that command manually.
However, you can put a timeout parameter to stop the function once it takes too long (defined in seconds)
Also, theres the run_commands function. Its the same as run_command but this time it runs multiple commands.
Thats pretty much all, This can be used as a alternative to CMake. And is more powerfull, easier, extensible, simpler, reliable
Metadata
Release files for propar 1.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 | Provenance | Actions |
|---|---|---|---|---|
| propar-1.0.3.tar.gz | 9.5 kB | Without provenance | Details for propar-1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| propar-1.0.3-py3-none-any.whl | Python 3 | none | any | Details for propar-1.0.3-py3-none-any.whl |
Total release size: 19.4 kB
Release files / propar-1.0.3.tar.gz
| Download URL | propar-1.0.3.tar.gz |
|---|---|
| Size | 9.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ac797428d116cc0bc69713604b4f33888ae8bee869b8215ad2d6a20a7aa4be04
|
|
BLAKE2b-256 checksum How to use checksums |
97b131bcef85f9a76d3bae9998a4f24a66db6f5ce1ff85f984a923e2272889e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / propar-1.0.3-py3-none-any.whl
| Download URL | propar-1.0.3-py3-none-any.whl |
|---|---|
| Size | 9.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f68119e586624d503674d77e6b0f4f2d87dee6c0c7506ce7d89ba990a59ead8f
|
|
BLAKE2b-256 checksum How to use checksums |
1dbe868c69c88f215f04a4b011caf33bf0e7d582d739579a3ec458c3945dfb07
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Security for propar 1.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.