textproc/py-elasticsearch 9.5.1 FreeBSD
Official Python low-level client for Elasticsearch
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
116161c662- License
- APACHE20
- Categories
- textproc, python
- Package size
- 876.3 KiB, 18157.3 KiB installed
Description
Official low-level client for Elasticsearch. Its goal is to provide common ground for all Elasticsearch-related code in Python; because of this it tries to be opinion-free and very extendable.
For a more high level client library with more limited scope, have a look at elasticsearch-dsl - a more pythonic library sitting on top of elasticsearch-py.
It provides a more convenient and idiomatic way to write and manipulate queries. It stays close to the Elasticsearch JSON DSL, mirroring its terminology and structure while exposing the whole range of the DSL from Python either directly using defined classes or a queryset-like expressions.
It also provides an optional persistence layer for working with documents as Python objects in an ORM-like fashion: defining mappings, retrieving and saving documents, wrapping the document data in user-defined classes.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | textproc/py-elasticsearch | 9.5.1 |
| OpenBSD | textproc/py-elasticsearch | 7.17.0p4 |
| DragonFly | textproc/py-elasticsearch | 7.17.9_1 |
| MidnightBSD | textproc/py-elasticsearch | 7.17.9_2 |
Install
Binary package:
pkg install py312-elasticsearch
From the ports tree:
cd /usr/ports/textproc/py-elasticsearch/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-elasticsearch>0:textproc/py-elasticsearch
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 | 9.5.1 | 9.5.1 | 7.17.7 | 7.17.12 | 9.5.1 |
| FreeBSD:14:quarterly | 9.5.1 | 9.5.1 | n/a | 7.17.9_1 | 9.5.1 |
| FreeBSD:15:latest | 9.5.1 | 9.5.1 | n/a | 7.17.12 | 7.17.12 |
| FreeBSD:15:quarterly | 9.5.1 | 9.5.1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 9.5.1 | 9.5.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}hatchling>=0: devel/py-hatchling
Runtime 5
${PYTHON_PKGNAMEPREFIX}anyio>=0: devel/py-anyio${PYTHON_PKGNAMEPREFIX}elastic-transport>=9.4.1<10: textproc/py-elastic-transport${PYTHON_PKGNAMEPREFIX}python-dateutil>=0: devel/py-python-dateutil${PYTHON_PKGNAMEPREFIX}sniffio>=0: devel/py-sniffio${PYTHON_PKGNAMEPREFIX}typing-extensions>=0: devel/py-typing-extensions
Test 5
${PYTHON_PKGNAMEPREFIX}coverage>=0: devel/py-coverage${PYTHON_PKGNAMEPREFIX}mock>=0: devel/py-mock${PYTHON_PKGNAMEPREFIX}pytest-cov>=0: devel/py-pytest-cov${PYTHON_PKGNAMEPREFIX}pyyaml>=0: devel/py-pyyaml${PYTHON_PKGNAMEPREFIX}requests>=2.0.0<3.0.0: www/py-requests
The full lists below include those, and their dependencies in turn.
Build dependencies 19
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-build
- devel/py-hatchling
- devel/py-installer
- devel/py-packaging
- devel/py-pathspec
- devel/py-pluggy
- devel/py-pyproject-hooks
- devel/py-trove-classifiers
- devel/readline
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- textproc/py-tomlkit
Run dependencies 20
- devel/gettext-runtime
- devel/libffi
- devel/py-anyio
- devel/py-python-dateutil
- devel/py-six
- devel/py-sniffio
- devel/py-typing-extensions
- devel/readline
- dns/py-idna
- lang/python312
- math/mpdecimal
- net/py-pysocks
- net/py-urllib3
- print/indexinfo
- security/py-certifi
- security/py-truststore
- textproc/expat2
- textproc/py-charset-normalizer
- textproc/py-elastic-transport
- www/py-requests
Configuration
Options name: textproc_elasticsearch
| Option | Default | Description |
|---|---|---|
| ASYNC | off | Asynchronous support |
| REQUESTS | on | Enable requests support |
- USES
- cpe python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| elasticsearch-9.5.1.tar.gz | 930439 | 98210cd96c256dd9936f58e1c762aba94da7db7d38d058bb0fbaf7e4b9567146 |
Master sites 1
- PYPI