Skip to content

ech0-py/hyper

This branch is 42 commits behind python-hyper/hyper:development.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ed270c0 · May 30, 2017
Dec 7, 2016
Mar 5, 2017
Jun 5, 2015
May 30, 2017
May 30, 2017
Mar 18, 2016
Oct 9, 2015
Dec 7, 2016
Jun 13, 2016
Sep 27, 2016
Apr 12, 2016
Oct 29, 2015
May 6, 2016
Nov 11, 2015
Apr 14, 2017
Apr 19, 2014
Dec 2, 2016
Feb 22, 2015
Mar 4, 2017
Apr 23, 2016
Aug 5, 2016

Repository files navigation

Hyper: HTTP/2 Client for Python

https://raw.github.com/Lukasa/hyper/development/docs/source/images/hyper.png

https://travis-ci.org/Lukasa/hyper.svg?branch=master

HTTP is changing under our feet. HTTP/1.1, our old friend, is being supplemented by the brand new HTTP/2 standard. HTTP/2 provides many benefits: improved speed, lower bandwidth usage, better connection management, and more.

hyper provides these benefits to your Python code. How? Like this:

from hyper import HTTPConnection

conn = HTTPConnection('http2bin.org:443')
conn.request('GET', '/get')
resp = conn.get_response()

print(resp.read())

Simple.

Caveat Emptor!

Please be warned: hyper is in a very early alpha. You will encounter bugs when using it. In addition, there are very many rough edges. With that said, please try it out in your applications: I need your feedback to fix the bugs and file down the rough edges.

Versions

hyper supports the final draft of the HTTP/2 specification: additionally, it provides support for drafts 14, 15, and 16 of the HTTP/2 specification. It also supports the final draft of the HPACK specification.

Compatibility

hyper is intended to be a drop-in replacement for http.client, with a similar API. However, hyper intentionally does not name its classes the same way http.client does. This is because most servers do not support HTTP/2 at this time: I don't want you accidentally using hyper when you wanted http.client.

Documentation

Looking to learn more? Documentation for hyper can be found on Read the Docs.

Contributing

hyper 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.

License

hyper is made available under the MIT License. For more details, see the LICENSE file in the repository.

Authors

hyper is maintained by Cory Benfield, with contributions from others. For more details about the contributors, please see CONTRIBUTORS.rst.

Packages

No packages published

Languages

  • Python 99.8%
  • Other 0.2%