BSD Ports

www/py-requests-cache 1.3.3 FreeBSD

Persistent cache for python requests

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
1b7a28d488
License
BSD2CLAUSE
Categories
www, python
Package size
130.6 KiB, 695.8 KiB installed

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

In the other systems

SystemPortVersion
FreeBSDwww/py-requests-cache1.3.3
OpenBSDwww/py-requests-cache1.3.2
NetBSDdevel/py-requests-cache1.3.3
DragonFlywww/py-requests-cache1.2.1
MidnightBSDwww/py-requests-cache1.2.1_1

Install

Binary package:

pkg install py312-requests-cache

From the ports tree:

cd /usr/ports/www/py-requests-cache/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-requests-cache>0:www/py-requests-cache

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.3.31.3.30.9.61.2.11.3.3
FreeBSD:14:quarterly1.3.31.3.3n/a1.2.11.3.3
FreeBSD:15:latest1.3.31.3.3n/a1.2.11.2.1
FreeBSD:15:quarterly1.3.31.3.3n/an/an/a
FreeBSD:16:latest1.3.31.3.3n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 6

The full lists below include those, and their dependencies in turn.

Build dependencies 19
Run dependencies 18

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
requests_cache-1.3.3.tar.gz10117979b72d5ac5143992d1836ad78f4d8e65666061dd44e220548caab3723089826b
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
1b7a28d488 Po-Chuan Hsieh www/py-requests-cache: Update to 1.3.3
Changes: https://github.com/requests-cache/requests-cache/releases https://github.com/requests-cache/requests-cache/blob/main/HISTORY.md https://requests-cache.readthedocs.io/en/stable/project_info/history.html