Installation
pip install toucan_client
Usage
# Initialize client
auth = ('<username>', '<password>')
client = ToucanClient('https://api.some.project.com/my_small_app', auth=auth)
# Retrieve ETL config
etl_config = client.config.etl.get() # -> GET 'https://api.some.project.com/config/etl'
client.config.etl.get(stage='staging') # -> GET 'https://api.some.project.com/config/etl?stage=staging'
# Operations control, start a preprocess
client.data.preprocess.post(stage='staging', json={'async': True})
# Operations control, release to prod
client.data.release.post(stage='staging')
Development
You need to install poetry either globally or in a virtualenv.
Then run make install
Metadata
Release files for toucan-client 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| toucan_client-1.1.2.tar.gz | 3.1 kB | Without provenance | Details for toucan_client-1.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| toucan_client-1.1.2-py3-none-any.whl | Python 3 | none | any | Details for toucan_client-1.1.2-py3-none-any.whl |
Total release size: 6.0 kB
Release files / toucan_client-1.1.2.tar.gz
| Download URL | toucan_client-1.1.2.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e604dc04140b84cf9b3ed879b19580b5b6342c6eaffbe5e49df2b8e113edb6c0
|
|
BLAKE2b-256 checksum How to use checksums |
159d7555bbf6b291d52484cd8b17077a1fd4705c307158b932006be115b59fb4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.10.4 Linux/5.13.0-1021-azure
|
Release files / toucan_client-1.1.2-py3-none-any.whl
| Download URL | toucan_client-1.1.2-py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
35edf56289e4e74ef5ccfedc0a1f51b6cb51678cbd58adcf5150f58d12312fd5
|
|
BLAKE2b-256 checksum How to use checksums |
ea03b327d21fbcb00fa0aeb52367b769370ddd230969eb6d6613932c7863758b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.10.4 Linux/5.13.0-1021-azure
|
Security for toucan-client 1.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.