ExeLib 1.0.0
A python module as an alt to default exec() fun , with new features : )
For getting return and logging from exec and also limit cpu time and ram usage...
Use: from Exelib import exec_
Install !!
pip install ExeLib
How to return ??
__reexec__ <whatever you want to return>
How to log ??
__logging__ <whatever you want to log>
How to use auto return ??
exec_("bla bla bla" , auto_return = "<something you want to return , when the program crashes>")
How to access these ??
rets , logs = exec_("bla bla bla")
How to set cpu time ??
exec_(cmd,cpu_t= <time in seconds>)
How to limit ram usage ??
exec_(cmd,ram_u= <max-size>)
Metadata
Release files for ExeLib 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ExeLib-1.0.1.tar.gz | 3.5 kB | Details |
Release files / ExeLib-1.0.1.tar.gz
| Download URL | ExeLib-1.0.1.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f40be3552d0ba6455c21b80f721aa6f36e324a6b7e8b17e6aa19ceb1d6eec411
|
|
BLAKE2b-256 checksum How to use checksums |
42ba63de537a317d309652ac9accb905263e4239cae608e4b4a5ca7507f51f18
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|