$npx skillfedfor your agent

openlayer

The official Python library for the openlayer API

Worth itPyPI Python ModulesReleased Aug 2026200.5K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — openlayer-0.31.2-py3-none-any.whl
v0.31.2 · released 2026-08-04 · Python >=3.9 · 12 runtime deps: anyio, distro, httpx, pandas, pyarrow, pydantic, pyyaml, requests-toolbelt

Yes. The library is actively maintained, has low install friction, carries no known vulnerabilities, and uses a permissive Apache-2.0 license. It is the official client for Openlayer's API and is essential if you need to integrate Openlayer monitoring into a Python application. The typed interface, async support, and automatic retries make it production-ready.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires OPENLAYER_API_KEY environment variable or explicit api_key parameter; Python 3.9 or later.
  • Low install friction; pure Python wheel with 12 runtime dependencies including httpx, pydantic, and pandas.
  • Actively maintained with a release 10 days old and recent commits.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions—suitable for most production and proprietary projects.

last release 2026-08-04 (10 days) · last repo commit 2026-08-04 · 17 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 200,517 downloads/mo, #9,691 on PyPI

Verify before relying

pip install openlayer

import os
from openlayer import Openlayer

client = Openlayer(api_key=os.environ.get("OPENLAYER_API_KEY"))
response = client.inference_pipelines.data.stream(
    inference_pipeline_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
    config={"input_variable_names": ["user_query"], "output_column_name": "output"},
    rows=[{"user_query": "test", "output": "result"}]
)
print(response.success)
  • Whether the library's retry behavior (2 retries by default for connection/timeout/429/5xx errors) is configurable beyond max_retries setting.
  • Performance characteristics when streaming large datasets through inference_pipelines.data.stream().
  • Whether aiohttp integration (optional extra) provides measurable concurrency improvements over default httpx backend.
Same gist for agents: .md · .json

What it is and what it does

Openlayer is the official Python client library for the Openlayer REST API, generated using Stainless. It wraps Openlayer's inference pipeline and project management endpoints in a typed, ergonomic interface. The library provides both Openlayer (synchronous) and AsyncOpenlayer (asynchronous) clients, both powered by httpx, with full type hints for request parameters and response objects via Pydantic models and TypedDicts.

The library is designed for developers integrating Openlayer's monitoring and data-streaming capabilities into Python applications. It handles authentication via API key, includes automatic retry logic for transient failures (connection errors, timeouts, rate limits, and 5xx responses), and offers helper methods on response objects for JSON serialization and dictionary conversion. Async usage is straightforward: import AsyncOpenlayer, use await on API calls, and optionally swap the HTTP backend to aiohttp for improved concurrency.

Use it for

  • Stream inference pipeline data (inputs, outputs, tokens, costs, timestamps) to Openlayer for monitoring and analysis.
  • Create and manage project commits programmatically to track model and prompt changes over time.
  • Build async data pipelines that batch-upload inference results without blocking application logic.
  • Integrate Openlayer monitoring into existing Python ML workflows with full IDE autocomplete and type checking.
  • Handle API errors gracefully with typed exception hierarchy (APIConnectionError, RateLimitError, APIStatusError subclasses).

Worth the install?

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

Worth it

Yes.

The library is actively maintained, has low install friction, carries no known vulnerabilities, and uses a permissive Apache-2.0 license. It is the official client for Openlayer's API and is essential if you need to integrate Openlayer monitoring into a Python application. The typed interface, async support, and automatic retries make it production-ready.

Install

openlayer on PyPI

Before you install

Low install friction; pure Python wheel with 12 runtime dependencies including httpx, pydantic, and pandas. Actively maintained with a release 10 days old and recent commits. Supports Python 3.9 through 3.14.

Requires OPENLAYER_API_KEY environment variable or explicit api_key parameter; Python 3.9 or later.

License in practice

Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions—suitable for most production and proprietary projects.

Quickstart

pip install openlayer

import os
from openlayer import Openlayer

client = Openlayer(api_key=os.environ.get("OPENLAYER_API_KEY"))
response = client.inference_pipelines.data.stream(
    inference_pipeline_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
    config={"input_variable_names": ["user_query"], "output_column_name": "output"},
    rows=[{"user_query": "test", "output": "result"}]
)
print(response.success)

Verify before relying

  • Whether the library's retry behavior (2 retries by default for connection/timeout/429/5xx errors) is configurable beyond max_retries setting.
  • Performance characteristics when streaming large datasets through inference_pipelines.data.stream().
  • Whether aiohttp integration (optional extra) provides measurable concurrency improvements over default httpx backend.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
12 packages
anyiodistrohttpxpandaspyarrowpydanticpyyamlrequests-toolbeltsniffiotqdmtyping-extensionswrapt
MaintenanceActively maintained 10 days since the last release
Last repo commit
First released
Downloads200,517 / month, #9,691 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Intended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: OS IndependentOperating System :: POSIXOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python ModulesTyping :: Typed

Evidence: openlayer-0.31.2-py3-none-any.whl

Tags

Capabilities
openlayer api client pythoninference pipeline data streamingasync rest api clienttyped api wrapperml monitoring api accessproject commit managementhttpx-based api client
Topics
api-clientasync-supportml-monitoring

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 › “openlayer api client python”

  • openlayerProvides a typed Python client for the Openlayer REST API, supporting…
  • 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 Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also opencode-ai · agentex-client · composio-client · modern-treasury · runloop_api_client · supermemory · bilibili-api-python · hiddenlayer-sdk · pipedream · llama-stack-client