collins-client-1.0.0
توضیحات
The python interface to the collins api.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | collins-client-1.0.0 |
| نام | collins-client |
| نسخه کتابخانه | 1.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Tumblr Inc. |
| ایمیل نویسنده | opensourcesoftware@tumblr.com |
| آدرس صفحه اصلی | https://github.com/tumblr/collins/tree/master/support/python/collins_client |
| آدرس اینترنتی | https://pypi.org/project/collins-client/ |
| مجوز | - |
To install this package:
> python3 -m pip install collins-client
To use this package:
> import collins_client
> client = collins_client.CollinsClient(<username>, <password>, <host>)
From there you can make any of the calls needed for the functionality of the collins api.
When dealing with multiple attributes, you should be able to pass a list of values.
Say you want to find assets with a certain hostname and a primary role.
> client.asset_finder({'attribute': ['HOSTNAME;example.tumblr.net', 'PRIMARY_ROLE;TUMBLR_APP']})
نیازمندی
| مقدار | نام |
|---|---|
| ==0.2.0 | grequests |
نحوه نصب
نصب پکیج whl collins-client-1.0.0:
pip install collins-client-1.0.0.whl
نصب پکیج tar.gz collins-client-1.0.0:
pip install collins-client-1.0.0.tar.gz