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.19.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.19-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: analytics_ingest-0.1.19.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.19.tar.gz
Algorithm Hash digest
SHA256 50812f6a92e4f2b0f7472eff270424d3f6dad60f00346e24896e775595e0178d
MD5 95c795df59c8649c3fb3877158cc8bd5
BLAKE2b-256 d48bfa86a898d0be552ed7f80bb8b2c91912d7336329fc7c323915c3f6acdb6a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for analytics_ingest-0.1.19-py3-none-any.whl
Algorithm Hash digest
SHA256 07833f4192a302d190979d552104aeff0e745aaecdd22938067f54a4a77a9478
MD5 5b3e5238968b71642c2d47ceb2e8c022
BLAKE2b-256 d33914e337ceb7bb2a989076162e95a0b3f383921ba40fdf2027174ed33b3d83

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