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
Close
Hashes for pathcache-0.0.3.20221101233900.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15d89cec092a3f8055f95cbdab5cf9e5ad5b3aa0c5a632f03e2573b4948e7d9b |
|
MD5 | 99d3a138245505ae2aa67b14d731f482 |
|
BLAKE2b-256 | 9efd339bacb38c620f3f50898e5dd390f1bd5092011bae7a5c96ac2053ed130f |
Close
Hashes for pathcache-0.0.3.20221101233900-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 339c25a78a5196e3a3f1095906c15c391259e57493e6c15aae4fb9b472b7f73d |
|
MD5 | 017bf95cb49674d120f587707b846b7d |
|
BLAKE2b-256 | db8be66eb2ac0cb8af47a9926c90769d3121c03845f41b7c25219043812bd576 |