This commit is contained in:
Untriex Programming
2021-03-17 08:57:57 +01:00
parent 339be0ccd8
commit ed6afdb5c9
3074 changed files with 423348 additions and 0 deletions

View File

@@ -0,0 +1 @@
pip

View File

@@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2015-2020 Cory Benfield and contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

View File

@@ -0,0 +1,102 @@
Metadata-Version: 2.1
Name: h2
Version: 4.0.0
Summary: HTTP/2 State-Machine based protocol implementation
Home-page: https://github.com/python-hyper/hyper-h2
Author: Cory Benfield
Author-email: cory@lukasa.co.uk
License: MIT License
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.6.1
Description-Content-Type: text/x-rst
Requires-Dist: hyperframe (<7,>=6.0)
Requires-Dist: hpack (<5,>=4.0)
===============================
hyper-h2: HTTP/2 Protocol Stack
===============================
.. image:: https://github.com/python-hyper/hyper-h2/workflows/CI/badge.svg
:target: https://github.com/python-hyper/hyper-h2/actions
:alt: Build Status
.. image:: https://codecov.io/gh/python-hyper/hyper-h2/branch/master/graph/badge.svg
:target: https://codecov.io/gh/python-hyper/hyper-h2
:alt: Code Coverage
.. image:: https://readthedocs.org/projects/hyper-h2/badge/?version=latest
:target: https://hyper-h2.readthedocs.io/en/latest/
:alt: Documentation Status
.. image:: https://img.shields.io/badge/chat-join_now-brightgreen.svg
:target: https://gitter.im/python-hyper/community
:alt: Chat community
.. image:: https://raw.github.com/Lukasa/hyper/development/docs/source/images/hyper.png
This repository contains a pure-Python implementation of a HTTP/2 protocol
stack. It's written from the ground up to be embeddable in whatever program you
choose to use, ensuring that you can speak HTTP/2 regardless of your
programming paradigm.
You use it like this:
.. code-block:: python
import h2.connection
import h2.config
config = h2.config.H2Configuration()
conn = h2.connection.H2Connection(config=config)
conn.send_headers(stream_id=stream_id, headers=headers)
conn.send_data(stream_id, data)
socket.sendall(conn.data_to_send())
events = conn.receive_data(socket_data)
This repository does not provide a parsing layer, a network layer, or any rules
about concurrency. Instead, it's a purely in-memory solution, defined in terms
of data actions and HTTP/2 frames. This is one building block of a full Python
HTTP implementation.
To install it, just run:
.. code-block:: console
$ pip install h2
Documentation
=============
Documentation is available at https://hyper-h2.readthedocs.io/ .
Contributing
============
``hyper-h2`` welcomes contributions from anyone! Unlike many other projects we
are happy to accept cosmetic contributions and small contributions, in addition
to large feature requests and changes.
Before you contribute (either by opening an issue or filing a pull request),
please `read the contribution guidelines`_.
.. _read the contribution guidelines: http://python-hyper.org/en/latest/contributing.html
License
=======
``hyper-h2`` is made available under the MIT License. For more details, see the
``LICENSE`` file in the repository.
Authors
=======
``hyper-h2`` is maintained by Cory Benfield, with contributions from others.

View File

@@ -0,0 +1,28 @@
h2-4.0.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
h2-4.0.0.dist-info/LICENSE,sha256=emWlrwy6vxwWJRx8ayt8tG0WpyIueZdbm2H81mouPyg,1102
h2-4.0.0.dist-info/METADATA,sha256=VtPSt_aNYdJDHEQb00nMiG5ZiO1Otdt3l1nqznebyVk,3453
h2-4.0.0.dist-info/RECORD,,
h2-4.0.0.dist-info/WHEEL,sha256=g4nMs7d-Xl9-xC9XovUrsDHGXt-FT0E17Yqo92DEfvY,92
h2-4.0.0.dist-info/top_level.txt,sha256=Hiulx8KxI2jFUM1dG7-CZeRkO3j50MBwCLG36Vrq-kI,3
h2/__init__.py,sha256=B5BGVwobBOin_q7r9t6Es8oIGENwSevA-O8DQBmunTo,92
h2/__pycache__/__init__.cpython-39.pyc,,
h2/__pycache__/config.cpython-39.pyc,,
h2/__pycache__/connection.cpython-39.pyc,,
h2/__pycache__/errors.cpython-39.pyc,,
h2/__pycache__/events.cpython-39.pyc,,
h2/__pycache__/exceptions.cpython-39.pyc,,
h2/__pycache__/frame_buffer.cpython-39.pyc,,
h2/__pycache__/settings.cpython-39.pyc,,
h2/__pycache__/stream.cpython-39.pyc,,
h2/__pycache__/utilities.cpython-39.pyc,,
h2/__pycache__/windows.cpython-39.pyc,,
h2/config.py,sha256=oYy4AU3BxDo4l8JuHi8_JCDeXqhoxMOIKZ2jBNDD5eg,6600
h2/connection.py,sha256=NZzpixAnPu6G00xDANsBENSepJ4rNORTFa-fJKh2hhs,82993
h2/errors.py,sha256=6KzmbyYSKM9RuCd6nz7P2LtxmlSs5P2mneS_Sa8vTEo,1543
h2/events.py,sha256=CinrMuXmvFrlPDxJZY14FV-JyBGarxRR6gZKGVEJym0,21653
h2/exceptions.py,sha256=OlfeNH_fcGGM0rFlOpD2JGOkW6r0HxDN7nSeGzO-Hz0,5334
h2/frame_buffer.py,sha256=7i15oPLqfAPPfTDE5A87gggW4FxB7l__vMX4Xe9R7TU,6208
h2/settings.py,sha256=zRs_bAz9qg21jsp6HQY-TZWncIbCDwEJ_1wZOydmYNc,11690
h2/stream.py,sha256=qaOEx0XaSaOk3_P7Beym9dIoCKb2UDBI-3ZNMMV2LoU,54539
h2/utilities.py,sha256=CfVexJ-CU1KbArHoIpBeHJhLmWoiPyHazSf2_mDvN2Q,22699
h2/windows.py,sha256=N_P9mTi0VZ26-eY2QsvWYi6NLx73xswvUZb7VGod1zk,5595

View File

@@ -0,0 +1,5 @@
Wheel-Version: 1.0
Generator: bdist_wheel (0.34.2)
Root-Is-Purelib: true
Tag: py3-none-any

View File

@@ -0,0 +1 @@
h2