Skip to main content

A lightweight tracing library for python

Project description

easytrace

A very lightweight tracing library for python3, it provides an alternative to attaching a heavy debugger and manually printing out arguments when you enter functions.

Installation

Install from the PyPi project using pip:

pip install easytrace

There are no dependencies required other than Python3!

Usage

First import the trace decorator at the top of your file, setting the logging level as desired. Note, easytrace uses the DEBUG log level by default. Although this can be changed.

from easytrace.trace import trace

import logging
logging.basicConfig(level=logging.DEBUG)

With any function or class method, simp

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

easytrace-0.0.2.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

easytrace-0.0.2-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file easytrace-0.0.2.tar.gz.

File metadata

  • Download URL: easytrace-0.0.2.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for easytrace-0.0.2.tar.gz
Algorithm Hash digest
SHA256 be8692936e3d45ee095a2a8127a1b705ff995e8a66e0a5b81aa6a9547ce57caa
MD5 776c959f1220976076b257ecb9e1b44b
BLAKE2b-256 e0cb3df72f58408ea3efb77cec9f14a408797f9a08b69efff90e54a0aa4c757f

See more details on using hashes here.

File details

Details for the file easytrace-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: easytrace-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for easytrace-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3c622a6aa593540000efafcf948ed611028dc77830e497cd0b9aa1ee4cfc7f3a
MD5 bae82f10569ab8990e63762392dbc6d0
BLAKE2b-256 37e1ba3b3613544f8d3574f900bc25f113a7a2b00fefde034e8f62f8eff0cc4b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page