chaostoolkit-gremlin-yy-0.3.2
توضیحات
Chaos Toolkit Gremlin, YY. support
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | chaostoolkit-gremlin-yy-0.3.2 |
| نام | chaostoolkit-gremlin-yy |
| نسخه کتابخانه | 0.3.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | chaostoolkit Team |
| ایمیل نویسنده | 1020828078@qq.com |
| آدرس صفحه اصلی | https://github.com/beingcoder/chaostoolkit-gremlin |
| آدرس اینترنتی | https://pypi.org/project/chaostoolkit-gremlin-yy/ |
| مجوز | Apache License Version 2.0 |
# chaostoolkit-gremlin-yy
[](https://travis-ci.org/chaostoolkit/chaostoolkit-gremlin)
[Gremlin, Inc][gremlin] support for the [Chaos Toolkit][chaostoolkit].
[gremlin]: https://github.com/beingcoder/chaostoolkit-gremlin
[gremlin]: https://www.gremlin.com/
[chaostoolkit]: http://chaostoolkit.org/
## Install
To be used from your experiment, this package must be installed in the Python
environment where [chaostoolkit][] already lives.
[chaostoolkit]: https://github.com/chaostoolkit/chaostoolkit
```
$ pip install chaostoolkit-gremlin-yy
```
## Usage
To use this package, you must create an account with [Gremlin, Inc][gremlin].
Once registered, create a new organisation (formerly known as team). You may
have to ask your Gremlin administrator to do this for you.
Once this is done, you must set the following environmental variables
so the Chaos Toolkit can pick up them:
* `team_id`: the email used to register to Gremlin and associated to that
organisation
* `api_key`: your api key
Note that 2FA is not yet implemented in this package.
Next you need to specify to load those
variables and inject them into this package's activities. At the top of the
experiment file, add the following object under secret:
api_key: api_key_value
team_id: team_id_value
Finally, in all activities where you call a function from this package, make
sure to add the following property:
json
"secrets": ["gremlin"]
## Contribute
If you wish to contribute more functions to this package, you are more than
welcome to do so. Please, fork this project, make your changes following the
usual [PEP 8][pep8] code style, sprinkling with tests and submit a PR for
review.
[pep8]: https://pycodestyle.readthedocs.io/en/latest/
نیازمندی
| مقدار | نام |
|---|---|
| >=0.7.0 | chaostoolkit-lib |
| - | logzero |
| - | requests |
| - | pycodestyle |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.5.* | Python |
نحوه نصب
نصب پکیج whl chaostoolkit-gremlin-yy-0.3.2:
pip install chaostoolkit-gremlin-yy-0.3.2.whl
نصب پکیج tar.gz chaostoolkit-gremlin-yy-0.3.2:
pip install chaostoolkit-gremlin-yy-0.3.2.tar.gz