Debian Codegraph @

src/h2.egg-info/PKG-INFO

raw
1 Metadata-Version: 2.4
2 Name: h2
3 Version: 4.3.0
4 Summary: Pure-Python HTTP/2 protocol implementation
5 Author-email: Cory Benfield <[email protected]>
6 Maintainer-email: Thomas Kriechbaumer <[email protected]>
7 License: The MIT License (MIT)
8
9 Copyright (c) 2015-2020 Cory Benfield and contributors
10
11 Permission is hereby granted, free of charge, to any person obtaining a copy
12 of this software and associated documentation files (the "Software"), to deal
13 in the Software without restriction, including without limitation the rights
14 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15 copies of the Software, and to permit persons to whom the Software is
16 furnished to do so, subject to the following conditions:
17
18 The above copyright notice and this permission notice shall be included in
19 all copies or substantial portions of the Software.
20
21 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
27 THE SOFTWARE.
28
29 Project-URL: Homepage, https://github.com/python-hyper/h2/
30 Project-URL: Bug Reports, https://github.com/python-hyper/h2/issues
31 Project-URL: Source, https://github.com/python-hyper/h2/
32 Project-URL: Documentation, https://python-hyper.org/
33 Classifier: Development Status :: 5 - Production/Stable
34 Classifier: Intended Audience :: Developers
35 Classifier: License :: OSI Approved :: MIT License
36 Classifier: Programming Language :: Python
37 Classifier: Programming Language :: Python :: 3 :: Only
38 Classifier: Programming Language :: Python :: 3
39 Classifier: Programming Language :: Python :: 3.9
40 Classifier: Programming Language :: Python :: 3.10
41 Classifier: Programming Language :: Python :: 3.11
42 Classifier: Programming Language :: Python :: 3.12
43 Classifier: Programming Language :: Python :: 3.13
44 Classifier: Programming Language :: Python :: Implementation :: CPython
45 Classifier: Programming Language :: Python :: Implementation :: PyPy
46 Requires-Python: >=3.9
47 Description-Content-Type: text/x-rst
48 License-File: LICENSE
49 Requires-Dist: hyperframe<7,>=6.1
50 Requires-Dist: hpack<5,>=4.1
51 Dynamic: license-file
52
53 =========================
54 h2: HTTP/2 Protocol Stack
55 =========================
56
57 .. image:: https://github.com/python-hyper/h2/workflows/CI/badge.svg
58 :target: https://github.com/python-hyper/h2/actions
59 :alt: Build Status
60 .. image:: https://codecov.io/gh/python-hyper/h2/branch/master/graph/badge.svg
61 :target: https://codecov.io/gh/python-hyper/h2
62 :alt: Code Coverage
63 .. image:: https://readthedocs.org/projects/h2/badge/?version=latest
64 :target: https://h2.readthedocs.io/en/latest/
65 :alt: Documentation Status
66 .. image:: https://img.shields.io/badge/chat-join_now-brightgreen.svg
67 :target: https://gitter.im/python-hyper/community
68 :alt: Chat community
69
70 .. image:: https://raw.github.com/python-hyper/documentation/master/source/logo/hyper-black-bg-white.png
71
72 This repository contains a pure-Python implementation of a HTTP/2 protocol
73 stack. It's written from the ground up to be embeddable in whatever program you
74 choose to use, ensuring that you can speak HTTP/2 regardless of your
75 programming paradigm.
76
77 You use it like this:
78
79 .. code-block:: python
80
81 import h2.connection
82 import h2.config
83
84 config = h2.config.H2Configuration()
85 conn = h2.connection.H2Connection(config=config)
86 conn.send_headers(stream_id=stream_id, headers=headers)
87 conn.send_data(stream_id, data)
88 socket.sendall(conn.data_to_send())
89 events = conn.receive_data(socket_data)
90
91 This repository does not provide a parsing layer, a network layer, or any rules
92 about concurrency. Instead, it's a purely in-memory solution, defined in terms
93 of data actions and HTTP/2 frames. This is one building block of a full Python
94 HTTP implementation.
95
96 To install it, just run:
97
98 .. code-block:: console
99
100 $ python -m pip install h2
101
102 Documentation
103 =============
104
105 Documentation is available at https://h2.readthedocs.io .
106
107 Contributing
108 ============
109
110 ``h2`` welcomes contributions from anyone! Unlike many other projects we
111 are happy to accept cosmetic contributions and small contributions, in addition
112 to large feature requests and changes.
113
114 Before you contribute (either by opening an issue or filing a pull request),
115 please `read the contribution guidelines`_.
116
117 .. _read the contribution guidelines: https://python-hyper.org/en/latest/contributing.html
118
119 License
120 =======
121
122 ``h2`` is made available under the MIT License. For more details, see the
123 ``LICENSE`` file in the repository.
124
125 Authors
126 =======
127
128 ``h2`` was authored by Cory Benfield and is maintained
129 by the members of `python-hyper <https://github.com/orgs/python-hyper/people>`_.