remote_auto_fetch
Fetch something from url if not exists.
GitHub repo: https://github.com/GGN-2015/remote_auto_fetch
Installation
pip install remote-auto-fetch
Usage
from remote_auto_fetch import remote_auto_fetch
# if file at save_path does not exists, download it from url (max_try = 5)
remote_auto_fetch(url, save_path)
# if file at save_path does not exists or has a different md5_hash, download it from url (max_try = 5)
# the upper or lowercase of md5_hash does not matter
remote_auto_fetch(url, save_path, md5_hash)
# change max_try
remote_auto_fetch(url, save_path, max_try=1)
Metadata
Release files for remote-auto-fetch 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| remote_auto_fetch-0.1.5.tar.gz | 4.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| remote_auto_fetch-0.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.6 kB
Release files / remote_auto_fetch-0.1.5.tar.gz
| Download URL | remote_auto_fetch-0.1.5.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
54ea267bf6aaf410076116f5b9609a0362a7d858568802715087e3693878c548
|
|
BLAKE2b-256 checksum How to use checksums |
f425a6e28f1b98e53903eef2ce0b9bcf71adb036297a97129f63d934209c1caf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.13.12 Windows/11
|
Release files / remote_auto_fetch-0.1.5-py3-none-any.whl
| Download URL | remote_auto_fetch-0.1.5-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a9a4644e50be91171a55b02b2b1ae0e3f0de73a05d25fbeb7677410cfc5f16d1
|
|
BLAKE2b-256 checksum How to use checksums |
fa947da948d633e57fcf23ac0d952434368feb3fd10a06cc5350136c10966835
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.13.12 Windows/11
|