The revamped and modernized drop-in replacement for asgiref
Project description
asgire
The revamped and modernized drop-in replacement for asgiref.
Same license, same API, but with better code, comprehensive coverage, and active maintenance.
Installation
pip install asgire
The import stays import asgiref — no code changes needed.
Migration
pip uninstall asgiref
pip install asgire
If you need to force Django or other libraries to depend on asgire instead of asgiref with uv, add the following to your pyproject.toml:
[tool.uv]
override-dependencies = ["asgiref ; python_version == '0'"]
This will eliminate all transitive dependencies on asgiref in uv.lock to ensure asgire is the only import asgiref provider.
Development
uv sync
uv run pytest -v
uv run ruff check --fix
uv run ruff format
uv run ty check
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file asgire-3.12.1.tar.gz.
File metadata
- Download URL: asgire-3.12.1.tar.gz
- Upload date:
- Size: 18.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
504b276e8579ab2a26efab9f92de5d02462a98f71ee3a8d6698eb1f71d65a85a
|
|
| MD5 |
1f63afd44eccd38d8e58ef63aa23a2ec
|
|
| BLAKE2b-256 |
b6ea9c4d3cf76918477234caddd3b87fa9365cde3b14624795a2314514b57c0e
|
File details
Details for the file asgire-3.12.1-py3-none-any.whl.
File metadata
- Download URL: asgire-3.12.1-py3-none-any.whl
- Upload date:
- Size: 21.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f29e10e9aa78b59bf85993a5c76537ae1fc733d0392aa8c6ddd89054f8120072
|
|
| MD5 |
175ed73972b395e6f06dee263580e527
|
|
| BLAKE2b-256 |
046806241d70d411f6fdc35efd7496329a9b50afbc13e1f7e93459f4d2b2df3c
|