tentaclio-gdrive
A package containing all the dependencies for the gdrive tentaclio schema .
Quick Start
This project comes with a Makefile which is ready to do basic common tasks
$ make help
install Initalise the virtual env installing deps
clean Remove all the unwanted clutter
lock Lock dependencies
update Update dependencies (whole tree)
sync Install dependencies as per the lock file
lint Lint files with flake and mypy
format Run black and isort
test Run unit tests
circleci Validate circleci configuration (needs circleci cli)
Configuring access to google drive.
Google drive support is experimental and should be used at your own risk. Also, due to google drive itself it's rather slow.
-
Get the credentials. First we need a credentials file in order to be able to generate tokens. The easiest way to do this is by going to this example, click on enable drive api. Give the project a name of your choosing (eg
tentaclio). Click onAPIs and services->Credentials->Create credentials-> Create OAuth client ID, selectDesktop appandDownload JSON` -
Generate token file
pipenv install tentaclio && \
pipenv run python -m tentaclio_gdrive google-token generate --credentials-file ~/Downloads/credentials.json
This will open a browser with a google auth page, log in and accept the authorisation request.
The token file has been saved in a default location '~/.tentaclio_google_drive.json'. You can also configure this via the env variable TENTACLIO__GOOGLE_DRIVE_TOKEN_FILE
- Get rid of credentials.json
The
credentials.jsonfile is no longer need, feel free to delete it.
Release files for tentaclio-gdrive 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tentaclio-gdrive-0.0.3.tar.gz | 10.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tentaclio_gdrive-0.0.3-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 20.4 kB
Release files / tentaclio-gdrive-0.0.3.tar.gz
| Download URL | tentaclio-gdrive-0.0.3.tar.gz |
|---|---|
| Size | 10.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cb7fd483465f8f71b3607dca4a0bc817ed377e16fc9dfb6f78145f8d34930f10
|
|
BLAKE2b-256 checksum How to use checksums |
5a9fe2cbd177626bc069cd48d84f23382fe3f12b4d9999b62fbb2c625f804313
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|
Release files / tentaclio_gdrive-0.0.3-py2.py3-none-any.whl
| Download URL | tentaclio_gdrive-0.0.3-py2.py3-none-any.whl |
|---|---|
| Size | 9.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
c99e8d928b08171a206bdebe3330901ab2c94fcd3debb5ee1329ea788d53b7a9
|
|
BLAKE2b-256 checksum How to use checksums |
f028935a4f17707d2f9f8ca7e981e310cefb8b6ab73c4acef81ac0e83796d5a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|