$npx skillfedfor your agent

fastspec

Dynamic OpenAPI, Discovery, and GraphQL spec client for Python — turn any API spec into a fully-typed async client with attribute chaining, streaming, and file uploads

With conditionsPyPI WWW/HTTPReleased Aug 202610.3M downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — fastspec-0.2.1-py3-none-any.whl
v0.2.1 · released 2026-08-13 · Python >=3.10 · 2 runtime deps: fastcore, fasttransport

Yes, if you work with multiple spec-compliant APIs and want to eliminate boilerplate client code. The low install friction, active maintenance, permissive Apache-2.0 license, and no known vulnerabilities make it a safe choice. The async-first design and support for streaming and file uploads cover real API patterns. Start with it if you're building integrations with services that publish OpenAPI or Google Discovery specs.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; all calls are async and must be awaited.
  • Low install friction with a pure Python wheel.
  • Active maintenance with a recent release on 2026-08-13; the repository shows current activity.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions.

last release 2026-08-13 (1 days) · last repo commit 2026-08-13 · 4 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 10,253,945 downloads/mo, #1,465 on PyPI

Verify before relying

pip install fastspec

from fastspec.oapi import OpenAPIClient
from fastspec.spec import SpecParser

spec = SpecParser.from_openapi(spec_dict)
client = OpenAPIClient(spec, headers={"Authorization": "Bearer token"})
# await client.resource.operation(...)
  • Whether the package handles all OpenAPI versions or has known compatibility gaps.
  • Performance characteristics when working with very large specs or many concurrent requests.
  • Quality of error messages and debugging experience when API calls fail.
  • How file uploads are handled across different API specs and content types.
Same gist for agents: .md · .json

What it is and what it does

fastspec is a client generator that reads OpenAPI (JSON/YAML) or Google Discovery API specifications and automatically builds a fully async Python client. Instead of hand-writing HTTP calls or maintaining generated code, you load a spec, instantiate a client with auth headers, and call endpoints using attribute chaining—the library handles parameter validation, serialization, streaming, and file uploads transparently.

The package is built on fastcore and fasttransport, providing a lightweight async foundation. It's designed for developers who work with multiple APIs and want to avoid boilerplate; the same pattern works across any spec-compliant API. Operations are discovered at runtime and organized into logical groups, so you can explore available endpoints programmatically.

Use it for

  • Build a unified async client for LLM APIs without hand-writing request code.
  • Quickly prototype integrations with REST APIs using their published specs.
  • Stream responses from APIs that support streaming with a single flag.
  • Upload files to APIs while keeping the client code simple and type-aware.
  • Dynamically generate clients for internal or third-party APIs when specs are available.

Worth the install?

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

With conditions

Yes, if you work with multiple spec-compliant APIs and want to eliminate boilerplate client code.

The low install friction, active maintenance, permissive Apache-2.0 license, and no known vulnerabilities make it a safe choice. The async-first design and support for streaming and file uploads cover real API patterns. Start with it if you're building integrations with services that publish OpenAPI or Google Discovery specs.

Install

fastspec on PyPI

Before you install

Low install friction with a pure Python wheel. Active maintenance with a recent release on 2026-08-13; the repository shows current activity.

Requires Python 3.10 or later; all calls are async and must be awaited.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions.

Quickstart

pip install fastspec

from fastspec.oapi import OpenAPIClient
from fastspec.spec import SpecParser

spec = SpecParser.from_openapi(spec_dict)
client = OpenAPIClient(spec, headers={"Authorization": "Bearer token"})
# await client.resource.operation(...)

Verify before relying

  • Whether the package handles all OpenAPI versions or has known compatibility gaps.
  • Performance characteristics when working with very large specs or many concurrent requests.
  • Quality of error messages and debugging experience when API calls fail.
  • How file uploads are handled across different API specs and content types.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
fastcorefasttransport
MaintenanceActively maintained 1 days since the last release
Last repo commit
First released
Downloads10,253,945 / month, #1,465 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Programming Language :: Python :: 3Programming Language :: Python :: 3 :: Only

Evidence: fastspec-0.2.1-py3-none-any.whl

Tags

Capabilities
openapi client generatorapi spec to python clientasync api client from specgoogle discovery clientdynamic api client builderopenapi python asyncspec-driven http client
Topics
api-clientopenapiasync
PyPI keywords
nbdev

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 › “async api client from spec”

  • fastspecConverts OpenAPI and Google Discovery API specs into fully async…
  • harborapiAsync Python client for the Harbor container registry REST API v2.0,…
  • aiopenapi3Parses and validates OpenAPI 3 specifications (3.0.3, 3.1.0, 3.2.0)…

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 openapi3 · spectree · daytona_analytics_api_client_async · ogx_open_client · daytona_toolbox_api_client_async · apispec · flask-pydantic-spec · prance · openapi-python-client · neptune-api