capture and report function IO at runtime
Project description
python-io-capture
capture and report function IO at runtime
Installation
pip3 install python-io-capture
Usage
from example import example
from py_io_capture import decorate_module, dump_records
import atexit
example = decorate_module(example)
atexit.register(dump_records, "demo_dump.json")
if __name__ == "__main__":
example.main()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file python_io_capture-0.0.1.4.tar.gz
.
File metadata
- Download URL: python_io_capture-0.0.1.4.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f75c924955c0abccefa3bdc8103e1775533028ec27fc9f3987dddda01d3725d6 |
|
MD5 | af0418ec6107d3e4e91cca7d25a55e25 |
|
BLAKE2b-256 | e5cf5c8a36f586a9e75a9f76bfe1bcb67b7de749231fe60e89debaa8a60410b2 |