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’]})
Release files for collins-client 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| collins_client-1.0.0.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| collins_client-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.5 kB
Release files / collins_client-1.0.0.tar.gz
| Download URL | collins_client-1.0.0.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
13738f2c48056542f0c16bafa2d139a152643611b4acf78bde68acd9323da6c6
|
|
BLAKE2b-256 checksum How to use checksums |
ed624819d6c7c2b165b835dfd34a74b37f20f5edd8229d26134b66be86f69f26
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / collins_client-1.0.0-py3-none-any.whl
| Download URL | collins_client-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1e948717605082c2886bc8ef930f6daf9400b3b6f0ed732bcc9f0293273eaf95
|
|
BLAKE2b-256 checksum How to use checksums |
11213bc35c74984a0ff7e10da7cf261b5525e665f0ed5def5d846d0cee798eba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|