Skip to main content

Python Package for Listing Paths to Drive Identifiers

Project description

Drive List Paths

This small script application when run will create a json file of paths in a Google Drive to their associated identifiers. This was primarily created to serve a small set of conference websites with a fair number of PDF files. These conferences use a static site generator, and it was easier to reference links to their paths within the Google drive than by their identifiers.

Installation

This script can be installed via pip: python -m pip install pydrivelist.

The script requires PyDrive2. The Drive API must be enabled in order for this to work with instructutions located at the PyDrive2 documentation. Quoting from the current documentation (as of November 2021):

  1. Go to APIs Console and make your own project.

  2. Search for ‘Google Drive API’, select the entry, and click ‘Enable’.

  3. Select ‘Credentials’ from the left menu, click ‘Create Credentials’, select ‘OAuth client ID’.

  4. Now, the product name and consent screen need to be set -> click ‘Configure consent screen’ and follow the instructions. Once finished:

  5. Select ‘Application type’ to be Web application.

  6. Enter an appropriate name.

  7. Input http://localhost:8080/ for ‘Authorized redirect URIs’.

  8. Click ‘Create’.

  9. Click ‘Download JSON’ on the right side of Client ID to download client_secret_.json.

  10. The downloaded file has all authentication information of your application. Rename the file to “client_secrets.json” and place it in your working directory.

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

pydrivelist-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distributions

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

pydrivelist-0.1.0-py3.6.egg (5.9 kB view details)

Uploaded Egg

pydrivelist-0.1.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file pydrivelist-0.1.0.tar.gz.

File metadata

  • Download URL: pydrivelist-0.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.0.1 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.9

File hashes

Hashes for pydrivelist-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a80b34945a4c833aaec83ddb1747d9b7940cf061a5e0239d0f07b8357cc93955
MD5 7143d54aa103436b2753cc8159e56675
BLAKE2b-256 578d4d0237a9bb59c3189bf3541372ce7e66d0a4726db71208e99cb808fd766f

See more details on using hashes here.

File details

Details for the file pydrivelist-0.1.0-py3.6.egg.

File metadata

  • Download URL: pydrivelist-0.1.0-py3.6.egg
  • Upload date:
  • Size: 5.9 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.0.1 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.9

File hashes

Hashes for pydrivelist-0.1.0-py3.6.egg
Algorithm Hash digest
SHA256 e958ef2262483fc36974cc8517ccb284bf72ed5e8180d6f20ecdf4b692e98bc9
MD5 f943ab6860ee3cac2e824bb523f2e7e7
BLAKE2b-256 bc25f7a33b9edcd2ca981f91ac8b4f4f90761e235475fe1f97674c2e7f4e50d5

See more details on using hashes here.

File details

Details for the file pydrivelist-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pydrivelist-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.0.1 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.9

File hashes

Hashes for pydrivelist-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 36715e6ce7b2cf5c3d66418810922d93ea4b3f8b3837852d56bec46d981b69c3
MD5 7d202bb0ecb24021d25c6ece4f87fe13
BLAKE2b-256 4fdccf964fbf0b263df4a3153f85571cfeb18bbc4fd8063d5d1c96916694ec77

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