{"id":27330,"library":"rapid-router","title":"Rapid Router","description":"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.","status":"active","version":"7.7.3","language":"python","source_language":"en","source_url":"https://github.com/wiseaidev/rapid-router","tags":["ASGI","web framework","OpenAPI","validation","Python"],"install":[{"cmd":"pip install rapid-router","lang":"bash","label":"Install latest version"},{"cmd":"pip install uvicorn","lang":"bash","label":"ASGI server for production"}],"dependencies":[{"reason":"ASGI server required to run the app","package":"uvicorn","optional":false},{"reason":"Data validation and settings management","package":"pydantic>=2.0.0","optional":false}],"imports":[{"wrong":"from rapid_router import RapidRouter","symbol":"RapidRouter","correct":"from rapid_router import RapidRouter"}],"quickstart":{"code":"from rapid_router import RapidRouter\n\napp = RapidRouter()\n\n@app.get(\"/\")\ndef home():\n    return {\"message\": \"Hello, World!\"}\n\nif __name__ == \"__main__\":\n    import uvicorn\n    uvicorn.run(app, host=\"0.0.0.0\", port=8000)","lang":"python","description":"Create a simple API with one GET endpoint."},"warnings":[{"fix":"Use `from rapid_router import RapidRouter` and `Route` directly.","message":"In 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.","severity":"breaking","affected_versions":">=7.0.0"},{"fix":"Upgrade Python to 3.8 or higher.","message":"v7 removed support for Python 3.7 and below. Requires Python 3.8+.","severity":"breaking","affected_versions":">=7.0.0"},{"fix":"Use Pydantic models instead of raw JSON schema dicts.","message":"The `json` parameter in route decorators is deprecated in favor of Pydantic models for request body validation.","severity":"deprecated","affected_versions":">=6.0.0"},{"fix":"Wrap app in a lifespan-capable framework like Starlette, or use `app.add_middleware` with custom lifespan.","message":"ASGI lifespan events (startup/shutdown) are not supported by default. Use a middleware or external library.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'7.7.3':22 'activ':24 'api':9 'asgi':26 'automat':11 'build':8 'current':20 'depend':18 'develop':25 'document':14 'framework':6,28 'inject':19 'openapi':12,29 'python':4,31 'rapid':1 'request':15 'router':2 'swagger/redoc':13 'valid':16,30 'version':21 'web':5,27","created_at":"2026-05-01T17:45:41.941623+00:00","updated_at":"2026-05-01T17:45:41.941623+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\nModuleNotFoundError: No module named 'rapid_router'"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":"https://pypi.org/project/rapid-router/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["web-framework"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"import_fail","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-07-10","install_tag":null}}