Skip to main content

The revamped and modernized drop-in replacement for asgiref

Project description

asgire

License PyPI PyPI - Downloads PyPI - Python Version CI Codecov

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

asgire-3.12.1.tar.gz (18.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

asgire-3.12.1-py3-none-any.whl (21.3 kB view details)

Uploaded Python 3

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

Hashes for asgire-3.12.1.tar.gz
Algorithm Hash digest
SHA256 504b276e8579ab2a26efab9f92de5d02462a98f71ee3a8d6698eb1f71d65a85a
MD5 1f63afd44eccd38d8e58ef63aa23a2ec
BLAKE2b-256 b6ea9c4d3cf76918477234caddd3b87fa9365cde3b14624795a2314514b57c0e

See more details on using hashes here.

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

Hashes for asgire-3.12.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f29e10e9aa78b59bf85993a5c76537ae1fc733d0392aa8c6ddd89054f8120072
MD5 175ed73972b395e6f06dee263580e527
BLAKE2b-256 046806241d70d411f6fdc35efd7496329a9b50afbc13e1f7e93459f4d2b2df3c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page