Skip to main content

Simple wrapper for interacting with h2cs drivers (HTTP2 ClearText)

Project description

Dock2

This is a simple wrapper for interacting with h2cs drivers (HTTP2 ClearText)

Installation

Run the following to install:

pip install Dock2

You need to download the h2cs driver in order for this to work.

Supported Drivers

Driver Download
H2CS Download

Usage

import Dock2

#  Upgrade function
result = Dock2.upgrade('www.example.com', 'driver.py')
print(result)

# Do anything else, pass arguments h2cs returns byte string
 result =  Dock2.cmd('-x https://edgeserver -i dirs.txt http://localhost/', 'driver')
 print(result)

Developing Dock2

To install Dock2, along with all the tools you need to develop and run tests, run the following in your virtualenv:

$ pip install -e .[dev]

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

Dock2-0.1.0.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

Dock2-0.1.0-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

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