Skip to main content

Python client for ingesting signals, DTCs, network stats, and GPS data to a GraphQL backend

Project description

Analytics Ingest Client

A lightweight Python library to batch and push signals, DTCs, GPS data, and network stats to a GraphQL backend, with optional JWT or certificate-based auth.


🔧 Features

  • Supports Python 3.11+
  • Clean, single-class interface: AnalyticsIngestClient
  • In-memory caching for resolved IDs (message id or configuration)
  • Batching support (by interval, count, or signal limit)
  • Async-safe request queuing (only 1 request at a time)
  • JWT (SEC_AUTH_TOKEN) or cert-based authentication
  • Minimal dependency footprint
  • Easy to test and integrate

🚀 Installation

pip3 install analytics-ingest

or

pip install analytics-ingest

Run Test Cases

PYTHONPATH=src python3 -m unittest discover -s tests -v
python3 -m build
python -m twine upload dist/*

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

analytics_ingest-0.1.21.tar.gz (14.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

analytics_ingest-0.1.21-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

Details for the file analytics_ingest-0.1.21.tar.gz.

File metadata

  • Download URL: analytics_ingest-0.1.21.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for analytics_ingest-0.1.21.tar.gz
Algorithm Hash digest
SHA256 8792572664125d20345d88b14c87f1ab627d93ee51a665aa2c530eb7b71ee859
MD5 0228adf68f344b89509e78cfd0eca6c0
BLAKE2b-256 df122d2ef30502586fc217a97284b5347ab06c31e14ab3e8ed2eb51ef70a3499

See more details on using hashes here.

File details

Details for the file analytics_ingest-0.1.21-py3-none-any.whl.

File metadata

File hashes

Hashes for analytics_ingest-0.1.21-py3-none-any.whl
Algorithm Hash digest
SHA256 0d65ed37a61fb8056cb4ba127f99c837994c12f2f73e6d1ba30fc6907dac2d1e
MD5 95feafd1c9c2252afeac85b11e4fd9e4
BLAKE2b-256 3abf42bef8803df940d1a7cf0c3602f48328a07688a76c217e31fd918c2c99a7

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