Registry / web-framework / rapid-router

rapid-router

JSON →
library7.7.3pypypiunverified

A Python web framework for building APIs with automatic OpenAPI (Swagger/ReDoc) documentation, request validation, and dependency injection. Current version 7.7.3 with active development.

pip install rapid-router
INSTALL
IMPORT
SIG · RAPID-ROUTER
R
rapid-router
web-frameworkpythonv7.7.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RapidRouter
from rapid_router import RapidRouter
from rapid_router import RapidRouter

Create a simple API with one GET endpoint.

from rapid_router import RapidRouter app = RapidRouter() @app.get("/") def home(): return {"message": "Hello, World!"} if __name__ == "__main__": import uvicorn uvicorn.run(app, host="0.0.0.0", port=8000)
Debug
Known issues
breakingIn v7, the import changed from `from rapid_router import RapidRouter` to `from rapid_router import RapidRouter` (consistent), but the internal structure was rewritten. Old imports like `from rapid_router.routes import Router` no longer work.
fix
Use `from rapid_router import RapidRouter` and `Route` directly.
affects: >=7.0.0
breakingv7 removed support for Python 3.7 and below. Requires Python 3.8+.
fix
Upgrade Python to 3.8 or higher.
affects: >=7.0.0
deprecatedThe `json` parameter in route decorators is deprecated in favor of Pydantic models for request body validation.
fix
Use Pydantic models instead of raw JSON schema dicts.
affects: >=6.0.0
gotchaASGI lifespan events (startup/shutdown) are not supported by default. Use a middleware or external library.
fix
Wrap app in a lifespan-capable framework like Starlette, or use `app.add_middleware` with custom lifespan.
affects: all
Upgrade
Version history
7.7.3latest on PyPI · released Apr 10, 2026
Audit
Dependencies
uvicornrequiredASGI server required to run the app
pydantic>=2.0.0requiredData validation and settings management
Agent activity
15 hits · last 30 days
node
14
Resources
rapid-router — pip install rapid-router · libregistry