Skip to main content

A utility to watch changes in a google drive folder.

Project description

gdrive-watcher is a library for watching file updates to a google drive folder.

Set the environment variable for your google service account:

export GOOGLE_APPLICATION_CREDENTIALS=".json"

In the service account JSON file, look for "client_email". Add this email address to the folder you like to watch, or its parent folder.

Example usage:

python -m gdrive_watcher

or for debugging,

python gdrive_watcher/poll.py 

Note: there may be a timing issue if your timezone is different from the timezone of your google drive account.

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

gdrive-watcher-0.1.2.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

gdrive_watcher-0.1.2-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file gdrive-watcher-0.1.2.tar.gz.

File metadata

  • Download URL: gdrive-watcher-0.1.2.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for gdrive-watcher-0.1.2.tar.gz
Algorithm Hash digest
SHA256 c77f5b5a79702a79bf3dc01d49aabe788e23f4e43b0aa329bfd9be42d3474c74
MD5 454c20cda2fbcbcbeb11c55af49f5818
BLAKE2b-256 5dedfb7dfc3857220b2adc66d490bb8da6dd28bd845c4c67f74473bdd21ff160

See more details on using hashes here.

File details

Details for the file gdrive_watcher-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for gdrive_watcher-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 756d99a600b4d8bf60fe259bd7703b5c2fefa9d69c94eeb54c5a53a81d0773fa
MD5 1d7774d67d6e16ab728c5dcbf32acf09
BLAKE2b-256 25254f5f9a5cc304277dd619f7ce2026c064a11502f9b227f3cdbdddf8e15fc3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page