# sparckles/robyn

> Robyn is a Python web framework for building HTTP APIs and web applications. Developers define routes in Python with decorators such as app.get, and the server that handles requests runs on a Rust runtime. Its main language is Python, with Rust underneath.

Source: https://github.com/sparckles/robyn
Indexed: commit 1170748 on 2026-08-09 by Repowise. Facts come from the source and git history, not from the maintainer.

## Facts

- Type: Command-line tool
- Language: Python
- Stars: 7,430 at index time
- License: BSD-2-Clause
- Code health: 7.4/10, Good
- Last commit: 2026-08-09
- Contributors: 91

## Install

From the README: https://github.com/sparckles/robyn#-installation

Clone the robyn repository.
    git clone https://github.com/sparckles/robyn.git

Move into the robyn folder.
    cd robyn

Install Robyn with pip.
    pip install robyn

Run the app.py file to start the server on localhost:8080.
    python3 app.py

## How it works

The user-facing API lives in the Python package robyn, where the Robyn app object and its route decorators such as app.get are defined. robyn/__init__.py is the central file that exposes this API, and robyn/router.py handles matching incoming URLs to registered routes. The core runtime is written in Rust under src, and src/types/response.rs defines the response types produced on the Rust side. robyn/robyn.pyi provides type stubs that describe the compiled Rust module to Python tools. Requests enter through the server started by app.start, and the values that handlers return are sent back as responses. Cargo.toml and pyproject.toml define how the Rust and Python parts are built and packaged.

- docs_src/src/pages/blog/index.jsx: entry point
- docs_src/src/pages/documentation/en/api_reference/index.mdx: entry point
- docs_src/src/pages/documentation/en/example_app/index.mdx: entry point
- docs_src/src/pages/documentation/en/example_app/zh/index.mdx: entry point
- docs_src/src/pages/documentation/en/index.mdx: entry point
Modules: docs_src, integration_tests, robyn, src, unit_tests, .github, root, examples. 361 files, 36,839 lines, 2,207 symbols.

## Code health

- Score: 7.4/10 (Good)
- Rank: #96 of 4,000+ indexed repos
- Hotspots: robyn/__init__.py, integration_tests/base_routes.py, src/types/response.rs, robyn/router.py, robyn/robyn.pyi
- Lowest file: robyn/__init__.py
- Dead code: 62 findings

## Maintenance

- Last commit 2026-08-09, first commit 2021-05-22, 836 commits
- 91 contributors, bus factor 1

## Security

- Security findings are shown to signed-in users at https://repowise.dev/repo/sparckles/robyn/security

## More

- Page: https://repowise.dev/repo/sparckles/robyn
- Ask this codebase: https://repowise.dev/repo/sparckles/robyn/chat
- Docs: https://repowise.dev/repo/sparckles/robyn/docs
- MCP (signs in with Repowise on first use):
    claude mcp add --transport http repowise https://api.repowise.dev/mcp/sparckles/robyn
