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

Uploaded Python 3

File details

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

File metadata

  • Download URL: toto9-0.1.9.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.5

File hashes

Hashes for toto9-0.1.9.tar.gz
Algorithm Hash digest
SHA256 ac830164fb7d0e4222301aedfc6eb8f93dc74adf8371f69b4530176d7517046c
MD5 1879f965d31ab8a0d323b613ea94d2ea
BLAKE2b-256 050bdb64eaeff648c8bc446276e893640b4a474bc14e6d2b14d15893427020c5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: toto9-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 13.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.5

File hashes

Hashes for toto9-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 a1719a230e9bb557b0dadefdfbb759b2e862c8e12f4456b7e56b6b9581f9f1c9
MD5 4211e8de2cbdcc935fac14d126201567
BLAKE2b-256 c04244cd47f209f1a892cc8dbe6e92262545394e71e0089561ff7681804faf24

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