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.39.tar.gz
(3.3 kB
view details)
Built Distribution
File details
Details for the file cached_url-0.0.39.tar.gz
.
File metadata
- Download URL: cached_url-0.0.39.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e45133432220d4e0d05c57b1c8204969146dd69e7df7aeb2fcaa3ea91d9ab6a |
|
MD5 | d9289ab647cbe44ffc7d0b372289c678 |
|
BLAKE2b-256 | 54348f1a4c8a6b8d1d0390717c1fe7170f0606c51452369fb4dd79acc7d4dafc |
File details
Details for the file cached_url-0.0.39-py3-none-any.whl
.
File metadata
- Download URL: cached_url-0.0.39-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 876452c02fe0cdedb068cd902092c751bc65dfe6119d44f68af97e9ead2967bf |
|
MD5 | 34151d639f2e92acbdf6ee54e460925d |
|
BLAKE2b-256 | c8c21f59d3ac6576a0ee44c624006838eb5a18b1f32ff1c33a0f80375fdf809a |