Skip to main content

Tracemate :mag_right:

Python License Build PyPI Downloads

Automated logging setup for Python applications

Tracemate is a Python library designed to make logging hassle-free. Just import it into your main.py, and Tracemate takes care of setting up logging for all your functions. It's lightweight, easy to integrate, and designed to have minimal impact on application performance.

Tracemate Logo


:rocket: Features

  • Automated Logging: Just import Tracemate in your main.py and it will automatically set up logging for all your functions.
  • High Performance: Designed for minimal performance overhead.
  • Asynchronous Support: Full support for asynchronous Python applications.
  • Simple Integration: Easy to integrate into existing projects without modifying your codebase.

:package: Installation

To install Tracemate, you can use pip:

pip install tracemate

:hammer_and_wrench: Usage

Here's how to get started:

Use this in your main.py (or equivalent) file to autonomously add logging and obtain logger and console objects from a centralized location. You can use setup_logging from multiple modules and it works fine.

from tracemate import setup_logging, apply_logger_to_all_functions

backend_logger, ui_logger, console = setup_logging()
apply_logger_to_all_functions(backend_logger)

For a more comprehensive guide, please refer to the Documentation.


📖 Documentation

Detailed documentation is available on our Wiki.


:handshake: Contributing

Contributions, issues, and feature requests are welcome! See CONTRIBUTING.md for how to get started.


:memo: License

This project is licensed under the MIT License - see the LICENSE.md file for details.


:telephone_receiver: Contact

Created by @alexfigueroa-solutions - feel free to reach out!

Release files for tracemate 0.1.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 tracemate 0.1.1
File Size Uploaded
tracemate-0.1.1.tar.gz 6.6 kB Details

Built distribution (wheel)

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

Total release size:14.1 kB

Release files / tracemate-0.1.1.tar.gz

Download URL tracemate-0.1.1.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b975f838027a1ccb1cb6ff9d1e2096244de670b915be406df80c38e685a187c4
BLAKE2b-256 checksum
How to use checksums
3bec0567b8af919e608ed490ba5abc7613cb0b7205e7b1a79f0d2fbcb1f56900
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / tracemate-0.1.1-py3-none-any.whl

Download URL tracemate-0.1.1-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c519be4403ac78172891a15af5bdb18aa566068d5fbd1cd8f49571d7561733d2
BLAKE2b-256 checksum
How to use checksums
f79f2f8e3bb14a7fcbc748034f2b29d98056cc425e38be68f6aeb4a589db0870
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

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