hpack

Pure-Python HTTP/2 header encoding

https://github.com/python-hyper/hpack

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    1 of 21 committers (4.8%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.4%) to scientific vocabulary

Keywords from Contributors

templates requests template-engine jinja2 pallets jinja cookies forhumans tls ssl
Last synced: 10 months ago · JSON representation

Repository

Pure-Python HTTP/2 header encoding

Basic Info
  • Host: GitHub
  • Owner: python-hyper
  • License: mit
  • Language: Python
  • Default Branch: master
  • Homepage: https://python-hyper.org/
  • Size: 2.3 MB
Statistics
  • Stars: 74
  • Watchers: 11
  • Forks: 31
  • Open Issues: 6
  • Releases: 0
Created about 11 years ago · Last pushed over 1 year ago
Metadata Files
Readme Changelog License

README.rst

========================================
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``.

Owner

  • Name: Hyper
  • Login: python-hyper
  • Kind: organization

HTTP for Python

GitHub Events

Total
  • Issues event: 3
  • Watch event: 1
  • Issue comment event: 8
  • Push event: 9
  • Pull request review comment event: 10
  • Pull request review event: 10
  • Pull request event: 11
  • Fork event: 1
  • Create event: 1
Last Year
  • Issues event: 3
  • Watch event: 1
  • Issue comment event: 8
  • Push event: 9
  • Pull request review comment event: 10
  • Pull request review event: 10
  • Pull request event: 11
  • Fork event: 1
  • Create event: 1

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 458
  • Total Committers: 21
  • Avg Commits per committer: 21.81
  • Development Distribution Score (DDS): 0.694
Past Year
  • Commits: 13
  • Committers: 2
  • Avg Commits per committer: 6.5
  • Development Distribution Score (DDS): 0.077
Top Committers
Name Email Commits
requires.io s****t@r****o 140
Cory Benfield l****z@g****m 124
dependabot-preview[bot] 2****] 75
Jim Carreer j****r@g****m 50
Thomas Kriechbaumer t****s@k****e 27
lars4839 l****9@u****u 10
bkhasanov b****v@y****u 6
Ian Foote p****n@i****g 4
Eugene Obukhov i****5@g****m 3
Alex Chan a****x@a****t 3
root r****t@k****t 2
Davey Shafik d****y@p****t 2
Seth Michael Larson S****n 2
Sébastien Delafond s****d@g****m 2
Tyrel Souza t****a@g****m 2
Burak Yigit Kaya b****n@b****m 1
Dmitry Dygalo d****o@g****m 1
John Vandenberg j****b@g****m 1
Phil Jones p****s@g****m 1
Philip Jägenstedt p****p@f****g 1
Tatsuhiro Tsujikawa t****t@g****m 1

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 11
  • Total pull requests: 105
  • Average time to close issues: 5 months
  • Average time to close pull requests: about 1 month
  • Total issue authors: 9
  • Total pull request authors: 7
  • Average comments per issue: 2.18
  • Average comments per pull request: 0.28
  • Merged pull requests: 91
  • Bot issues: 0
  • Bot pull requests: 84
Past Year
  • Issues: 1
  • Pull requests: 10
  • Average time to close issues: N/A
  • Average time to close pull requests: 2 days
  • Issue authors: 1
  • Pull request authors: 2
  • Average comments per issue: 2.0
  • Average comments per pull request: 0.8
  • Merged pull requests: 10
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • mborsetti (2)
  • kloczek (2)
  • bricewge (1)
  • mgorny (1)
  • lemur117 (1)
  • nathanielmanistaatgoogle (1)
  • merlinz01 (1)
  • jimcarreer (1)
  • mtelka (1)
Pull Request Authors
  • dependabot-preview[bot] (84)
  • Kriechi (12)
  • KOLANICH (2)
  • sethmlarson (2)
  • BYK (2)
  • Lukasa (2)
  • jayvdb (1)
Top Labels
Issue Labels
Pull Request Labels
dependencies (84)

Packages

  • Total packages: 5
  • Total downloads:
    • pypi 43,450,110 last-month
  • Total docker downloads: 1,422,972,408
  • Total dependent packages: 48
    (may contain duplicates)
  • Total dependent repositories: 5,870
    (may contain duplicates)
  • Total versions: 31
  • Total maintainers: 4
  • Total advisories: 1
pypi.org: hpack

Pure-Python HPACK header encoding

  • Homepage: https://github.com/python-hyper/hpack/
  • Documentation: https://python-hyper.org/
  • 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.
  • Latest release: 4.1.0
    published over 1 year ago
  • Versions: 12
  • Dependent Packages: 45
  • Dependent Repositories: 5,858
  • Downloads: 43,450,110 Last month
  • Docker Downloads: 1,422,972,408
Rankings
Docker downloads count: 0.0%
Downloads: 0.1%
Dependent repos count: 0.1%
Dependent packages count: 0.4%
Average: 2.6%
Forks count: 7.1%
Stargazers count: 8.1%
Maintainers (3)
Last synced: 10 months ago
proxy.golang.org: github.com/python-hyper/hpack
  • Versions: 12
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Forks count: 4.1%
Stargazers count: 5.1%
Average: 7.4%
Dependent packages count: 9.6%
Dependent repos count: 10.8%
Last synced: 10 months ago
spack.io: py-hpack

Pure-Python HPACK header compression

  • Versions: 2
  • Dependent Packages: 1
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Average: 16.3%
Forks count: 17.3%
Stargazers count: 19.8%
Dependent packages count: 28.1%
Maintainers (1)
Last synced: 10 months ago
conda-forge.org: hpack
  • Versions: 2
  • Dependent Packages: 2
  • Dependent Repositories: 6
Rankings
Dependent repos count: 13.9%
Dependent packages count: 19.6%
Average: 25.6%
Forks count: 31.1%
Stargazers count: 37.8%
Last synced: 10 months ago
anaconda.org: hpack

hpack provides a simple Python interface to the HPACK compression algorithm, used to compress HTTP headers in HTTP/2. Used by some of the most popular HTTP/2 implementations in Python, HPACK offers a great Python interface as well as optional upgrade to optimised C-based compression routines from nghttp2.

  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 6
Rankings
Dependent repos count: 42.1%
Forks count: 42.8%
Average: 45.6%
Stargazers count: 46.1%
Dependent packages count: 51.2%
Last synced: 10 months ago

Dependencies

.github/workflows/ci.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v5 composite
  • codecov/codecov-action v5 composite
pyproject.toml pypi