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)
| File | Size | Uploaded | |
|---|---|---|---|
| gdriveresolver-0.0.16.tar.gz | 5.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|