Main features
d4-pyclient is python implemention of the D4 encapsulation protocol.
It is a low-barrier entry for anyone interested into tinkering with the D4 protocol or embedding a d4 client into another project. It supports both regular types and types defined by meta-header.
Install
pip install d4-pyclient
Launching
./d4_client.py -h
usage: d4_client.py [-h] -c CONFIG [-cc]
optional arguments:
-h, --help show this help message and exit
-c CONFIG, --config CONFIG
config directory
-cc, --check_certificate
check server certificate
Configuration Files
of the client configuration can be stored in folder containing the following files:
- key: your Pre-Shared-Key
- snaplen: default is 4096
- source: stdin or d4server
- destination: stdout, [fe80::ffff:ffff:ffff:a6fb]:4443, 127.0.0.1:4443
- type: D4 packet type, see types
- uuid: generated automatically if empty
- version: protocol version
- rootCA.crt: optional : CA certificate to check the server certificate
- metaheader.json: optional : a json file describing feed's meta-type types
Release files for d4-pyclient 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| d4-pyclient-0.1.7.tar.gz | 5.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| d4_pyclient-0.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.7 kB
Release files / d4-pyclient-0.1.7.tar.gz
| Download URL | d4-pyclient-0.1.7.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2aa799c9f94b32a50a5032c7f666f40d97c67fc2f501c18e6270857bb2da5d71
|
|
BLAKE2b-256 checksum How to use checksums |
b846cb9e9d197509d3bd542093013b2aa3440d0edd0e57a8953e9b2c5fbe2af0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.5 CPython/3.6.9 Linux/5.4.0-120-generic
|
Release files / d4_pyclient-0.1.7-py3-none-any.whl
| Download URL | d4_pyclient-0.1.7-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a175c88d2512d73fdf998879be8a0084f55fc647b0eb6d8fc15886d81e87a4c2
|
|
BLAKE2b-256 checksum How to use checksums |
6d0714766f1f3f50343a828ea51409a0b43ea8e4d65e241db117bba939351266
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.5 CPython/3.6.9 Linux/5.4.0-120-generic
|