Helpers for Rockefeller Archive Center's Elasticsearch implementation.
Project description
rac_es
Helpers for Elasticsearch, including Analyzers and Documents.
Setup
Make sure this library is installed:
$ pip install rac_es
Usage
You can then use rac_es
in your Python code by importing it:
import rac_es
What's Here
Analyzers
rac_es includes analyzers which provide custom processing of text fields.
Documents
The Elasticsearch Document definitions in rac_es match the four main object types in the RAC data model: Agents, Collections, Objects and Terms. In addition to these definitions, rac_es provides custom search and save methods for these Documents, including bulk save and delete methods.
Development
This repository contains a configuration file for git pre-commit hooks which help ensure that code is linted before it is checked into version control. It is strongly recommended that you install these hooks locally by installing pre-commit and running pre-commit install
.
License
This code is released under an MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file rac_es-1.1.0.tar.gz
.
File metadata
- Download URL: rac_es-1.1.0.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b32c5bee091dac009e3c423bcc438a3eef9956d05b5a9baca5de157cd3c278c9 |
|
MD5 | 525b9b9ef2c698c6a451b71374e68bcb |
|
BLAKE2b-256 | e04944ecbd2c6d62a1c2d2dec76c78ff950eed087d695d1c482d942fbb0588d8 |
File details
Details for the file rac_es-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: rac_es-1.1.0-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4e93ccde236030a70ba561b340eddedeb8e35b242d737588b34a97ce463f8ab |
|
MD5 | 252f909317a6f2b3093528a95737e0b5 |
|
BLAKE2b-256 | 679441f182e52b2eea760e902b03dc95f1fbbbf30397fce163608726d09d74e2 |