# Neoteroi/BlackSheep

Fast ASGI web framework for Python

Repository: https://github.com/Neoteroi/BlackSheep
Canonical: https://ross.abutalabs.com/products/blacksheep
Homepage: https://www.neoteroi.dev/blacksheep/
Language: Python
License: MIT
License Family: permissive
Topics: asyncio, server, http, asgi, blacksheep, python, web, framework, http-server
Last push: 2026-06-16T03:20:19+00:00

## Health v2 (maintenance only)
Score: 90/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 87, release rhythm 87, longevity 100
- inputs: {"age_days": 2841, "days_push": 78, "days_rel": 90, "gap_med": 14.5, "n_releases_24m": 19}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2358, forks 101 (observed 2026-08-28T04:06:40.738923+00:00)

## What it is
BlackSheep is a fast asynchronous ASGI web framework for Python, inspired by Flask and ASP.NET Core. It features built-in dependency injection, automatic parameter binding, OpenAPI documentation generation, and a CLI for bootstrapping projects.

## Use cases
- build async REST APIs in Python
- create web applications with dependency injection
- auto-generate OpenAPI documentation for endpoints
- bootstrap a new Python web project from templates
- serve high-performance HTTP APIs with uvicorn or granian
- build MVC-style web apps in Python

## When to choose
- you want an async Python framework with built-in dependency injection
- you need automatic OpenAPI/Swagger docs for your API
- you like Flask or ASP.NET Core style routing and want type hints
- performance matters and you can pair it with Granian or Socketify

## When to avoid
- you need the massive ecosystem of Django or Flask extensions
- your team prefers synchronous WSGI development
- you rely on libraries tightly coupled to FastAPI or Starlette

## Facets
- artifact type: framework
- maturity: active
- function: web-framework, http-server, api-framework, routing, middleware, cli, api-documentation
- domain: web-development, backend, apis, developer-tools
- platform: python, cross-platform, cli
- tags: asgi, asyncio, dependency-injection, openapi, rest-api, flask-inspired, aspnet-core-inspired

## Member repositories
- Neoteroi/BlackSheep (main) score 90

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:40.738923+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:36:14.462401+00:00, confidence not recorded.
  - readme: https://github.com/Neoteroi/BlackSheep (fetched 2026-08-28T04:06:40.738923+00:00, sha cd73e4c9a56a)
  - homepage: https://www.neoteroi.dev/blacksheep/ (fetched 2026-08-29T10:16:56.552708+00:00, sha 4710029ee35f)
  - site_page: https://www.neoteroi.dev/blacksheep/getting-started (fetched 2026-08-29T10:16:56.574098+00:00, sha 3f362c3adb5d)
  - site_page: https://www.neoteroi.dev/blacksheep/about (fetched 2026-08-29T10:16:56.581160+00:00, sha 2b164740146c)
  - site_page: https://www.neoteroi.dev/blacksheep/openapi (fetched 2026-08-29T10:16:56.576686+00:00, sha a950ef9bfb7c)
  - site_page: https://www.neoteroi.dev/blacksheep/cli (fetched 2026-08-29T10:16:56.579458+00:00, sha 125ce157a586)
  - site_page: https://www.neoteroi.dev/ (fetched 2026-08-29T10:16:56.582913+00:00, sha f26d1ed506ef)
  - site_page: https://www.neoteroi.dev/blacksheep/v1 (fetched 2026-08-29T10:16:56.584455+00:00, sha 05cfd1a87af7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
