Python wrapper to interface with ITk DB.
Project description
ITk DB
To install as a user
pip install itkdb
or if you wish to develop/contribute
git clone ...
pip install -e .[develop]
or
git clone ...
pip install -e .[complete]
Using
Command line available via
itkdb --help
Environment Variables
See itkdb/settings/base.py for all environment variables that can be set. All environment variables for this package are prefixed with ITKDB_
. As of now, there are:
ITKDB_ACCESS_CODE1
: access code #1 for authenticationITKDB_ACCESS_CODE2
: access code #2 for authenticationITKDB_AUTH_URL
: authentication serverITKDB_SITE_URL
: API serverITKDB_CASSETTE_LIBRARY_DIR
: for tests, where to store recorded requests/responses
Develop
Bump Version
Run bumpversion x.y.z
to bump to the next version. We will always tag any version we bump, and this creates the relevant commits/tags for you. All you need to do is git push --tags
and that should be it.
Examples
import itkdb
client = itkdb.Client()
comps = client.get(
'listComponents', json={'project': 'P', 'pageInfo': {'pageSize': 32}}
)
for i, comp in enumerate(comps):
print(i, comp['code'])
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
itkdb-0.2.7.tar.gz
(1.1 MB
view details)
Built Distribution
itkdb-0.2.7-py2.py3-none-any.whl
(13.0 kB
view details)
File details
Details for the file itkdb-0.2.7.tar.gz
.
File metadata
- Download URL: itkdb-0.2.7.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d10b015bd973ffa72c9508e226cd74abd180b3e4ea8cf7e6cb88580e11fb617 |
|
MD5 | 9086b208c065416fccf74277ec0d1d83 |
|
BLAKE2b-256 | 91c25cba536f5cc27ca27a0f8a3000c74d7c4e2b145469457be597542662a045 |
File details
Details for the file itkdb-0.2.7-py2.py3-none-any.whl
.
File metadata
- Download URL: itkdb-0.2.7-py2.py3-none-any.whl
- Upload date:
- Size: 13.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58a2444e0b0ddcbc05e32d9846b8e9b94152c1b20f038d482ddd0b633999d4f4 |
|
MD5 | 88e1ea92e42edbd0572d0e2edc2b3c39 |
|
BLAKE2b-256 | 2e137783eba5a93df6cdd65c8447a5d09715e615fbdadf833bfa71305784da09 |