BSD Ports

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

SystemPortVersion
MidnightBSDtextproc/py-elasticsearch7.17.9_2
FreeBSDtextproc/py-elasticsearch9.5.1
OpenBSDtextproc/py-elasticsearch7.17.13
DragonFlytextproc/py-elasticsearch7.17.9_1
HardenedBSDtextproc/py-elasticsearch9.5.1
GhostBSDtextproc/py-elasticsearch9.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

Runtime 2

Test 6

Build dependencies 2
Run dependencies 2

No port depends on this one.

Configuration

Options name: textproc_elasticsearch

OptionDefaultDescription
ASYNCoffAsynchronous support
REQUESTSonEnable requests support
USES
cpe python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
elasticsearch-7.17.9.tar.gz24778366c4ece2adfe7cc120e2b6a6798a1fd5c777aecf82eec39bb95cef7cfc7ea2b3
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
d31e6c7450 Lucas Holt *: bump PORTREVISION for py-aiohttp and py-brotli updates (#1280)
Rebuilds dependents of the two large version jumps in #1269: `www/py-aiohttp` 3.9.3 -> 3.14.3 (#1279) and `archivers/py-brotli` 1.0.9 -> 1.2.0 (#1278). 25 ports, `PORTREVISION` lines only — no other change in the diff. ### py-aiohttp dependents (18) plus devel/py-vcrpy `ai/py-datasets`, `ai/py-langchain-community`, `ai/py-langchain-google-community`, `ai/py-litellm`, `ai/py-tritonclient`, `devel/py-aiobotocore`, `devel/py-azure-core`, `devel/py-black`, `devel/py-gql`, `devel/py-sentry-sdk`, `devel/py-strawberry-graphql`, `devel/py-vcrpy`, `dns/py-idna_ssl`, `filesystems/py-s3fs`, `ftp/py-parfive`, `mail/py-postfix-mta-sts-resolver`, `security/py-google-auth`, `textproc/py-elasticsearch`, `www/py-google-resumable-media` …