Skip to main content

Library and cli to manage and interact with your Google Drive

Project description

google drive python


Library and cli to manage and interact with your Google Drive, sheets and docs

:bookmark_tabs: Table of Contents

  1. Introduction
  2. Obtaining credentials for Google APIs
  3. Contributing
  4. License

Introduction

Build Status codecov Python PRs Welcome GitHub license

:wrench: Obtaining credentials for Google APIs

Google API credentials

Create a Google project :zap:

Just access to Google APIs.

Create credentials for your project :key:

Once you have created your project, you can create your project's credentials.

To manage project's credentials you have the section api/credentials within Google APIs. But if this is your first credentials creation you better follow these steps:

  • First, you have to create the consent for your project
  • Once the consent is already created and you have a name for you google app you can create your credentials:
    • Go to + Create Credentials and select OAuth ID client
    • Or access to api/credentials/oauthclient
    • The OAuth client type is other and choose the name you prefer :smiley:

You have already created your credentials! :fireworks:

Just place them in a credentials.json file in the root of this repository. :heavy_exclamation_mark::heavy_exclamation_mark:

Enable Google APIs :books:

You can see where you have to access for each google api in the doc google apis usage

Generating your token.pickle :unlock:

To authenticate us we have to send a token.pickle to Google APIs, this token.pickle is generated using the file credentials.json.

To generate this we have the make target google-auth, so, you just have to tun

  • make google-auth

:warning: Credentials files to authenticate yourself are included in our .gitignore

:angel: So, you don't have to worry about that :smiley:

:family: Contributing

PRs Welcome

Contributions are welcome! Please see our Contributing Guide for more details.

You can visit our TODO list :)

:page_with_curl: License

This project is licensed under the Apache license.

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

google-drive-0.3.3.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

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

google_drive-0.3.3-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

Details for the file google-drive-0.3.3.tar.gz.

File metadata

  • Download URL: google-drive-0.3.3.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.22.0 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/18.0.1 rfc3986/2.0.0 colorama/0.4.3 CPython/3.8.10

File hashes

Hashes for google-drive-0.3.3.tar.gz
Algorithm Hash digest
SHA256 e2720b0a1bf9032d60febb8a2c5be400847e2b74c0801acff12e53129e9136ee
MD5 940c5dcb4f380d0a54fa16abcfd8d4ab
BLAKE2b-256 17cf5ba108b0542e419ea4ec7c19b9c71afa6f2ef4b7c296c5362786d25b2fd1

See more details on using hashes here.

File details

Details for the file google_drive-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: google_drive-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 13.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.22.0 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/18.0.1 rfc3986/2.0.0 colorama/0.4.3 CPython/3.8.10

File hashes

Hashes for google_drive-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a6cac5b87be4a9a41b05254eebf63f9b752ec5986b03e1de4e558553a37e45cf
MD5 3d72380a3bfa2c0005f0e1b1d5d6caea
BLAKE2b-256 29a7814dcfe28256051f9c6ab0d6549272a5e8aa97b8211543b393ac3629e0ac

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