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.4.tar.gz (61.7 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.4-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fluidattacks_tracks-0.9.4.tar.gz
Algorithm Hash digest
SHA256 5389b5038fdd7ecba38ad1b5a7befd2ff93ce79774e1228e57c2d098a541d849
MD5 efd490c31197e3ee5e24d20851996129
BLAKE2b-256 a8d6e23f50456343f52d03615269edc02eebc22eb1dd6137c8f354677c7e247f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidattacks_tracks-0.9.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a1162ffaebe29cab6c56c19e84a6a017a17d8e253195c118847d2132b8dbffc8
MD5 6ff834f4c8341163bcaaef6a6a459b82
BLAKE2b-256 b663beb921cbf7a6dd8ce9ea16a52bf41c9eb17696d86365e218264d58c87e2c

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