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.7.tar.gz (9.7 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.7-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for toto9-0.1.7.tar.gz
Algorithm Hash digest
SHA256 ff1e99cdba1232e4c0a580973248c4a997f32be3d77f067d219438adff40fe56
MD5 d5308ee6e2779263989593682cd4905c
BLAKE2b-256 22b19741a633dd14b81ba7ef324face0b01340e7b92241e9abd4614d14acbe21

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for toto9-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 502ec254bea4954894c7a426398263d250cf10dcd7c6de6549682b7c8dcba3a6
MD5 b78da18b4ffe176d13b600db44a3797d
BLAKE2b-256 63ddf6c44007c1446c94d192a242fb58e2862b4ab23777c5eb708b1e899726de

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