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
Release history Release notifications | RSS feed
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)
Built Distribution
Dock2-0.1.0-py3-none-any.whl
(3.1 kB
view hashes)