www/py-modelsearch 1.3.2 FreeBSD
Library for indexing Django models
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
57cdbda123- License
- BSD3CLAUSE
- Categories
- www, python
- Package size
- 236.4 KiB, 1771.7 KiB installed
Description
Django ModelSearch allows you to index Django models and search them using the ORM!
It supports PostgreSQL FTS, SQLite FTS5, MySQL FTS, MariaDB FTS, Elasticsearch (7.x, 8.x, and 9.x), and OpenSearch (2.x and 3.x).
Features:
- Index models in Elasticsearch and OpenSearch and query with the Django ORM
- Reuse existing QuerySets for search, works with Django paginators and django-filter
- Also supports PostgreSQL FTS, MySQL FTS, MariaDB FTS and SQLite FTS5
- Autocomplete
- Faceting
- Per-field boosting
- Fuzzy Search
- Phrase search
- Structured queries
- Multi-table inheritance
- Zero-downtime index rebuilding (uses aliases to atomically swap in a new index when its ready)
This has been built into Wagtail CMS since 2014 and extracted into a separate package in March 2025.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | www/py-modelsearch | 1.3.2 |
| NetBSD | www/py-modelsearch | 1.3.2nb1 |
| HardenedBSD | www/py-modelsearch | 1.3.2 |
| GhostBSD | www/py-modelsearch | 1.3.2 |
Install
Binary package:
pkg install py312-modelsearch
From the ports tree:
cd /usr/ports/www/py-modelsearch/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-modelsearch>0:www/py-modelsearch
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 | 1.3.2 | 1.3.2 | - | - | 1.3.2 |
| FreeBSD:14:quarterly | 1.3.2 | 1.3.2 | n/a | - | 1.3.2 |
| FreeBSD:15:latest | 1.3.2 | 1.3.2 | n/a | - | - |
| FreeBSD:15:quarterly | 1.3.2 | 1.3.2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.3.2 | 1.3.2 | 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 2
${PYTHON_PKGNAMEPREFIX}setuptools>=61: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 2
${PYTHON_PKGNAMEPREFIX}django-tasks>=0.7<0.13: www/py-django-tasks${PYTHON_PKGNAMEPREFIX}django52>=4.2: www/py-django52
The full lists below include those, and their dependencies in turn.
Build dependencies 16
Run dependencies 21
- archivers/liblz4
- archivers/zstd
- databases/py-sqlite3
- databases/py-sqlparse
- databases/sqlite3
- devel/gettext-runtime
- devel/libedit
- devel/libffi
- devel/py-typing-extensions
- devel/readline
- lang/python312
- lang/python315
- lang/tcl86
- math/libtommath
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- www/py-asgiref
- www/py-django-stubs-ext
- www/py-django-tasks
- www/py-django52
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| modelsearch-1.3.2.tar.gz | 105253 | 52ede0f65e91efdb9d715f603e0bb3db96a95c80eba695abcd4628c03759999e |
Master sites 1
- PYPI