Skip to content

dcoles/snaketrace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

30 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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.

About

An strace-like tool for Python audit events 🐍

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages