Library to interact with our cloud service
Project description
bitgrit-cloud
Library to interact with our cloud service(GCP)
Run tests inside a docker container
docker-compose run test
Build inside a docker container
docker-compose run build
Note: look inside
./dist/
folder to see the latest build.whl
file.
How to setup the Library:
Install Dependencies/Packages:
Run this command:
pip install -r requirements.txt
Import the Library:
from dsn.bitgrit.gcp.dataset_api import DatasetAPI
from dsn.bitgrit.datasets.dataset import DatasetType
To checkout documentation:
pydoc dataset
To set the environment variable
export GOOGLE_APPLICATION_CREDENTIALS="$PWD/settings.json"
To run the test
python -m unittest
To package the library
python -m pip install --user --upgrade setuptools wheel
python setup.py sdist bdist_wheel
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
bitgrit-cloud-0.0.1.tar.gz
(6.2 kB
view hashes)
Built Distribution
Close
Hashes for bitgrit_cloud-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ccb7f078c268b140c5e9f9839ea5636406e2ef32bdaab26a9ed9a412fffbfdb |
|
MD5 | 130c911b627697cccd25ab79af0bc897 |
|
BLAKE2b-256 | 6a02cbcb8792fee26f722681e4035f19396484480b39e9ac53e7fd796d071325 |