1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

Add py-elasticsearch-dsl-py, a high level Python client for Elasticsearch.

Approved by: mat (mentor)
Differential Revision: https://reviews.freebsd.org/D3978
This commit is contained in:
Dan Langille 2015-10-22 15:37:49 +00:00
parent 4b2699dd40
commit 3c957aad96
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=399988
4 changed files with 43 additions and 0 deletions

View File

@ -1206,6 +1206,7 @@
SUBDIR += py-docutils
SUBDIR += py-dsv
SUBDIR += py-elasticsearch-py
SUBDIR += py-elasticsearch-dsl-py
SUBDIR += py-elib.intl
SUBDIR += py-empy
SUBDIR += py-enchant

View File

@ -0,0 +1,23 @@
# Created by: Dan Langille <dvl@FreeBSD.org>
# $FreeBSD$
PORTNAME= elasticsearch-dsl-py
PORTVERSION= 0.0.8
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= dvl@FreeBSD.org
COMMENT= High level Python client for Elasticsearch
LICENSE= APACHE20
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}elasticsearch-py>=1.3.0:${PORTSDIR}/textproc/py-elasticsearch-py
USE_GITHUB= yes
GH_ACCOUNT= elastic
USES= python:2
USE_PYTHON= autoplist distutils
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (elastic-elasticsearch-dsl-py-0.0.8_GH0.tar.gz) = b410fb6bc4372b9aa7b379bd441a4aaf61b338fbaba8cebbb1ce6e0251b21b37
SIZE (elastic-elasticsearch-dsl-py-0.0.8_GH0.tar.gz) = 70117

View File

@ -0,0 +1,17 @@
Elasticsearch DSL is a high-level library whose aim is to help with writing
and running queries against Elasticsearch. It is built on top of the official
low-level client (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. It exposes the whole range of the DSL from Python either directly
using defined classes or a queryset-like expressions.
It also provides an optional wrapper for working with documents as Python
objects: defining mappings, retrieving and saving documents, wrapping the
document data in user-defined classes.
To use the other Elasticsearch APIs (eg. cluster health) just use the underlying
client.
WWW: http://elasticsearch-dsl.readthedocs.org/en/latest/