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 [](https://travis-ci.org/github/eduardogr/google-drive-python) [](https://codecov.io/gh/eduardogr/google-drive-python) []() [](CONTRIBUTING.md) [](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/).
Or [click here](https://console.developers.google.com/projectcreate) for a quick project creation.
#### 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:
First, you have to create the [consent](https://console.developers.google.com/apis/credentials/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](https://console.developers.google.com/apis/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](./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
[](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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c67b74b1758b3f1523d2b2749ca3072bbf8ffb15b1d3012d9a634d80b8a7e63
|
|
| MD5 |
3450bdb1d0de6585749a4d576470343e
|
|
| BLAKE2b-256 |
c0ed501e483e42da4ce6f70e9889d2be3e0b7dcc61e20b7377a543b727d9498c
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
feaed81fefb8131093f988f8c94024936f133c93a5c7056322bf5e87fd92524e
|
|
| MD5 |
c2c9a5b87cc5e46bb2fc336d9e6264c7
|
|
| BLAKE2b-256 |
0102910884d50a4f32f9073c9fbd728db784f8011146067f0e132f33380b24e4
|