Skip to main content

tracethat.dev reporter for Python

Project description

Installation

pip install tracethat

Usage

from tracethat import tracethat

@tracethat
async def hello(name: str) -> str:
    await asyncio.sleep(1)
    return f'Hello, {name}!'

async def main():
    await hello(name='John')

You wiil need to register a token to use the reporter. You can do it by setting the TT_TOKEN environment variable:

TT_TOKEN=your_token python3 main.py

or by calling register_token function:

from tracethat import register_token

register_token('your_token')

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

tracethat-1.0.2.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

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

tracethat-1.0.2-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file tracethat-1.0.2.tar.gz.

File metadata

  • Download URL: tracethat-1.0.2.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for tracethat-1.0.2.tar.gz
Algorithm Hash digest
SHA256 a415e31bf40116f1f1801cbfd916f7d8fbca46bdb0a8830962774c4a171a8742
MD5 37449653d76e2547e10215a5c059c85b
BLAKE2b-256 ba678d91d7408fd5faa3924d0f0e0ac1acdffa80dcbf74883dfb639ad6a01f23

See more details on using hashes here.

File details

Details for the file tracethat-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: tracethat-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for tracethat-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b1653f124a70869d65062de2f20ef9c3a1240470d03404b7e70c0725b099612f
MD5 2b5c2a84ac5eb0c8c51d05b2e1d72ad7
BLAKE2b-256 adb565159bd458adb59e5b5031ed6301f36c31b3328daa43dc344ef0c84de816

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