Metadata-Version: 2.1
Name: pydrivelist
Version: 0.1.0
Summary: Python Package for Listing Paths to Drive Identifiers
Home-page: https://atmseminar.org/
Author: Nelson Brown, FAA Human Factors, ANG-E25
Author-email: nelson.brown@faa.gov
License: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Operating System :: POSIX :: Linux
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Requires-Python: >=3.6
Description-Content-Type: text/markdown

# 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](https://docs.iterative.ai/PyDrive2/quickstart/#authentication).  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_<really long ID>.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.



