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.0.tar.gz (48.8 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.0-py3-none-any.whl (65.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: anycorn-0.19.0.tar.gz
  • Upload date:
  • Size: 48.8 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.0.tar.gz
Algorithm Hash digest
SHA256 a24b692766be47b271b1461908ba4cca7e434cf1bcb45bceafd6cfe0a85840ee
MD5 336333801629b41a0b420909338caf6d
BLAKE2b-256 80e5074f6ae2aca3180d593461ba3ab086f4b19dcef9e477692aff23d37df11f

See more details on using hashes here.

Provenance

The following attestation bundles were made for anycorn-0.19.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: anycorn-0.19.0-py3-none-any.whl
  • Upload date:
  • Size: 65.9 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0c24a83536f798d8e35901c248a5019493a0be279f6a72dc8dab8c8d2bf85656
MD5 c93aae3bb2ffca28762b4c056a77ec7a
BLAKE2b-256 b4713d0c983c4d0c5ce758a4b7bce59d2e6646cbdeff2e1d2b6bba885a5d9a3b

See more details on using hashes here.

Provenance

The following attestation bundles were made for anycorn-0.19.0-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