Library for get url content (cached when testing).
Project description
cached_url
Library to fetch url, read from cache when testing.
usage
import cached_url
content = cached_url.get(webpage_url, ttl=10)
how to install
pip3 install cached_url
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
cached_url-0.0.35.tar.gz
(3.2 kB
view details)
Built Distribution
File details
Details for the file cached_url-0.0.35.tar.gz
.
File metadata
- Download URL: cached_url-0.0.35.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f693759e3805b835aaf355e0ada7500844f36d4e08b9e3d2a583ac9361d0a80f |
|
MD5 | 5ba9f2d4d0a3769476e5103e1da63d41 |
|
BLAKE2b-256 | f877adb04f81dd0edbfece940fa900a4cd0485d99bccf92c46d9f779fa335e9f |
File details
Details for the file cached_url-0.0.35-py3-none-any.whl
.
File metadata
- Download URL: cached_url-0.0.35-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 897a338900c4b8affe6e75adf679f8d45b7e522b6fcfe60379f31d8f47106405 |
|
MD5 | d699edeacc4ea1e9f39f06cdde107ffd |
|
BLAKE2b-256 | c62d2c8027b4556a540f10ac7bd40813d029bca1031541cc9a46e17a079d2df0 |