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.18.6.tar.gz (44.3 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.18.6-py3-none-any.whl (60.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for anycorn-0.18.6.tar.gz
Algorithm Hash digest
SHA256 190a96cf7aaeab69669b1c30da7d44fde78ddc2e776a93d5ab656ba61cc69631
MD5 07eb0c84a36965d69cc5c264b97a0428
BLAKE2b-256 1949bb6f9549438ec22950b08b424c7100ae1d8148257305c2ee7523bcd847f3

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for anycorn-0.18.6-py3-none-any.whl
Algorithm Hash digest
SHA256 898f6b856b9cc55a75a32daa707ba6aa3496b7ee7a2c8350fbbc081bbcbb6df9
MD5 042233a8c7ba5ed4e4bd10b6aa57c4a0
BLAKE2b-256 fd65465f47c94e2b62127a4c15e104dab586cc204532921e4652267f08d858d0

See more details on using hashes here.

Provenance

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