Skip to main content

gdrive_resolver

Different systems may mount Google Drive to different locations. This package automatically finds the mounted Google Drive directory so that it can resolve Google Drive relative paths to absolute system paths.

Example Usage:

from gdriveresolver import GDriveResolver

gdrive_resolver = GDriveResolver()
absolute_path: str = gdrive_resolver.resolve('my/path/in/google/drive/myfile.txt')

Troubleshooting

If GoogleDriveResolver cannot resolve your Google Drive path, it may not be searching at a sufficient depth. You can increase the depth by passing the max_depth parameter to the constructor.

from gdriveresolver import GDriveResolver

absolute_path = GDriveResolver(max_depth=10).resolve('my/path/in/google/drive/myfile.txt')
print(absolute_path)

If it still cannot resolve your path, please ensure that your Google Drive is mounted, accessible, and that it is called "Google Drive" or "GoogleDrive" in your system.

Metadata

Release files for gdriveresolver 0.0.16

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gdriveresolver 0.0.16
File Size Uploaded
gdriveresolver-0.0.16.tar.gz 5.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gdriveresolver 0.0.16
File Interpreter ABI Platform
gdriveresolver-0.0.16-py3-none-any.whl Python 3 none any Details

Total release size: 12.1 kB

Release files / gdriveresolver-0.0.16.tar.gz

Download URL gdriveresolver-0.0.16.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f9f6b7cdbc1d1d11640b190b24bdaa261b467af0aef83c0e2398e68b61cfdbb3
BLAKE2b-256 checksum
How to use checksums
678db8d771a63317e774a3abdf78b8bae2413c499ec671856bd50433e76e61b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.3

Release files / gdriveresolver-0.0.16-py3-none-any.whl

Download URL gdriveresolver-0.0.16-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
05fa4bb0da8ffcf2aa48ca2eb80fc4a337f8eaa300053a9bad9128956945b2a9
BLAKE2b-256 checksum
How to use checksums
94295cea4b5f36ec2152a959f8a82474752b4caafa418764c937f28cbe03ce33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.0.16 This release

2 release files

0.0.15

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page