Skip to main content

Project Selva

Documentation: https://livioribeiro.github.io/selva/

Selva is a Python ASGI web framework built on top of asgikit and inspired by Spring Boot, AspNet, FastAPI and Go's net/http.

It features a Dependency Injection system to help build robust and reliable applications.

Quick start

Install selva and uvicorn to run application:

pip install selva uvicorn[standard]

Create a module called application.py:

touch application.py

Create a handler:

from asgikit.requests import Request
from asgikit.responses import respond_text
from selva.web import get


@get
async def hello(request: Request):
    await respond_text(request.response, "Hello, World!")

Run application with uvicorn (Selva will automatically load application.py):

uvicorn selva.run:app --reload

Release files for selva 0.19.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for selva 0.19.4
File Size Uploaded
selva-0.19.4.tar.gz 55.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for selva 0.19.4
File Interpreter ABI Platform
selva-0.19.4-py3-none-any.whl Python 3 none any Details

Total release size: 108.6 kB

Release files / selva-0.19.4.tar.gz

Download URL selva-0.19.4.tar.gz
Size 55.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c6e052247e879a6446df1d5acd2e0f6d1ebd686745eb3e20064bd7071b22d2cb
BLAKE2b-256 checksum
How to use checksums
153b2a26515e9fc2f6f1dd0f4609c17e74a7a37c4c35dc810ffb2152616a1309
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via pdm/2.22.3 CPython/3.13.2 Linux/6.8.0-1021-azure

Release files / selva-0.19.4-py3-none-any.whl

Download URL selva-0.19.4-py3-none-any.whl
Size 53.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
da4fa74edce1d818bcfd0a63ac392270faf9dc12d84ef628bb954a145d3a8ccf
BLAKE2b-256 checksum
How to use checksums
d8704b77b5353259a252ab4c74bd421c9288721eb4565da7a7603770af592d9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via pdm/2.22.3 CPython/3.13.2 Linux/6.8.0-1021-azure

Release history Release notifications | RSS feed

This release

0.19.4 This release

2 release files

0.19.3

2 release files

0.19.1

2 release files

0.19.0

2 release files

0.14.3

2 release files

0.14.2

2 release files

0.14.1

2 release files

0.11.2

2 release files

0.11.1

2 release files

0.11.0

2 release files

0.10.0

2 release files

0.9.0

2 release files

0.8.3

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.6

2 release files

0.7.5

2 release files

0.7.4

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.7

2 release files

0.6.5

2 release files

0.6.4

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.13

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page