{"id":20390279,"url":"https://github.com/nonebot/nonecorn","last_synced_at":"2025-04-12T11:21:10.495Z","repository":{"id":100676176,"uuid":"412477139","full_name":"nonebot/nonecorn","owner":"nonebot","description":"ASGI server that forked from hypercorn,  with extra features beyond asgi spec","archived":false,"fork":false,"pushed_at":"2024-07-14T08:14:35.000Z","size":1314,"stargazers_count":7,"open_issues_count":8,"forks_count":1,"subscribers_count":2,"default_branch":"nonecorn_dev","last_synced_at":"2025-04-09T16:15:17.422Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nonebot.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null},"funding":{"open_collective":"nonebot","custom":["https://afdian.net/@nonebot"]}},"created_at":"2021-10-01T13:28:03.000Z","updated_at":"2024-09-27T15:13:45.000Z","dependencies_parsed_at":"2023-11-13T05:34:47.980Z","dependency_job_id":"3a62ecaf-fd09-4092-9ac0-b8df1201c5a9","html_url":"https://github.com/nonebot/nonecorn","commit_stats":{"total_commits":730,"total_committers":59,"mean_commits":"12.372881355932204","dds":0.1972602739726027,"last_synced_commit":"60859916037524fc9097bffbe7f3da91bee98a32"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nonebot%2Fnonecorn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nonebot%2Fnonecorn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nonebot%2Fnonecorn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nonebot%2Fnonecorn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nonebot","download_url":"https://codeload.github.com/nonebot/nonecorn/tar.gz/refs/heads/nonecorn_dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248112362,"owners_count":21049645,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T03:23:57.567Z","updated_at":"2025-04-12T11:21:10.473Z","avatar_url":"https://github.com/nonebot.png","language":"Python","funding_links":["https://opencollective.com/nonebot","https://afdian.net/@nonebot"],"categories":[],"sub_categories":[],"readme":"Hypercorn is now hosted at `github.com/pgjones/hypercorn\n\u003chttps://github.com/pgjones/hypercorn\u003e`_.\n\n\nHypercorn\n=========\n\n.. image:: https://github.com/pgjones/hypercorn/raw/main/artwork/logo.png\n   :alt: Hypercorn logo\n\n|Build Status| |docs| |pypi| |http| |python| |license|\n\nHypercorn is an `ASGI\n\u003chttps://github.com/django/asgiref/blob/main/specs/asgi.rst\u003e`_ and\nWSGI web server based on the sans-io hyper, `h11\n\u003chttps://github.com/python-hyper/h11\u003e`_, `h2\n\u003chttps://github.com/python-hyper/hyper-h2\u003e`_, and `wsproto\n\u003chttps://github.com/python-hyper/wsproto\u003e`_ libraries and inspired by\nGunicorn. Hypercorn supports HTTP/1, HTTP/2, WebSockets (over HTTP/1\nand HTTP/2), ASGI, and WSGI specifications. Hypercorn can utilise\nasyncio, uvloop, or trio worker types.\n\nHypercorn can optionally serve the current draft of the HTTP/3\nspecification using the `aioquic\n\u003chttps://github.com/aiortc/aioquic/\u003e`_ library. To enable this install\nthe ``h3`` optional extra, ``pip install hypercorn[h3]`` and then\nchoose a quic binding e.g. ``hypercorn --quic-bind localhost:4433\n...``.\n\nHypercorn was initially part of `Quart\n\u003chttps://github.com/pgjones/quart\u003e`_ before being separated out into a\nstandalone server. Hypercorn forked from version 0.5.0 of Quart.\n\nQuickstart\n----------\n\nHypercorn can be installed via `pip\n\u003chttps://docs.python.org/3/installing/index.html\u003e`_,\n\n.. code-block:: console\n\n    $ pip install hypercorn\n\nand requires Python 3.8 or higher.\n\nWith hypercorn installed ASGI frameworks (or apps) can be served via\nHypercorn via the command line,\n\n.. code-block:: console\n\n    $ hypercorn module:app\n\nAlternatively Hypercorn can be used programatically,\n\n.. code-block:: python\n\n    import asyncio\n    from hypercorn.config import Config\n    from hypercorn.asyncio import serve\n\n    from module import app\n\n    asyncio.run(serve(app, Config()))\n\nlearn more (including a Trio example of the above) in the `API usage\n\u003chttps://hypercorn.readthedocs.io/en/latest/how_to_guides/api_usage.html\u003e`_\ndocs.\n\nContributing\n------------\n\nHypercorn is developed on `Github\n\u003chttps://github.com/pgjones/hypercorn\u003e`_. If you come across an issue,\nor have a feature request please open an `issue\n\u003chttps://github.com/pgjones/hypercorn/issues\u003e`_.  If you want to\ncontribute a fix or the feature-implementation please do (typo fixes\nwelcome), by proposing a `pull request\n\u003chttps://github.com/pgjones/hypercorn/merge_requests\u003e`_.\n\nTesting\n~~~~~~~\n\nThe best way to test Hypercorn is with `Tox\n\u003chttps://tox.readthedocs.io\u003e`_,\n\n.. code-block:: console\n\n    $ pipenv install tox\n    $ tox\n\nthis will check the code style and run the tests.\n\nHelp\n----\n\nThe Hypercorn `documentation \u003chttps://hypercorn.readthedocs.io\u003e`_ is\nthe best place to start, after that try searching stack overflow, if\nyou still can't find an answer please `open an issue\n\u003chttps://github.com/pgjones/hypercorn/issues\u003e`_.\n\n\n.. |Build Status| image:: https://github.com/pgjones/hypercorn/actions/workflows/ci.yml/badge.svg\n   :target: https://github.com/pgjones/hypercorn/commits/main\n\n.. |docs| image:: https://img.shields.io/badge/docs-passing-brightgreen.svg\n   :target: https://hypercorn.readthedocs.io\n\n.. |pypi| image:: https://img.shields.io/pypi/v/hypercorn.svg\n   :target: https://pypi.python.org/pypi/Hypercorn/\n\n.. |http| image:: https://img.shields.io/badge/http-1.0,1.1,2-orange.svg\n   :target: https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol\n\n.. |python| image:: https://img.shields.io/pypi/pyversions/hypercorn.svg\n   :target: https://pypi.python.org/pypi/Hypercorn/\n\n.. |license| image:: https://img.shields.io/badge/license-MIT-blue.svg\n   :target: https://github.com/pgjones/hypercorn/blob/main/LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnonebot%2Fnonecorn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnonebot%2Fnonecorn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnonebot%2Fnonecorn/lists"}