Skip to main content

The missing GCP Python Client Library

Project description

Toto9 - The Missing GCP Python Client

The Google Python Client Library is missing stuff! This package fills in the gaps.

Installation

Development Environment

Run pip install -e . from the root level of this repository. This symlinks the package so that source files are available as soon as they are updated.

Development

  • export GOOGLE_APPLICATION_CREDENTIALS=PATH_TO_YOUR_CREDENTIALS_FILE
  • export GOOGLE_PROJECT_ID=YOUR_PROJECT_ID (for tests)
  • virtualenv -p python3 venv
  • source venv/bin/activate
  • pip install -r requirements.txt
  • pip install -e .

All Other Environments

pip install toto9

Usage

Authentication

Set the GOOGLE_APPLICATION_CREDENTIALS environment variable to the path of your credentials. Alternatively, pass in the path to your credentials and list of scopes to the service classes with credentials_path and scopes kwargs.

Contributing

  • Create an issue in gitlab
  • Write the code
  • Write tests, make sure they are meaningful and pass
  • Submit MR against issue
  • Merge

References

Test

You should test your modules! Tests are in the tests directory. Name your file test_*.py so the unittest module will pick it up.

Documentation

Update documentation in docs/source and then run make html from the docs directory.

Setup and Run

export GOOGLE_PROJECT_ID=YOUR_PROJECT_ID export GOOGLE_APPLICATION_CREDENTIALS=PATH_TO_YOUR_CREDENTIALS_FILE

Run all tests with python -m unittest.

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

toto9-0.1.8.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

toto9-0.1.8-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

Details for the file toto9-0.1.8.tar.gz.

File metadata

  • Download URL: toto9-0.1.8.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for toto9-0.1.8.tar.gz
Algorithm Hash digest
SHA256 235b0c495ab6f37cb303919ae6a4d791abd56482f27d69370229ac19a431d3db
MD5 5fd855a47692a0bbc4977bc1f6d53b5b
BLAKE2b-256 fa1fe4b64611d68579b68b7be9f67360c2ab202f1b3ad70908022500a54fca10

See more details on using hashes here.

File details

Details for the file toto9-0.1.8-py3-none-any.whl.

File metadata

File hashes

Hashes for toto9-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 cbbec277ba8e6cfd2e5db72d9d4f0c4274bebff73eaaa952d540f18c910663ef
MD5 9c3788d6d98f426e635703ae7303bf4c
BLAKE2b-256 6997de98ddd7e6ca2e215ebf0186e5b15a368827cd3daa0217b73545e86fbee4

See more details on using hashes here.

Supported by

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