Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for bitgrit-cloud, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size bitgrit_cloud-0.0.1-py3-none-any.whl (20.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size bitgrit-cloud-0.0.1.tar.gz (6.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page