textproc/py-elasticsearch 7.17.9_2 MidnightBSD
Official Python low-level client for Elasticsearch
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Last update
- Commit
d31e6c7450- License
- Apache-2.0
- Categories
- textproc, python
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 |
|---|---|---|
| MidnightBSD | textproc/py-elasticsearch | 7.17.9_2 |
| FreeBSD | textproc/py-elasticsearch | 9.5.1 |
| OpenBSD | textproc/py-elasticsearch | 7.17.13 |
| DragonFly | textproc/py-elasticsearch | 7.17.9_1 |
| HardenedBSD | textproc/py-elasticsearch | 9.5.1 |
| GhostBSD | textproc/py-elasticsearch | 9.5.1 |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}elasticsearch
From mports:
cd /usr/mports/textproc/py-elasticsearch && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}elasticsearch>0:textproc/py-elasticsearch
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 2
${PYTHON_PKGNAMEPREFIX}certifi>=0: security/py-certifi${PYTHON_PKGNAMEPREFIX}urllib3>=1.21.1,1<2,1: net/py-urllib3
Test 6
${PYTHON_PKGNAMEPREFIX}coverage>=0: devel/py-coverage${PYTHON_PKGNAMEPREFIX}mock>=0: devel/py-mock${PYTHON_PKGNAMEPREFIX}pytest>=0,1: devel/py-pytest${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
Build dependencies 2
Run dependencies 2
No port depends on this one.
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-7.17.9.tar.gz | 247783 | 66c4ece2adfe7cc120e2b6a6798a1fd5c777aecf82eec39bb95cef7cfc7ea2b3 |
Master sites 1
- PYPI