Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pathcache-0.0.4.20231206110300.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pathcache-0.0.4.20231206110300-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file pathcache-0.0.4.20231206110300.tar.gz.

File metadata

File hashes

Hashes for pathcache-0.0.4.20231206110300.tar.gz
Algorithm Hash digest
SHA256 a75c2d96c521c35d18ad4341bdb1398aed354133f8cda7618f1ce3815da7ee11
MD5 dcb7741637d812a86c5ecd7203b597ea
BLAKE2b-256 7aa4fb82720f6ed49d1ac16135891973d5ea2bbef37471e27e397f3c6888ae17

See more details on using hashes here.

File details

Details for the file pathcache-0.0.4.20231206110300-py3-none-any.whl.

File metadata

File hashes

Hashes for pathcache-0.0.4.20231206110300-py3-none-any.whl
Algorithm Hash digest
SHA256 ea1a629efdc561359fe5d1d9b518b9fb0b67eb38fb9b36512be020a9cb64f2ad
MD5 9793611749ef813cf049035bc9ec71bc
BLAKE2b-256 194bfa9db0d4f3268ebbcf49a8a552a301d29c55fda462a686266b0f33d206ce

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page