Skip to main content

Command line file Browser for Google Drive

Project description

Tests PyPi version

PyDriveBrowser

PyDriveBrowser is a simple Command Line Interface to browse through Google Drive.

It is based on PyDrive2 and Pick.

Installation

Install PyDriveBrowser using pip:

pip install pydrivebrowser

To setup credentials (OAuth 2.0 Client IDs or Service Account credentials) check out the documentation of PyDrive2.

Demo

demo gif

from cli_browser import CliBrowser

c = CliBrowser()
url = 'https://drive.google.com/drive/folders/1APzr67aMpXSkcMNlA0rWaJHvMoXwb9o8?usp=sharing'
f = c.select_file(url)
print(f'selected file: {f["title"]}')

Usage

Simply pass a google drive url to CliBrowser.select_file() and get a GoogleDriveFile back. For more information about the google drive files and authentication, consult PyDrive2's documentation.

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

PyDriveBrowser-0.1.7.tar.gz (4.3 kB view details)

Uploaded Source

File details

Details for the file PyDriveBrowser-0.1.7.tar.gz.

File metadata

  • Download URL: PyDriveBrowser-0.1.7.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.10

File hashes

Hashes for PyDriveBrowser-0.1.7.tar.gz
Algorithm Hash digest
SHA256 c76e3665097fe44c2cc11aabdcb0a93b37398a8588fb8081c4cc5fe7e2ba2f34
MD5 fb5f209b4ffb8bd28b76762798164435
BLAKE2b-256 b1502e3b1c1d2bd5818aac2937849b4b9345c3f9c8b60ef507f9665867eaeca8

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