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 details)
Built Distribution
Dock2-0.1.0-py3-none-any.whl
(3.1 kB
view details)
File details
Details for the file Dock2-0.1.0.tar.gz
.
File metadata
- Download URL: Dock2-0.1.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cea5c40525816e554d98f037d66b2e5738b1b7252aa5266684ab45323aee318 |
|
MD5 | b7b98ea4de7640666f1c29956b24d509 |
|
BLAKE2b-256 | 64c9c97ab0c5995c680645ffb9cd33ddb678b4859a244d4fe4753ad146f2c3b2 |
File details
Details for the file Dock2-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: Dock2-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 312c3db0e65da73d0c5e180f911074ccfb6348e1081e062091ad7d6341ae8958 |
|
MD5 | 28fd7e308247efd3a86b3ef2e4a8f938 |
|
BLAKE2b-256 | 3082ab15528defa2299ef08ba64716dd5a058afadb9e0302cca036d4a5c9d427 |