search
Get Started
search
BlackSheep - Framework
zoom_in Click to enlarge

BlackSheep

language

description BlackSheep Overview

BlackSheep is a free and open-source web framework for Python that implements the ASGI standard. It provides facilities for routing HTTP requests, dependency injection, middleware, authentication, cookies, sessions, and generation of OpenAPI documentation for web APIs. Its asynchronous programming model is intended for developers building Python services and applications that need to handle concurrent network operations efficiently.

help BlackSheep FAQ

What does BlackSheep use ASGI for?

BlackSheep is an asynchronous Python web framework built for the ASGI standard. It supports HTTP applications, WebSockets, server-sent events, routing, middleware, and dependency injection. [BlackSheep project](https://github.com/Neoteroi/BlackSheep)

How do I run a BlackSheep app with Uvicorn?

Install the framework with pip install blacksheep and an ASGI server such as Uvicorn. If the application object is named app in server.py, the launch command is uvicorn server:app. [BlackSheep project](https://github.com/Neoteroi/BlackSheep)

Does BlackSheep generate OpenAPI documentation and support authentication?

Yes. BlackSheep documents OpenAPI support and built-in Basic, API key, and JWT Bearer authentication from version 2.4.2, along with OpenID Connect integration. [BlackSheep project](https://github.com/Neoteroi/BlackSheep)

How does BlackSheep differ from FastAPI?

Both are ASGI frameworks, but BlackSheep emphasizes its own dependency injection model, HTTP client, authentication policies, WebSockets, and server-sent events. FastAPI is built on Starlette and is centered on Python type annotations and OpenAPI-based API development. [ASGI implementations](https://asgi.readthedocs.io/en/stable/implementations.html)

Reviews & Comments

Write a Review

rate_review

Be the first to review

Share your thoughts with the community and help others make better decisions.

Save to your list

Save your favorites and follow how their scores change over time.

Save favorites
Track changes
Compare scores

Already have an account? Sign in

Compare Items

See how they stack up against each other

Comparing
VS
Select 1 more item to compare