Skip to main content

Low-level HTTP/2 client library based on scapy for tinkering with HTTP/2 connections

Project description


H2Tinker is a minimalistic low-level HTTP/2 client implementation in Python.

It is based on scapy and also enables directly sending scapy-crafted frames. On top of scapy, h2tinker provides

  • HTTP/2 connection setup and management,
  • TCP and TLS connection setup and management,
  • a user-friendly documented and typed API for creating different frames and requests,
  • documentation and examples on how different attacks can be implemented.


See Examples to get started.


h2tinker is available in the Python Package Index and can be installed with pip:

pip3 install h2tinker

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

h2tinker-0.3.tar.gz (6.0 kB view hashes)

Uploaded source

Built Distribution

h2tinker-0.3-py3-none-any.whl (8.9 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page