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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fluidattacks_tracks-0.9.5.tar.gz
Algorithm Hash digest
SHA256 4744b03351bfb482e59fb3c7ae3bbd9f68b8f9d94f362473b64cd2391b94c83d
MD5 e302b6c81603937131ac785e9135b315
BLAKE2b-256 788f63e6c5e4fe281ba1a1dc551b218b59550282fd980c2e52b433fceb2b9eed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidattacks_tracks-0.9.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f9ad269e174ff6e0cee605c845a581390464e72d1b48f7961b914ab52ff3ffd7
MD5 47db3bde99b36487bde6d71b9eb69f8b
BLAKE2b-256 3145592615c7c64afcb6ecfceebd2cb89e3ca5c28eba26058d63fab513ceb944

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