Skip to main content

A fork of Hypercorn that uses AnyIO

Project description

Anycorn

Anycorn is a fork of Hypercorn where asyncio and Trio compatibility is delegated to AnyIO, instead of having a separate code base for each. Anycorn forked from version 0.16.0 of Hypercorn. This fork supports tls extension.

Quickstart

Anycorn can be installed via pip:

pip install anycorn

and requires Python 3.8 or higher.

With Anycorn, installed ASGI frameworks (or apps) can be served via the command line:

anycorn module:app

Alternatively, Anycorn can be used programatically:

import anyio
from anycorn.config import Config
from anycorn import serve

from module import app

anyio.run(serve, app, Config())

See Hypercorn's documentation for more details.

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

anycorn-0.19.2.tar.gz (52.0 kB view details)

Uploaded Source

Built Distribution

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

anycorn-0.19.2-py3-none-any.whl (69.4 kB view details)

Uploaded Python 3

File details

Details for the file anycorn-0.19.2.tar.gz.

File metadata

  • Download URL: anycorn-0.19.2.tar.gz
  • Upload date:
  • Size: 52.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for anycorn-0.19.2.tar.gz
Algorithm Hash digest
SHA256 4ede05dee84cf7561cdea59c2a0a18900dfb8452880091913eea38995b55a712
MD5 30319a0f5c54e591e3a279bd3c77af82
BLAKE2b-256 15a393059c5952c57ce0eb1a756084dd03f4e9ce76f620379d5d4223e542e4db

See more details on using hashes here.

Provenance

The following attestation bundles were made for anycorn-0.19.2.tar.gz:

Publisher: publish.yml on davidbrochart/anycorn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file anycorn-0.19.2-py3-none-any.whl.

File metadata

  • Download URL: anycorn-0.19.2-py3-none-any.whl
  • Upload date:
  • Size: 69.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for anycorn-0.19.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5fa0d6115f97429c0b0b8c81f6834e8cbe038fde9ba2dc9963c184fe112b0dc8
MD5 09a27b5a70f14b740b1d1784711bf918
BLAKE2b-256 ace3c56371a4b978265354c08daf4114c26c73f49c2a1f1581cf7f145f462e90

See more details on using hashes here.

Provenance

The following attestation bundles were made for anycorn-0.19.2-py3-none-any.whl:

Publisher: publish.yml on davidbrochart/anycorn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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