BSD Ports

devel/py-hishel 1.4.0 FreeBSD

Elegant HTTP Caching for Python

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
c7f1c8c991
License
BSD3CLAUSE
Categories
devel, python
Package size
125.5 KiB, 883.0 KiB installed

Description

Hishel is a library that implements HTTP Caching for HTTPX and HTTP Core libraries in accordance with RFC 9111, the most recent caching specification.

Features:

  • Persistence: Responses are cached in the persistent memory for later use.
  • Compatibility: It is completely compatible with your existing transports or connection pools, whether they are default, custom, or provided by third-party libraries.
  • Easy to use: You continue to use httpx while also enabling web cache.
  • Smart: Attempts to clearly implement RFC 9111, understands Vary, Etag, Last-Modified, Cache-Control, and Expires headers, and handles response re-validation automatically.
  • Configurable: You have complete control over how the responses are stored and serialized.
  • From the package:
    • Built-in support for File system, Redis, SQLite, and AWS S3 backends.
    • Built-in support for JSON, YAML, and pickle serializers.
  • Very fast: Your requests will be even faster if there are no IO operations.

In the other systems

SystemPortVersion
FreeBSDdevel/py-hishel1.4.0
DragonFlydevel/py-hishel0.1.1
HardenedBSDdevel/py-hishel1.4.0
GhostBSDdevel/py-hishel1.4.0

Install

Binary package:

pkg install py312-hishel

From the ports tree:

cd /usr/ports/devel/py-hishel/ && make install clean

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

RUN_DEPENDS=	py312-hishel>0:devel/py-hishel

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.4.01.4.0-0.1.31.4.0
FreeBSD:14:quarterly1.4.01.4.0n/a0.1.21.4.0
FreeBSD:15:latest1.4.01.4.0n/a0.1.30.1.3
FreeBSD:15:quarterly1.4.01.4.0n/an/an/a
FreeBSD:16:latest1.4.01.4.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 2

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

Build dependencies 19
Run dependencies 21
Required by 1

Configuration

Options name: devel_hishel

OptionDefaultDescription
ASYNCoffAsynchronous support
FASTAPIoffFastAPI support
HTTPXonHTTPX support
HTTPX2offHTTPX2 support
REDISoffRedis key-value store database support
REQUESTSoffRequests support
USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
hishel-1.4.0.tar.gz813499e406b052c658ce28629fc31423b9914b637d47d7c923f5fe9e288ec47e4823d1
Master sites 1
  • PYPI

Commit history 4

DateCommitCreditsLog message
c7f1c8c991 Po-Chuan Hsieh devel/py-hishel: Add HTTPX2 option
410471b8e1 Po-Chuan Hsieh devel/py-hishel: Update to 1.4.0
Changes: https://github.com/karpetrosyan/hishel/releases
8268ff9b08 Po-Chuan Hsieh devel/py-hishel: Update to 1.3.1
Changes: https://github.com/karpetrosyan/hishel/releases
faa51bf117 Po-Chuan Hsieh devel/py-hishel: Update to 1.3.0
Changes: https://github.com/karpetrosyan/hishel/releases