www/py-django-cacheops 7.2_1 FreeBSD
Slick ORM cache with automatic granular event-driven invalidation
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- BSD3CLAUSE
- Categories
- www, python
- Package size
- 81.0 KiB, 330.9 KiB installed
Description
A slick app that supports automatic or manual queryset caching and automatic granular event-driven invalidation.
It uses redis as backend for ORM cache and redis or filesystem for simple time-invalidated one.
And there is more to it:
* Decorators to cache any user function or view as a queryset or by time * Extensions for django and jinja2 templates * Transparent transaction support * Dog-pile prevention mechanism * A couple of hacks to make django faster
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | www/py-django-cacheops | 7.2_1 |
| DragonFly | www/py-django-cacheops | 7.1_1 |
Install
Binary package:
pkg install py312-django-cacheops
From the ports tree:
cd /usr/ports/www/py-django-cacheops/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-django-cacheops>0:www/py-django-cacheops
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 7.2_1 | 7.2_1 | 6.1 | 7.2 | 7.2_1 |
| FreeBSD:14:quarterly | 7.2_1 | 7.2_1 | n/a | 7.2 | 7.2_1 |
| FreeBSD:15:latest | 7.2_1 | 7.2_1 | n/a | 7.2 | 7.2 |
| FreeBSD:15:quarterly | 7.2_1 | 7.2_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 7.2_1 | 7.2_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}wheel>0: devel/py-wheel
Runtime 3
${PYTHON_PKGNAMEPREFIX}django52>=3.2: www/py-django52${PYTHON_PKGNAMEPREFIX}redis>=3.0.0: databases/py-redis${PYTHON_PKGNAMEPREFIX}funcy>=1.8: devel/py-funcy
The full lists below include those, and their dependencies in turn.
Build dependencies 16
Run dependencies 20
- archivers/liblz4
- archivers/zstd
- databases/py-redis
- databases/py-sqlite3
- databases/py-sqlparse
- databases/sqlite3
- devel/gettext-runtime
- devel/libedit
- devel/libffi
- devel/py-funcy
- devel/readline
- lang/python312
- lang/python315
- lang/tcl86
- math/libtommath
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- www/py-asgiref
- www/py-django52
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
- Conflicts with
- ${PYTHON_PKGNAMEPREFIX}*django-cacheops
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| django_cacheops-7.2.tar.gz | 72751 | cbc11cc0321295a3644e27bcb26940f08cb9c2e71d3ee506cbcff0bdda1a9f33 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.