Port details on branch 2022Q2 |
- py-requests-cache Persistent cache for python requests
- 1.2.0 www =0 1.2.0Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2017-10-26 11:34:09
- Last Update: 2024-03-09 14:06:21
- Commit Hash: b3b62ba
- 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-cache>0:www/py-requests-cache@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/www/py-requests-cache/ && make install clean
- To add the package, run one of these commands:
- pkg install www/py-requests-cache
- pkg install py39-requests-cache
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-cache listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-requests-cache
- Package flavors (<flavor>: <package>)
- py39: py39-requests-cache
- distinfo:
- TIMESTAMP = 1709390756
SHA256 (requests_cache-1.2.0.tar.gz) = db1c709ca343cc1cd5b6c8b1a5387298eceed02306a6040760db538c885e3838
SIZE (requests_cache-1.2.0.tar.gz) = 3018038
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-attrs>=21.2 : devel/py-attrs@py39
- py39-cattrs>=22.2 : devel/py-cattrs@py39
- py39-platformdirs>=2.5 : devel/py-platformdirs@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
-
- devel/py-fastf1
- multimedia/mythtv
Configuration Options:
- No options to configure
- Options name:
- www_py-requests-cache
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|