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.3.tar.gz (56.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.8.3-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fluidattacks_tracks-0.8.3.tar.gz
Algorithm Hash digest
SHA256 e7186013c590f4121eb8eb37d2cb063bce9bac8de5d5e1da1744a6ddf093b24a
MD5 7876249e8a9952ec79aa5217c675ca62
BLAKE2b-256 ca42d763c7bebf741df12753f6ae953664aa0af9d87fb8b8bb32334befcc623d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidattacks_tracks-0.8.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6d91c094ddfb9465bd18a51d0bb3fec77a127b6fe62208058c63b6e7c1070e54
MD5 253fa58aeddc76fc4e77a9b3f15fc052
BLAKE2b-256 92fcb6e16b35b5a07b172feb8b944aa3ee9d42ce41da14b9ffcd274a73d03bd8

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