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.34.tar.gz
(2.4 kB
view details)
Built Distribution
File details
Details for the file cached_url-0.0.34.tar.gz
.
File metadata
- Download URL: cached_url-0.0.34.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d321a440f4ac764dfee6c2dc4ef0053f03b64f890bf90e099176bb2a40dd7ad |
|
MD5 | e3666181a96627d22f0e04f24adc23fe |
|
BLAKE2b-256 | 8b71b35d153490f203ec8fd136799966a010593f103d15479e019338cfdc8fef |
File details
Details for the file cached_url-0.0.34-py3-none-any.whl
.
File metadata
- Download URL: cached_url-0.0.34-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 351c2b412d1ec28a6bb57b81d8f1978107d56977121869c5e3944ea8c8c7adf7 |
|
MD5 | 0938aaaa7ac6f9d19b2f37ae79b0bc6a |
|
BLAKE2b-256 | 446f5eeffa91434f56464ff9f4f11648da72a302815845c9740dc59f998a9692 |