$npx skillfedfor your agent

openmeter

Client for OpenMeter: Real-Time and Scalable Usage Metering

With conditionsPyPI WWW/HTTPReleased Aug 2026149.8K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — openmeter-1.0.0b232-py3-none-any.whl
v1.0.0b232 · released 2026-08-04 · Python <4.0,>=3.9 · 5 runtime deps: cloudevents, corehttp, isodate, typing-extensions, urllib3

Yes, if you are already committed to the OpenMeter platform and need a Python client to ingest and query usage data. The low install friction, permissive license, and active maintenance make it straightforward to adopt. However, the preview status and minimal community adoption mean you should treat it as an early-stage tool—verify that OpenMeter's service stability and API roadmap align with your production timeline before relying on it for critical billing workflows.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later; package is in preview mode and uses pre-release versioning (1.0.0b232).
  • Low friction installation with a pure-wheel distribution.
  • Actively maintained with recent releases; however, the package is in preview mode and the repository shows minimal community engagement (1 star), so stability and long-term support remain unproven.

License · maintenance · safety

Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions—suitable for most production integrations.

last release 2026-08-04 (10 days) · last repo commit 2020-12-25 · 1 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 149,774 downloads/mo, #10,986 on PyPI

Verify before relying

pip install --pre openmeter

from openmeter import Client
from openmeter.models import Event
import datetime, uuid

client = Client(endpoint="https://openmeter.cloud", token="your-api-token")
event = Event(
    id=str(uuid.uuid4()),
    source="my-app",
    specversion="1.0",
    type="prompt",
    subject="customer-1",
    time=datetime.datetime.now(datetime.timezone.utc),
    data={"tokens": 100}
)
client.events.ingest_event(event)
  • Stability and breaking-change policy during preview phase—how frequently does the API surface change between beta releases?
  • Production readiness guarantees or SLA commitments from the OpenMeter service itself.
  • Performance characteristics under high-volume event ingestion (throughput, latency, retry behavior).
Same gist for agents: .md · .json

What it is and what it does

OpenMeter Python SDK is a generated HTTP client library for interacting with the OpenMeter usage metering platform. It wraps CloudEvents-based event ingestion and meter query operations into a Python-friendly interface with both synchronous and asynchronous support. The SDK depends on cloudevents, corehttp, isodate, typing-extensions, and urllib3 to handle HTTP communication, date parsing, and type hints.

The package is designed for applications that need to track usage in real time—particularly AI/LLM workloads tracking token consumption—and aggregate that usage into queryable meters for billing or analytics. It provides methods to ingest single events or batches, list and manage meters, and query usage data in JSON or CSV format. Because it is in preview mode and uses pre-release versioning, it is suitable for early adoption and testing but should be evaluated carefully before committing to production workflows.

Use it for

  • Track AI token consumption (input/output) per customer for usage-based billing of LLM applications.
  • Ingest application events (API calls, resource usage) into OpenMeter for real-time aggregation and reporting.
  • Query historical meter data to build usage dashboards or generate billing reports by customer or time period.
  • Manage meter definitions and subjects (customers/entities) programmatically as part of a billing system.
  • Integrate usage tracking into async Python applications using the aio.Client for non-blocking event submission.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are already committed to the OpenMeter platform and need a Python client to ingest and query usage data.

The low install friction, permissive license, and active maintenance make it straightforward to adopt. However, the preview status and minimal community adoption mean you should treat it as an early-stage tool—verify that OpenMeter's service stability and API roadmap align with your production timeline before relying on it for critical billing workflows.

Install

openmeter on PyPI

Before you install

Low friction installation with a pure-wheel distribution. Actively maintained with recent releases; however, the package is in preview mode and the repository shows minimal community engagement (1 star), so stability and long-term support remain unproven.

Requires Python 3.9 or later; package is in preview mode and uses pre-release versioning (1.0.0b232).

License in practice

Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions—suitable for most production integrations.

Quickstart

pip install --pre openmeter

from openmeter import Client
from openmeter.models import Event
import datetime, uuid

client = Client(endpoint="https://openmeter.cloud", token="your-api-token")
event = Event(
    id=str(uuid.uuid4()),
    source="my-app",
    specversion="1.0",
    type="prompt",
    subject="customer-1",
    time=datetime.datetime.now(datetime.timezone.utc),
    data={"tokens": 100}
)
client.events.ingest_event(event)

Verify before relying

  • Stability and breaking-change policy during preview phase—how frequently does the API surface change between beta releases?
  • Production readiness guarantees or SLA commitments from the OpenMeter service itself.
  • Performance characteristics under high-volume event ingestion (throughput, latency, retry behavior).

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release <4.0,>=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
5 packages
cloudeventscorehttpisodatetyping-extensionsurllib3
MaintenanceActively maintained 10 days since the last release
Last repo commit
First released
Downloads149,774 / month, #10,986 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9

Evidence: openmeter-1.0.0b232-py3-none-any.whl

Tags

Capabilities
usage metering clientevent ingestion apireal-time billing integrationusage aggregation sdkmeter query clientusage-based pricingai token tracking
Topics
meteringusage-trackingbilling-integration
PyPI keywords
openmeterapiclientusageusage-basedmeteringaiaggregationreal-timebillingcloud

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 › “usage metering client”

  • openmeterOpenMeter Python SDK provides a client library to ingest usage events…
  • dlms-cosemA Python library for implementing DLMS/COSEM protocol clients to read…
  • pyloudnormMeasures and normalizes audio loudness according to the ITU-R…

Give your agent the search over MCP, or paste the wish link into any chat.

More WWW/HTTP packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
h11 With conditions
PyPI · WWW/HTTP · released Apr 2025

h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
httpx Worth it
PyPI · WWW/HTTP · released Dec 2024

HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.

Install it if you are building new projects or modernizing existing ones that rely on HTTP.

BSD-3-Clausepure Python · 3.8+
797.0Mdownloads / mo
httpcore With conditions
PyPI · WWW/HTTP · released Apr 2025

A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.

BSD-3-Clausepure Python · 3.8+aging
783.6Mdownloads / mo
aiohttp Worth it
PyPI · WWW/HTTP · released Jul 2026

aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.

Install it if you need async HTTP client or server capabilities in asyncio-based applications.

permissive licensecompiled wheel · 3.10+
643.6Mdownloads / mo

See also axiom-py · humiolib · pydiscovergy · sonic-client · dlms-cosem · ovoenergy · customerio · p1monitor · signalfx · stigg-sidecar-sdk