Skip to main content

Library and cli to manage and interact with your Google Drive

Project description

# google drive python cli

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

## :bookmark_tabs: Table of Contents

0. [Introduction](#introduction) 0. [Obtaining credentials for Google APIs](#wrench-obtaining-credentials-for-google-apis) 0. [Contributing](#family-contributing) 0. [License](#page_with_curl-license)

# Introduction [![Build Status](https://travis-ci.org/eduardogr/google-drive-python.svg?branch=main)](https://travis-ci.org/github/eduardogr/google-drive-python) [![codecov](https://codecov.io/gh/eduardogr/google-drive-python/branch/main/graph/badge.svg?token=E183Y3LLXX)](https://codecov.io/gh/eduardogr/google-drive-python) [![Python](https://img.shields.io/badge/Python-v3.6%2B-blue)]() [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](CONTRIBUTING.md) [![GitHub license](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/eduardogr/google-drive-python/blob/main/LICENSE)

## :wrench: Obtaining credentials for Google APIs

### Google API credentials

#### Create a Google project :zap:

Just access to [Google APIs](https://console.developers.google.com/).

#### 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](https://console.developers.google.com/apis/credentials) within [Google APIs](https://console.developers.google.com/). But if this is your first credentials creation you better follow these steps:

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](./google-apis-usage.md)

#### 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](.gitignore)

angel:

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

## :family: Contributing

[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](CONTRIBUTING.md)

Contributions are welcome! Please see our [Contributing Guide](<CONTRIBUTING.md>) for more details.

You can visit our [TODO](TODO.md) list :)

## :page_with_curl: License

This project is licensed under the [Apache license](https://github.com/eduardogr/google-drive-python/blob/main/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.2.0.tar.gz (8.9 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.2.0-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: google-drive-0.2.0.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.6.9

File hashes

Hashes for google-drive-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5c67b74b1758b3f1523d2b2749ca3072bbf8ffb15b1d3012d9a634d80b8a7e63
MD5 3450bdb1d0de6585749a4d576470343e
BLAKE2b-256 c0ed501e483e42da4ce6f70e9889d2be3e0b7dcc61e20b7377a543b727d9498c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: google_drive-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 11.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.6.9

File hashes

Hashes for google_drive-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 feaed81fefb8131093f988f8c94024936f133c93a5c7056322bf5e87fd92524e
MD5 c2c9a5b87cc5e46bb2fc336d9e6264c7
BLAKE2b-256 0102910884d50a4f32f9073c9fbd728db784f8011146067f0e132f33380b24e4

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