dock2

command module
v0.0.0-...-28cfa38 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2020 License: MIT Imports: 5 Imported by: 0

README ¶

License Python version

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 into your working directory in order for this to function properly

Supported Drivers

Driver Author Download
H2CS [the-bumble](https://github.com/the-bumble/ 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)

More information regarding utility of the driver can be found here (H2CS Author)

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]

Documentation ¶

Overview ¶

Lightly modified example from: https://github.com/thrawn01/h2c-golang-example

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL