Metadata-Version: 2.1
Name: gdriveresolver
Version: 0.0.3
Summary: A package that helps resolve relative Google Drive paths to absolute system paths that refer to the Google drive mount location.
Author-email: C Harman <charman@netrias.com>
Project-URL: Homepage, https://github.com/netrias/gdrive_resolver
Project-URL: Issues, https://github.com/netrias/gdrive_resolver/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE

# 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:

```python
from gdriveresolver import GoogleDriveResolver

gdrive_resolver = GoogleDriveResolver()
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.

```python
from gdriveresolver import GoogleDriveResolver

absolute_path = GoogleDriveResolver(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.
