Skip to main content

An strace-like tool for Python audit events

Project description

SnakeTrace 🐍

An strace-like tool for Python audit events.

Screenshot of SnakeTrace


  • Python 3.8 or later


Latest release via pip:

pip install snaketrace [--user]

via Git:

git clone; cd snaketrace
python3 install [--user]


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


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.

Files for snaketrace, version 0.3.1
Filename, size File type Python version Upload date Hashes
Filename, size snaketrace-0.3.1-py3-none-any.whl (7.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size snaketrace-0.3.1.tar.gz (5.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page