$npx skillfedfor your agent

connexion

Connexion - API first applications with OpenAPI/Swagger

Worth itPyPI Software DevelopmentReleased Oct 202510.6M downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — connexion-3.3.0-py3-none-any.whl
v3.3.0 · released 2025-10-13 · Python <4.0,>=3.9 · 11 runtime deps: Jinja2, PyYAML, asgiref, httpx, inflection, jsonschema, python-multipart, requests

Yes. Connexion is actively maintained, has no known vulnerabilities, and offers a genuinely different development model—spec-first rather than code-first—that appeals to teams prioritizing API contracts and documentation. Low install friction and broad Python version support (3.9–3.14) make it accessible. Choose it if your workflow benefits from writing the spec first and letting the framework enforce it; avoid it if you prefer decorators and implicit routing.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later.
  • For development use of app.run(), install connexion[uvicorn]; for production, use an external ASGI server like uvicorn or gunicorn.
  • Low install friction with a pure-Python wheel.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial use, modification, and redistribution with minimal restrictions—suitable for both open-source and proprietary projects.

last release 2025-10-13 (305 days) · last repo commit 2026-08-03 · 4,608 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 10,584,452 downloads/mo, #1,444 on PyPI

Verify before relying

pip install connexion

from connexion import AsyncApp

app = AsyncApp(__name__)
app.add_api('openapi.yaml')

# In openapi.yaml, link operationId to your Python function
# Connexion automatically unpacks parameters and serializes responses
  • Performance characteristics and throughput under load compared to other ASGI frameworks.
  • Maturity and stability of Connexion 3 relative to the 2.x line it recently replaced.
  • Real-world adoption and community size beyond GitHub stars.
Same gist for agents: .md · .json

What it is and what it does

Connexion is a Python web framework that inverts the typical API development workflow: you write an OpenAPI specification first, then Connexion automatically wires your Python functions to the routes, validates all requests and responses against the spec, and handles parameter unpacking and serialization. It works standalone via AsyncApp or FlaskApp, or as middleware wrapping any existing ASGI or WSGI application. The framework guarantees your API behaves exactly as specified—no manual route decorators, no hand-written validation logic, no documentation drift.

The core appeal is spec-first development: your OpenAPI file becomes the single source of truth for API behavior, shared with clients and teams before implementation begins. Connexion handles the plumbing (request validation, response serialization, authentication separation, Swagger UI console) so you focus on business logic. It depends on Starlette for async handling, Werkzeug for WSGI compatibility, PyYAML for spec parsing, jsonschema for validation, and several other standard libraries.

Use it for

  • Build a new REST API where the spec is written first and serves as the contract for frontend and backend teams.
  • Add OpenAPI validation and documentation to an existing Flask or Starlette application via ConnexionMiddleware.
  • Rapidly prototype and mock an API using connexion run openapi.yaml before writing handler code.
  • Enforce strict request/response validation and automatic serialization to reduce bugs in parameter handling.
  • Generate live Swagger UI documentation with 'try it out' capability directly from your specification.
  • Migrate a Connexion 2.x application to the new Connexion 3 async-first architecture.

Worth the install?

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

Worth it

Yes.

Connexion is actively maintained, has no known vulnerabilities, and offers a genuinely different development model—spec-first rather than code-first—that appeals to teams prioritizing API contracts and documentation. Low install friction and broad Python version support (3.9–3.14) make it accessible. Choose it if your workflow benefits from writing the spec first and letting the framework enforce it; avoid it if you prefer decorators and implicit routing.

Install

connexion on PyPI

Before you install

Low install friction with a pure-Python wheel. Active maintenance with recent commits; last release 305 days ago. Supports Python 3.9 through 3.14. Eleven runtime dependencies are all widely-used libraries (Starlette, Werkzeug, PyYAML, jsonschema, etc.), so environment resolution is straightforward.

Requires Python 3.9 or later. For development use of app.run(), install connexion[uvicorn]; for production, use an external ASGI server like uvicorn or gunicorn.

License in practice

Apache-2.0 permissive license allows commercial use, modification, and redistribution with minimal restrictions—suitable for both open-source and proprietary projects.

Quickstart

pip install connexion

from connexion import AsyncApp

app = AsyncApp(__name__)
app.add_api('openapi.yaml')

# In openapi.yaml, link operationId to your Python function
# Connexion automatically unpacks parameters and serializes responses

Verify before relying

  • Performance characteristics and throughput under load compared to other ASGI frameworks.
  • Maturity and stability of Connexion 3 relative to the 2.x line it recently replaced.
  • Real-world adoption and community size beyond GitHub stars.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release <4.0,>=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
11 packages
Jinja2PyYAMLasgirefhttpxinflectionjsonschemapython-multipartrequestsstarlettetyping-extensionswerkzeug
MaintenanceActively maintained 305 days since the last release
Last repo commit
First released
Downloads10,584,452 / month, #1,444 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Topic :: InternetTopic :: Internet :: WWW/HTTPTopic :: Internet :: WWW/HTTP :: HTTP ServersTopic :: Software DevelopmentTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTyping :: Typed

Evidence: connexion-3.3.0-py3-none-any.whl

Tags

Capabilities
openapi rest api frameworkswagger spec-first developmentautomatic route registration from specapi validation and serializationopenapi to python mappingspec-first web frameworkasgi wsgi api framework
Topics
openapi-firstasgi-wsgi-compatiblespec-driven
PyPI keywords
apiswaggeropenapi

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 › “swagger spec-first development”

  • connexionConnexion builds REST APIs from OpenAPI/Swagger specifications,…
  • swagger-spec-validatorValidates Swagger/OpenAPI specifications (versions 1.2 and 2.0)…
  • flask-apispecflask-apispec decorates Flask view functions and classes to…

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

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also flask-openapi3 · flask-restplus · aiohttp-swagger3 · drf-yasg · flask-openapi3-swagger · bravado · swagger-ui-py · sphinxcontrib-openapi · flask-restx · django-rest-swagger