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
collins_client-1.0.0.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for collins_client-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e948717605082c2886bc8ef930f6daf9400b3b6f0ed732bcc9f0293273eaf95 |
|
MD5 | 919e767035393fc5963db820f2a36d5e |
|
BLAKE2b-256 | 11213bc35c74984a0ff7e10da7cf261b5525e665f0ed5def5d846d0cee798eba |