An strace-like tool for Python audit events
Project description
SnakeTrace 🐍
An strace
-like tool for Python audit events.
Requirements
- Python 3.8 or later
Installation
Latest release via pip
:
pip install snaketrace [--user]
via Git:
git clone https://github.com/dcoles/snaketrace.git; cd snaketrace
python3 setup.py install [--user]
Usage
usage: snaketrace [-h] [--tsv] [--color {never,always,auto}] [-t | -tt | --timefmt TIMEFMT] [-e FILTER]
[-o OUTPUT]
script [args [args ...]]
Trace Python audit events
positional arguments:
script Python script
args Python script arguments
optional arguments:
-h, --help show this help message and exit
--tsv output as tab separated values
--color {never,always,auto}
colorize output
-t print absolute timestamp
-tt print absolute timestamp with usec
--timefmt TIMEFMT print absolute timestamp with custom format
-e FILTER, --filter FILTER
filter audit events matching glob pattern (may be specified multiple times)
-o OUTPUT, --output OUTPUT
write output to file with given name
License
Licensed under the MIT License.
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
snaketrace-0.3.1.tar.gz
(5.6 kB
view details)
Built Distribution
File details
Details for the file snaketrace-0.3.1.tar.gz
.
File metadata
- Download URL: snaketrace-0.3.1.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 882c57560c898e4a81e2b15569eec288997e9b585b80c1713c49d5fd35b172f8 |
|
MD5 | 3acf03d46593ec329b35c95ffaf4fe63 |
|
BLAKE2b-256 | dee505cda5c5d48e041974ccedd9e4d1d36aa887a3f83c85ec61823b2b1f302f |
File details
Details for the file snaketrace-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: snaketrace-0.3.1-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81d6fc8e3dcc89fcad6133d343529c0c9fea38c705a33066c9cc7cf8eed52740 |
|
MD5 | 52d0388cd83873fead0f3c707d966826 |
|
BLAKE2b-256 | e16be74246fe152eb7038efd0281e608923a222bc9fb715eb948e6618a110d15 |