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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fluidattacks_tracks-0.8.4.tar.gz
Algorithm Hash digest
SHA256 f998fc4b35367c492966daa8faa81653ee95e0c8a938b27c0c40fe606bd47fc8
MD5 db533d43cc0c758438aa2ea5e7f14879
BLAKE2b-256 7208235fe503dbee9fdc1123520747a960832d3f53c9ad9f001f1e99541a0702

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidattacks_tracks-0.8.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6c70d48ae8149621fd8a0ce5b7334068138840a7d0ce57f6fbc4630bd2d0ce5a
MD5 b0bcc2fb7aaf31cbcadb989417c474cc
BLAKE2b-256 f8bfff894f09e2f8a8e57ef5c7018e3b85f9bb3db99f14fd1238fddc31414d90

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