Skip to main content

Python library for usage analytics

Project description

fluidattacks-tracks

PyPI version

Fluid Attacks logo

This library provides a convenient way to report usage analytics from any Python 3.11+ application.

All operations run in a background thread, and errors are logged but don't propagate to the caller, ensuring your application's flow isn't interrupted.

Usage

from datetime import datetime, UTC
from fluidattacks_tracks import Tracks
from fluidattacks_tracks.resources.event import Event

client = Tracks()
client.event.create(
    Event(
        action="CREATE",
        author="author",
        date=datetime.now(UTC),
        mechanism="API",
        metadata={"foo": "bar"},
        object="object",
        object_id="object_id",
    )
)

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

fluidattacks_tracks-0.9.3.tar.gz (57.3 kB view details)

Uploaded Source

Built Distribution

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

fluidattacks_tracks-0.9.3-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file fluidattacks_tracks-0.9.3.tar.gz.

File metadata

  • Download URL: fluidattacks_tracks-0.9.3.tar.gz
  • Upload date:
  • Size: 57.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.10

File hashes

Hashes for fluidattacks_tracks-0.9.3.tar.gz
Algorithm Hash digest
SHA256 bc9c26a8d337959809a9f4593bc5d7254336dad234b296384d88b32c8fe9b8f3
MD5 65df68677f9988df7fb582c0318f1fe4
BLAKE2b-256 4621578757f81e49546936d8415ee7a9fb6e1fa6a679a1e332e23e85c910b8ab

See more details on using hashes here.

File details

Details for the file fluidattacks_tracks-0.9.3-py3-none-any.whl.

File metadata

File hashes

Hashes for fluidattacks_tracks-0.9.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b5e0958fa68529fb266966819cc4aa21b9b4e83d602f6eafa0615f24ac6c92c5
MD5 761a4cd201a65393f6c1fb990034a808
BLAKE2b-256 d603b2be2d185fe529d5212c2c48f624f3c63257ad4f1ebe3bbe1211a18ed6de

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