Name | hpack JSON |
Version |
4.1.0
JSON |
| download |
home_page | None |
Summary | Pure-Python HPACK header encoding |
upload_time | 2025-01-22 21:44:58 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.9 |
license | The MIT License (MIT) Copyright (c) 2014 Cory Benfield 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. |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
========================================
hpack: HTTP/2 Header Encoding for Python
========================================
.. image:: https://github.com/python-hyper/hpack/workflows/CI/badge.svg
:target: https://github.com/python-hyper/hpack/actions
:alt: Build Status
.. image:: https://codecov.io/gh/python-hyper/hpack/branch/master/graph/badge.svg
:target: https://codecov.io/gh/python-hyper/hpack
:alt: Code Coverage
.. image:: https://readthedocs.org/projects/hpack/badge/?version=latest
:target: https://hpack.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/python-hyper/documentation/master/source/logo/hyper-black-bg-white.png
This module contains a pure-Python HTTP/2 header encoding (HPACK) logic for use
in Python programs that implement HTTP/2.
Documentation
=============
Documentation is available at https://hpack.readthedocs.io .
Quickstart:
.. code-block:: python
from hpack import Encoder, Decoder
headers = [
(':method', 'GET'),
(':path', '/jimiscool/'),
('X-Some-Header', 'some_value'),
]
e = Encoder()
encoded_bytes = e.encode(headers)
d = Decoder()
decoded_headers = d.decode(encoded_bytes)
Contributing
============
``hpack`` 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://hyper.readthedocs.org/en/development/contributing.html
License
=======
``hpack`` is made available under the MIT License. For more details, see the
``LICENSE`` file in the repository.
Authors
=======
``hpack`` is maintained by Cory Benfield, with contributions from others. For
more details about the contributors, please see ``CONTRIBUTORS.rst``.
Raw data
{
"_id": null,
"home_page": null,
"name": "hpack",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": "Thomas Kriechbaumer <thomas@kriechbaumer.name>",
"keywords": null,
"author": null,
"author_email": "Cory Benfield <cory@lukasa.co.uk>",
"download_url": "https://files.pythonhosted.org/packages/2c/48/71de9ed269fdae9c8057e5a4c0aa7402e8bb16f2c6e90b3aa53327b113f8/hpack-4.1.0.tar.gz",
"platform": null,
"description": "========================================\nhpack: HTTP/2 Header Encoding for Python\n========================================\n\n.. image:: https://github.com/python-hyper/hpack/workflows/CI/badge.svg\n :target: https://github.com/python-hyper/hpack/actions\n :alt: Build Status\n.. image:: https://codecov.io/gh/python-hyper/hpack/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/python-hyper/hpack\n :alt: Code Coverage\n.. image:: https://readthedocs.org/projects/hpack/badge/?version=latest\n :target: https://hpack.readthedocs.io/en/latest/\n :alt: Documentation Status\n.. image:: https://img.shields.io/badge/chat-join_now-brightgreen.svg\n :target: https://gitter.im/python-hyper/community\n :alt: Chat community\n\n.. image:: https://raw.github.com/python-hyper/documentation/master/source/logo/hyper-black-bg-white.png\n\nThis module contains a pure-Python HTTP/2 header encoding (HPACK) logic for use\nin Python programs that implement HTTP/2.\n\nDocumentation\n=============\n\nDocumentation is available at https://hpack.readthedocs.io .\n\nQuickstart:\n\n.. code-block:: python\n\n from hpack import Encoder, Decoder\n\n headers = [\n (':method', 'GET'),\n (':path', '/jimiscool/'),\n ('X-Some-Header', 'some_value'),\n ]\n\n e = Encoder()\n encoded_bytes = e.encode(headers)\n\n d = Decoder()\n decoded_headers = d.decode(encoded_bytes)\n\n\nContributing\n============\n\n``hpack`` welcomes contributions from anyone! Unlike many other projects we are\nhappy to accept cosmetic contributions and small contributions, in addition to\nlarge feature requests and changes.\n\nBefore you contribute (either by opening an issue or filing a pull request),\nplease `read the contribution guidelines`_.\n\n.. _read the contribution guidelines: http://hyper.readthedocs.org/en/development/contributing.html\n\nLicense\n=======\n\n``hpack`` is made available under the MIT License. For more details, see the\n``LICENSE`` file in the repository.\n\nAuthors\n=======\n\n``hpack`` is maintained by Cory Benfield, with contributions from others. For\nmore details about the contributors, please see ``CONTRIBUTORS.rst``.\n",
"bugtrack_url": null,
"license": "The MIT License (MIT) Copyright (c) 2014 Cory Benfield 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. ",
"summary": "Pure-Python HPACK header encoding",
"version": "4.1.0",
"project_urls": {
"Bug Reports": "https://github.com/python-hyper/hpack/issues",
"Documentation": "https://python-hyper.org/",
"Homepage": "https://github.com/python-hyper/hpack/",
"Source": "https://github.com/python-hyper/hpack/"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "07c680c95b1b2b94682a72cbdbfb85b81ae2daffa4291fbfa1b1464502ede10d",
"md5": "fbd10efbd10112bfe63d12ddd74cb250",
"sha256": "157ac792668d995c657d93111f46b4535ed114f0c9c8d672271bbec7eae1b496"
},
"downloads": -1,
"filename": "hpack-4.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "fbd10efbd10112bfe63d12ddd74cb250",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 34357,
"upload_time": "2025-01-22T21:44:56",
"upload_time_iso_8601": "2025-01-22T21:44:56.920811Z",
"url": "https://files.pythonhosted.org/packages/07/c6/80c95b1b2b94682a72cbdbfb85b81ae2daffa4291fbfa1b1464502ede10d/hpack-4.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2c4871de9ed269fdae9c8057e5a4c0aa7402e8bb16f2c6e90b3aa53327b113f8",
"md5": "16e7423c5b5078c1997fa3eedd2e5935",
"sha256": "ec5eca154f7056aa06f196a557655c5b009b382873ac8d1e66e79e87535f1dca"
},
"downloads": -1,
"filename": "hpack-4.1.0.tar.gz",
"has_sig": false,
"md5_digest": "16e7423c5b5078c1997fa3eedd2e5935",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 51276,
"upload_time": "2025-01-22T21:44:58",
"upload_time_iso_8601": "2025-01-22T21:44:58.347520Z",
"url": "https://files.pythonhosted.org/packages/2c/48/71de9ed269fdae9c8057e5a4c0aa7402e8bb16f2c6e90b3aa53327b113f8/hpack-4.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-22 21:44:58",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "python-hyper",
"github_project": "hpack",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "hpack"
}