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.

Source Distribution

bitgrit-cloud-0.0.1.tar.gz (6.2 kB view hashes)

Uploaded Source

Built Distribution

bitgrit_cloud-0.0.1-py3-none-any.whl (20.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page