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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fluidattacks_tracks-0.16.0.tar.gz
  • Upload date:
  • Size: 73.8 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.0.tar.gz
Algorithm Hash digest
SHA256 2de949ab5ec355195acb9cd61771997aea7ff1745b37de1f71bde38d3a825321
MD5 ac249ed9fecf779f57919702766e1d9d
BLAKE2b-256 55e13bf16848035215b9c5bec8c08c9b8f9907eef69128e7a3a5c218e372db5f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fluidattacks_tracks-0.16.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 55d9adacc38dce1aae5286b3efd521875295bfb2776d6f8dc016e63323b83dd3
MD5 940e1eab1afc27114074537c1adb3c1b
BLAKE2b-256 93591c4cdd56348e08d15385a6d7a96230c83a121feab40de46771e58cfcd072

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