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.8.tar.gz
(1.1 MB
view details)
Built Distribution
itkdb-0.2.8-py2.py3-none-any.whl
(18.2 kB
view details)
File details
Details for the file itkdb-0.2.8.tar.gz
.
File metadata
- Download URL: itkdb-0.2.8.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/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14b916e37c67828c5f8f69c0a164afca5e8c2220a2fcb969df4f59ab2ab2a2a8 |
|
MD5 | 7019735a11bd188d3a07b98580800c10 |
|
BLAKE2b-256 | eec93d1c0a4be78933d25a4b07b4aa11f7baddc34c2b66be7626367123ed73da |
File details
Details for the file itkdb-0.2.8-py2.py3-none-any.whl
.
File metadata
- Download URL: itkdb-0.2.8-py2.py3-none-any.whl
- Upload date:
- Size: 18.2 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/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3502d63c88d39930e135b5563d6b3867621f3a32f096a5053563d730faccf00 |
|
MD5 | 6d0c84633ff7f4c7540b633415216540 |
|
BLAKE2b-256 | f86eafa2022938606f876823dc130a65f7407b36cd0c83ee1f32df812a807f7c |