axiom-py
Official bindings for the Axiom API
Decision gist · record as of 2026-08-14
Yes. axiom-py is actively maintained, has no known vulnerabilities, low install friction, and a permissive MIT license. Install it if you are building on Axiom's platform and need a Python client for event ingestion and querying. The async support and edge endpoint configuration make it suitable for production observability pipelines.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires an Axiom API token (xaat- prefix for edge endpoints, or personal token for main API) set via environment variable or passed to Client().
- Low friction install with a pure-Python wheel and active maintenance—last release 88 days ago with no known vulnerabilities.
- Depends on common HTTP and serialization libraries (httpx, requests, ujson, dacite, pyhumps, iso8601, requests-toolbelt).
License · maintenance · safety
permissive license (permissive) — MIT License permits unrestricted use, modification, and distribution with minimal restrictions—suitable for commercial and open-source projects.
last release 2026-05-18 (88 days) · last repo commit 2026-05-18 · 35 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 875,618 downloads/mo, #4,833 on PyPI
Alternatives
Verify before relying
pip install axiom-py
import axiom_py
client = axiom_py.Client()
client.ingest_events(dataset="DATASET_NAME", events=[{"foo": "bar"}])
result = client.query(r"['DATASET_NAME'] | where foo == 'bar' | limit 100")- Whether the async client's concurrent operations scale efficiently under high load or have rate-limiting constraints.
- Performance characteristics of edge endpoint routing for ingest vs. query workloads.
- Backward compatibility guarantees after the v0.9.0 aggregation enum removal mentioned in the warning.
What it is and what it does
axiom-py is the official Python client for Axiom, a serverless analytics platform. It lets you ingest structured events into named datasets and query them using Axiom's query language, with built-in support for both blocking and async workflows. The library wraps HTTP calls to Axiom's API via httpx and requests, handling serialization through ujson and dacite for type conversion.
The package supports regional edge endpoints for improved data locality during ingest and query, and includes a dedicated client method for Metrics Processing Language (MPL) queries on OpenTelemetry metrics. Both sync and async clients are provided; the async variant enables concurrent operations like ingesting to multiple datasets in parallel. It targets Python 3.8+ and is actively maintained.
Use it for
- Ingest application logs and events into Axiom datasets from a Python service or script.
- Query stored events and metrics programmatically to build dashboards or alerts.
- Use regional edge endpoints to reduce latency for high-volume event ingestion in distributed systems.
- Run concurrent ingest operations to multiple datasets using the async client.
- Query OpenTelemetry metrics using MPL from Python applications.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
axiom-py is actively maintained, has no known vulnerabilities, low install friction, and a permissive MIT license. Install it if you are building on Axiom's platform and need a Python client for event ingestion and querying. The async support and edge endpoint configuration make it suitable for production observability pipelines.
Install
axiom-py on PyPI
Before you install
Low friction install with a pure-Python wheel and active maintenance—last release 88 days ago with no known vulnerabilities. Depends on common HTTP and serialization libraries (httpx, requests, ujson, dacite, pyhumps, iso8601, requests-toolbelt).
Requires an Axiom API token (xaat- prefix for edge endpoints, or personal token for main API) set via environment variable or passed to Client().
License in practice
MIT License permits unrestricted use, modification, and distribution with minimal restrictions—suitable for commercial and open-source projects.
Quickstart
pip install axiom-py
import axiom_py
client = axiom_py.Client()
client.ingest_events(dataset="DATASET_NAME", events=[{"foo": "bar"}])
result = client.query(r"['DATASET_NAME'] | where foo == 'bar' | limit 100")
Verify before relying
- Whether the async client's concurrent operations scale efficiently under high load or have rate-limiting constraints.
- Performance characteristics of edge endpoint routing for ingest vs. query workloads.
- Backward compatibility guarantees after the v0.9.0 aggregation enum removal mentioned in the warning.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 7 packagesdacitehttpxiso8601pyhumpsrequests-toolbeltrequestsujson |
| Maintenance | Actively maintained 88 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 875,618 / month, #4,833 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: System :: Logging |
Evidence: axiom_py-0.12.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “axiom api client python”
- axiom-pyaxiom-py provides a Python client for ingesting events and querying…
- twentyc.rpcA client library for consuming 20c's RESTful API, built on top of the…
- codewords-clientA Python client library for the Codewords API with built-in FastAPI…
Give your agent the search over MCP, or paste the wish link into any chat.
More Logging packages
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
Formats Python logging output as JSON, making logs machine-readable for parsing and ingestion into log aggregation tools.
Install it if you need JSON-formatted logs for aggregation or centralized monitoring.
structlog is a structured logging library that lets you emit logs as dictionaries with flexible output formats (JSON, logfmt, console) and integrates with Python's standard logging or runs standalone.
Install it if your application needs JSON or logfmt output, or if you want to add rich context to logs without string formatting.
Loguru provides a pre-configured logger that replaces Python's standard logging with a simpler, zero-boilerplate interface for writing log messages to stderr, files, or custom handlers.
Install it if you want logging to feel natural but with the power, structure that production code needs.
Adds colored output to Python's standard logging module using ANSI escape sequences, with automatic fallback support for Windows terminals.
However, it is abandoned and receives no maintenance, so it will not adapt to future Python changes or platform updates.
wandb is a machine learning experiment tracking and visualization platform that logs metrics, hyperparameters, datasets, and models to a centralized dashboard for monitoring and comparing training runs.
Install it if you need centralized experiment tracking, comparison, and visualization for machine learning projects; skip it if you prefer local-only logging or have…
See also openmeter · signalfx · arize-phoenix-client · azure-monitor-ingestion · openmetadata-ingestion · humiolib · azure-kusto-ingest · energyquantified · databricks-zerobus-ingest-sdk · prometheus-api-client