The python interface to the collins api.
Project description
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’]})
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file collins_client-1.0.0.tar.gz
.
File metadata
- Download URL: collins_client-1.0.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13738f2c48056542f0c16bafa2d139a152643611b4acf78bde68acd9323da6c6 |
|
MD5 | 2b6286514e9b9e0d7542d01f93f811a2 |
|
BLAKE2b-256 | ed624819d6c7c2b165b835dfd34a74b37f20f5edd8229d26134b66be86f69f26 |
File details
Details for the file collins_client-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: collins_client-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e948717605082c2886bc8ef930f6daf9400b3b6f0ed732bcc9f0293273eaf95 |
|
MD5 | 919e767035393fc5963db820f2a36d5e |
|
BLAKE2b-256 | 11213bc35c74984a0ff7e10da7cf261b5525e665f0ed5def5d846d0cee798eba |