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.8.5.tar.gz (57.1 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.8.5-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fluidattacks_tracks-0.8.5.tar.gz
Algorithm Hash digest
SHA256 569190a6e2faffe6a402df5b492eaae832a86c2a9800a3d6b380c6fcec472a3f
MD5 12e8269bed07ddd4b8d23d7e730d4dcd
BLAKE2b-256 0c6f88508aebefa512bffd61b5a13937b9357044eba345d956d270622f60de2a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidattacks_tracks-0.8.5-py3-none-any.whl
Algorithm Hash digest
SHA256 66d4cc7ce384ac20fbf9b2bbaf225d4e5dcef4673e530f6eeeaae5da6bf8b00f
MD5 45d79d59a4b5f5d38e07655555087a5b
BLAKE2b-256 046d2ed3937e668be00e7e0ae7ee7f1d264a78419bb7401665bf837f0ffa5a1a

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