Port details |
- py-requests-cache0 Persistent cache for python requests
- 0.9.8 www
=2 0.9.8Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2023-07-31 16:48:20
- Last Update: 2023-07-31 16:39:46
- Commit Hash: e17e236
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: python
- License: BSD2CLAUSE
- WWW:
- https://requests-cache.readthedocs.io/en/stable/
- https://github.com/requests-cache/requests-cache
- Description:
- requests-cache is a transparent, persistent cache that provides an easy way to
get better performance with the python requests library.
Features:
- Ease of use: Keep using the requests library you're already familiar with. Add
caching with a drop-in replacement for requests.Session, or install globally
to add caching to all requests functions.
- Performance: Get sub-millisecond response times for cached responses. When
they expire, you still save time with conditional requests.
- Persistence: Works with several storage backends including SQLite, Redis,
MongoDB, and DynamoDB; or save responses as plain JSON files, YAML, and more
- Customization: Works out of the box with zero config, but with a robust set of
features for configuring and extending the library to suit your needs
- Expiration: Keep your cache fresh using Cache-Control, eagerly cache
everything for long-term storage, use URL patterns for selective caching, or
any combination of strategies
- Compatibility: Can be combined with other popular libraries based on requests
 ¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}requests-cache0>0:www/py-requests-cache0@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/www/py-requests-cache0/ && make install clean
- To add the package, run one of these commands:
- pkg install www/py-requests-cache0
- pkg install py39-requests-cache0
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-requests-cache0 listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-requests-cache0
- Package flavors (<flavor>: <package>)
- py39: py39-requests-cache0
- distinfo:
- TIMESTAMP = 1688166360
SHA256 (requests_cache-0.9.8.tar.gz) = eaed4eb5fd5c392ba5e7cfa000d4ab96b1d32c1a1620f37aa558c43741ac362b
SIZE (requests_cache-0.9.8.tar.gz) = 1508006
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-poetry-core>=1.0.0 : devel/py-poetry-core@py39
- python3.9 : lang/python39
- py39-build>=0 : devel/py-build@py39
- py39-installer>=0 : devel/py-installer@py39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-appdirs>=1.4.4 : devel/py-appdirs@py39
- py39-attrs>=21.2 : devel/py-attrs@py39
- py39-cattrs>=22.2 : devel/py-cattrs@py39
- py39-requests>=2.22 : www/py-requests@py39
- py39-url-normalize>=1.4 : net/py-url-normalize@py39
- py39-urllib3>=1.25.5,1 : net/py-urllib3@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- biology/py-orange3-bioinformatics
Configuration Options:
- No options to configure
- Options name:
- www_py-requests-cache0
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|