Skip to main content

CallTrace

Calltracer Logo
PyPI Version Python 3.8+ MIT License

A lightweight Python utility to track and log call hierarchy with class and method context.

Features

  • Automatically detects calling class and method names
  • Tracks nested call paths within the same class
  • Simple integration with existing code
  • Clean formatted output for debugging

Installation

pip install calltracing

Quick Start

from calltracing import CallContext

class MyClass:
    def method1(self):
        self.method2()
    
    def method2(self):
        print(CallContext.get_caller())

def standalone_function():
    print(CallContext.get_caller())

obj = MyClass()
obj.method1()
standalone_function()

License

MIT License

Metadata

Release files for calltracing 1.0.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 calltracing 1.0.1
File Size Uploaded Provenance Actions
calltracing-1.0.1.tar.gz 2.7 kB Without provenance Details for calltracing-1.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 6.2 kB

Release files / calltracing-1.0.1.tar.gz

Download URL calltracing-1.0.1.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b1e3005977d55d4b8a610a44b2134bb347f653eda39249130a57c72b0a54ea24
BLAKE2b-256 checksum
How to use checksums
27a898710c6838f3d3397786f1638f93614c015c2e8794f1e71e634882ebdcc9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.2 CPython/3.12.6 Windows/11

Release files / calltracing-1.0.1-py3-none-any.whl

Download URL calltracing-1.0.1-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
703cd077d65bd447600c93ba35d54bf15d5970c6450a3fefc89d5c63d57f2ab4
BLAKE2b-256 checksum
How to use checksums
0f9042e12a7a4ebe12afb0ad9849641e54d1ce6f5f427d359bc2b4b7720a7365
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.2 CPython/3.12.6 Windows/11

Security for calltracing 1.0.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.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

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