cyberfloodClient-0.0.7
توضیحات
A CyberFlood REST API client
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | cyberfloodClient-0.0.7 |
| نام | cyberfloodClient |
| نسخه کتابخانه | 0.0.7 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Arnaud Castaner |
| ایمیل نویسنده | arnaud.castaner@outlook.com |
| آدرس صفحه اصلی | https://github.com/acastaner/cf-py-cfclient |
| آدرس اینترنتی | https://pypi.org/project/cyberfloodClient/ |
| مجوز | - |
# CyberFlood Python Client
pip package to interact with the [CyberFlood](https://www.spirent.com/products/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](https://github.com/acastaner/cf-py-cfclient/issues) on the Github repository.
## Installation
From pip:
`pip install cyberfloodClient`
Or [download the files](https://pypi.org/project/cyberfloodClient/#files).
## Usage
```python
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.")
```
نحوه نصب
نصب پکیج whl cyberfloodClient-0.0.7:
pip install cyberfloodClient-0.0.7.whl
نصب پکیج tar.gz cyberfloodClient-0.0.7:
pip install cyberfloodClient-0.0.7.tar.gz