Cache file using path
Project description
When using remote files, using the remote path will be slow, but you do not want to manually download to the local. You can use this library to automatically download management cache files, but still use the original remote path.
For example:
from pathcache import pathcachestr as pc
open(pc(r"/mnt/smb_01/xxx/yy/z.txt"))
This will create ./_pathcache/mnt/smb_01/xxx/yy/z.txt copy from /mnt/smb_01/xxx/yy/z.txt
Actully, the argument to the open() is str absolute path of "./_pathcache/mnt/smb_01/xxx/yy/z.txt"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pathcache-0.0.5.20231206134700.tar.gz.
File metadata
- Download URL: pathcache-0.0.5.20231206134700.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
695ac674535ae3393cb9de93867af4120f7e0e0eb39427bae4dc0a928032196c
|
|
| MD5 |
262518875a4e53979cab4cbc086f87a0
|
|
| BLAKE2b-256 |
9e7c7d16558abc3d465adfb4b179ea87d729326a7258905d4b413cfebc3c947a
|
File details
Details for the file pathcache-0.0.5.20231206134700-py3-none-any.whl.
File metadata
- Download URL: pathcache-0.0.5.20231206134700-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
227129e17a388aaad5d56af41fcbcc6b067a0b5e844f2f2b900665795d4d6870
|
|
| MD5 |
ad0b8fc505cbd09fef3a1fc97b0a450c
|
|
| BLAKE2b-256 |
14686b794019955522e44b74b7bd80443013f339fa43f0625a6b99b42c8f5ac1
|