notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine

Bot filter coming soon

To deter bots pegging the database CPU to 100%, a bot testing filter to be added to the website. This should not affect newsfeeds etc. Anubis seems light-weight - it is already in use within the FreeBSD Project. This notice is just a heads up in case you see something odd. This notice will be updated after Anubis is installed.

Port details on branch 2022Q2
py-requests-cache Persistent cache for python requests
1.2.1 www on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.2.1Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2017-10-26 11:34:09
Last Update: 2024-07-03 04:36:54
Commit Hash: 80d13d7
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py311-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
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

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 py311-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 py311-requests-cache listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-requests-cache
Package flavors (<flavor>: <package>)
  • py311: py311-requests-cache
distinfo:
TIMESTAMP = 1718784565 SHA256 (requests_cache-1.2.1.tar.gz) = 68abc986fdc5b8d0911318fbb5f7c80eebcd4d01bfacc6685ecf8876052511d1 SIZE (requests_cache-1.2.1.tar.gz) = 3018209

Packages (timestamps in pop-ups are UTC):
py37-requests-cache
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--0.4.13---0.4.13-
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
 
py39-requests-cache
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly--0.9.6_1--1.1.11.1.11.1.1
FreeBSD:14:latest--0.9.6--0.9.6_1-0.9.6_1
FreeBSD:14:quarterly-----1.1.11.1.11.1.1
FreeBSD:15:latest--n/a-n/a1.1.11.1.11.1.1
 
py311-requests-cache
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.2.11.2.1-1.2.11.2.1---
FreeBSD:13:quarterly1.2.11.2.1-1.2.11.2.1---
FreeBSD:14:latest1.2.11.2.1-1.2.11.2.1---
FreeBSD:14:quarterly1.2.11.2.1-1.2.11.2.1---
FreeBSD:15:latest1.2.11.2.1n/a1.2.1n/a---
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-poetry-core>=1.0.0 : devel/py-poetry-core@py311
  2. python3.11 : lang/python311
  3. py311-build>=0 : devel/py-build@py311
  4. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. py311-attrs>=21.2 : devel/py-attrs@py311
  2. py311-cattrs>=22.2 : devel/py-cattrs@py311
  3. py311-platformdirs>=2.5 : devel/py-platformdirs@py311
  4. py311-requests>=2.22 : www/py-requests@py311
  5. py311-url-normalize>=1.4 : net/py-url-normalize@py311
  6. py311-urllib3>=1.25.5,1 : net/py-urllib3@py311
  7. python3.11 : lang/python311
This port is required by:
for Run
  1. devel/py-e3-core
  2. devel/py-fastf1
  3. 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:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/r/requests_cache/
  2. https://pypi.org/packages/source/r/requests_cache/
Collapse this list.

There are no commits on branch 2022Q2 for this port