A collection of scripts to easily use the API of OCD Datalake
Project description
____ _ _ _ ____ _ _
| _ \ __ _| |_ __ _| | __ _| | _____ / ___| ___ _ __(_)_ __ | |_ ___
| | | |/ _` | __/ _` | |/ _` | |/ / _ \ \___ \ / __| '__| | '_ \| __/ __|
| |_| | (_| | || (_| | | (_| | < __/ ___) | (__| | | | |_) | |_\__ \
|____/ \__,_|\__\__,_|_|\__,_|_|\_\___| |____/ \___|_| |_| .__/ \__|___/
|_|
datalake
Datalake scripts
How to use
Installation
With Python 3.6+:
$ pip install datalake-scripts
Using a script
The cli can be used with:
$ ocd-dtl <command> <parameter>
Check ocd-dtl -h
for help, including the list of commands available.
You can also use a script directly by using the following command: <script_name> <script_options>
.
/!\ Make sure to use utf-8 without BOM when providing a file (-i option)
Environment variables
Throttling
For throttling the request, those two environment variable can be used:
OCD_DTL_QUOTA_TIME
define, in seconds, the time before resetting the requests limit, default is 1 second.OCD_DTL_REQUESTS_PER_QUOTA_TIME
define the number of request to do at maximum for the given time, default is 5 queries
Please don't exceed the quota marked here for each endpoint
More documentation
Please check the documentation directory
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
datalake-scripts-0.1.2.tar.gz
(12.4 kB
view hashes)
Built Distribution
Close
Hashes for datalake_scripts-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a30b3d67b8a4ed6e21022c6f1d4995edc0d2dcf5a4d5c9333b80952f66c0373 |
|
MD5 | 27b8a28bbf515d37dbb16da3289e6ca1 |
|
BLAKE2b-256 | 37026764d6f98b2ecbf9b04e7621e29d1898ca8c2355d10ade8e56723a2cf7fa |