Skip to content
This repository has been archived by the owner on Jan 13, 2021. It is now read-only.

Latest commit

 

History

History
89 lines (58 loc) · 2.05 KB

index.rst

File metadata and controls

89 lines (58 loc) · 2.05 KB

Hyper: HTTP/2 Client for Python

Release v.

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 HTTP20Connection

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

print(resp.read())

Simple. hyper is written in 100% pure Python, which means no C extensions. For recent versions of Python (3.4 and onward, and 2.7.9 and onward) it's entirely self-contained with no external dependencies.

hyper supports Python 3.4 and Python 2.7.9.

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.

Get Stuck In

The quickstart documentation will help get you going with hyper.

quickstart

Advanced Documentation

More advanced topics are covered here.

advanced CLI

Contributing

Want to contribute? Awesome! This guide goes into detail about how to contribute, and provides guidelines for project contributions.

contributing

Frequently Asked Questions

Got a question? I might have answered it already! Take a look.

faq

API Documentation

The hyper API is documented in these pages.

api