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.16.1.tar.gz (74.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.16.1-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fluidattacks_tracks-0.16.1.tar.gz
  • Upload date:
  • Size: 74.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fluidattacks_tracks-0.16.1.tar.gz
Algorithm Hash digest
SHA256 d189a9bba70e5fcb777bcf6728dd56a9eb8a303ff8841d2e5b6bd8e6022950fd
MD5 fccb12945ff8772d037e2780341e773b
BLAKE2b-256 ba30bf5ac554ec16e79730e4914848699f63778d13e663c8291496c712213543

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fluidattacks_tracks-0.16.1-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fluidattacks_tracks-0.16.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7024159b9b9d52a38c42bd3fbb250a1e0c56d571b5753e9b0feeed90d444e63d
MD5 cb13581ab7fe7f82bea100954d694e05
BLAKE2b-256 051a9eb201880e18a1fe6b6939e3d1468c819e5062eab6a49b819d8bb94004fa

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