Skip to main content

A CyberFlood REST API client

Project description

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

Or download the files.

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.")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cyberfloodClient-0.0.7.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cyberfloodClient-0.0.7-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file cyberfloodClient-0.0.7.tar.gz.

File metadata

  • Download URL: cyberfloodClient-0.0.7.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for cyberfloodClient-0.0.7.tar.gz
Algorithm Hash digest
SHA256 25c761452122d4e32e5d8216e9601b8f42aa198c11c59896e6c8f2b7f731c771
MD5 c49a5e02479551fd97836f0508b5d5a3
BLAKE2b-256 52d608aa336333ada4a34d187fd508583f7ca17b78af1585a7b641107a7c1ef9

See more details on using hashes here.

File details

Details for the file cyberfloodClient-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: cyberfloodClient-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for cyberfloodClient-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 8b62ce67727e6886d8a838105b23e58b25c1f164d927de2c7347b23cea795fa4
MD5 17c113233685e73a729febd59b8fadcb
BLAKE2b-256 3e392a540ed986d9231fe784f9d02287e99d48de979eb4975cfbe4e30e682be5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page