Skip to main content

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)

Source distribution for ExeLib 1.0.1
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

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page