Skip to main content

SnakeTrace 🐍

An strace-like tool for Python audit events.

Screenshot of SnakeTrace

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.

Metadata

Release files for snaketrace 0.3.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 snaketrace 0.3.1
File Size Uploaded Provenance
snaketrace-0.3.1.tar.gz 5.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for snaketrace 0.3.1
File Interpreter ABI Platform
snaketrace-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 13.5 kB

Release files / snaketrace-0.3.1.tar.gz

Download URL snaketrace-0.3.1.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
882c57560c898e4a81e2b15569eec288997e9b585b80c1713c49d5fd35b172f8
BLAKE2b-256 checksum
How to use checksums
dee505cda5c5d48e041974ccedd9e4d1d36aa887a3f83c85ec61823b2b1f302f
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / snaketrace-0.3.1-py3-none-any.whl

Download URL snaketrace-0.3.1-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
81d6fc8e3dcc89fcad6133d343529c0c9fea38c705a33066c9cc7cf8eed52740
BLAKE2b-256 checksum
How to use checksums
e16be74246fe152eb7038efd0281e608923a222bc9fb715eb948e6618a110d15
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for snaketrace 0.3.1

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.

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