CyberFlood Python Client
pip package to interact with the CyberFlood REST API.
Note that this is still a work in progress and not all actions of the API are implemented yet (far from it, in fact). If you need a missing action to be implemented, please create a ticket on the Github repository.
Installation
From pip:
pip install cyberfloodClient
Usage
import cyberfloodClient
print("Checking for connectivity & credentials...", end=" ")
cfClient = cyberfloodClient.CfClient["userName", "password", "controllerAddress"]
cfClient.generateToken()
if cfClient.isLogged():
print("success! [" + cfClient.userName + "]")
else:
print("error! Please check your configuration.")
Metadata
Release files for cyberfloodClient 0.0.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 | |
|---|---|---|---|
| cyberfloodClient-0.0.7.tar.gz | 3.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cyberfloodClient-0.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.6 kB
Release files / cyberfloodClient-0.0.7.tar.gz
| Download URL | cyberfloodClient-0.0.7.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
25c761452122d4e32e5d8216e9601b8f42aa198c11c59896e6c8f2b7f731c771
|
|
BLAKE2b-256 checksum How to use checksums |
52d608aa336333ada4a34d187fd508583f7ca17b78af1585a7b641107a7c1ef9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.1
|
Release files / cyberfloodClient-0.0.7-py3-none-any.whl
| Download URL | cyberfloodClient-0.0.7-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8b62ce67727e6886d8a838105b23e58b25c1f164d927de2c7347b23cea795fa4
|
|
BLAKE2b-256 checksum How to use checksums |
3e392a540ed986d9231fe784f9d02287e99d48de979eb4975cfbe4e30e682be5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.1
|