Skip to main content

PyAMS integration package for Elasticsearch

Project description

What is PyAMS?

PyAMS (Pyramid Application Management Suite) is a small suite of packages written for applications and content management with the Pyramid framework.

PyAMS is actually mainly used to manage web sites through content management applications (CMS, see PyAMS_content package), but many features are generic and can be used inside any kind of web application.

All PyAMS documentation is available on ReadTheDocs; source code is available on Gitlab and pushed to Github. Doctests are available in the doctests source folder.

What is PyAMS elastic?

PyAMS_elastic is an extension package for PyAMS to provide support for Elasticsearch; it’s a fork of pyramid_es package, adapted to use last Elasticsearch features and Elasticsearch-DSL package (see Elasticsearch <https://elasticsearch-py.readthedocs.io> and Elasticsearch-DSL <https://elasticsearch-dsl.readthedocs.io>). It is also using more components of the components architecture.

Compared with pyramid_es, it’s no more Python 2 compliant, and adds a few features like aggregations support in Elasticsearch queries. Deprecated Elasticsearch features have also been removed from package.

A PyAMS scheduler task info is also provided by this package; it allows running Elasticsearch queries on a regular basis, and to send notifications if expected results are not received.

Running PyAMS_elastic unit tests

Unit tests relies on an “elasticsearch” entry to be used with Gitlab-CI services. If you want to run unit tests locally, you must have an entry in your “hosts” file pointing to your Elasticsearch server.

Changelog

2.1.1

  • updated tests

2.1.0

  • added support for PyAMS_scheduler pipeline tasks

  • added support for Python 3.12

2.0.4

  • removed empty module

2.0.3

  • updated client API key configuration to handle base64 encoded keys and login:password type keys

2.0.2

  • updated PyAMS_scheduler interfaces

  • updated dependencies

2.0.1

  • updated french translation

2.0.0

  • upgraded to Pyramid 2.0

  • upgraded to Elasticsearch 8.x

1.6.7

  • updated output of Elasticsearch re-indexation task

  • updated tasks docstrings

1.6.6

  • updated translations

1.6.5

  • use pagination and bulk API in Elasticsearch re-indexation task

  • replace ‘body’ parameter with named arguments

1.6.4

  • restored all unit tests

1.6.3

  • updated unit tests (still partially disabled!)

1.6.2

  • disabled some unit tests because of strange behaviour with Gitlab’s Docker

1.6.1

  • updated re-indexation task status on failure

1.6.0

  • added PyAMS scheduler task to handler partial Elasticsearch re-indexation

  • added support for PyAMS dynamic text formatters into Elasticsearch client index name

1.5.2

  • restored deleted services in Gitlab CI configuration

1.5.1

  • use new SQLAlchemy structure to get access to mappings registry

  • added support for Python 3.11

1.5.0

  • allow usage of dynamic text formatters into scheduler Elasticsearch tasks

1.4.1

  • use new scheduler task execution status on failure

1.4.0

  • added certificates management options when creating Elasticsearch client, available in Pyramid configuration file

1.3.1

  • updated CI for Python 3.10

1.3.0

  • added SSL settings to client configuration

  • added Elasticsearch update API support

  • allow overriding of configuration file settings with named arguments when creating custom Elasticsearch client

  • added support for Python 3.10

1.2.1

  • remove some Elasticsearch (> 7.15) deprecation warnings using named arguments

1.2.0

  • use PyAMS_utils transaction manager

1.1.0

  • updated task add and edit forms title

  • updated package include scan

1.0.0

  • initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyams_elastic-2.1.1.tar.gz (32.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyams_elastic-2.1.1-py3-none-any.whl (50.6 kB view details)

Uploaded Python 3

File details

Details for the file pyams_elastic-2.1.1.tar.gz.

File metadata

  • Download URL: pyams_elastic-2.1.1.tar.gz
  • Upload date:
  • Size: 32.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.17

File hashes

Hashes for pyams_elastic-2.1.1.tar.gz
Algorithm Hash digest
SHA256 274349d827eaefc7324f3d914b5cc3906dee408ed7b4fa5cff868acd13525e7d
MD5 be7f100b9484004a45eeb70474269e87
BLAKE2b-256 5bd7d6f965847d25f8245673f6108afd64ab3b973792d94ebed81efe187fbfe0

See more details on using hashes here.

File details

Details for the file pyams_elastic-2.1.1-py3-none-any.whl.

File metadata

  • Download URL: pyams_elastic-2.1.1-py3-none-any.whl
  • Upload date:
  • Size: 50.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.17

File hashes

Hashes for pyams_elastic-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 94d0c7f01deb66f728dc23585f7091b9e1cd87fb70a8fad8e02e3ae96952fec0
MD5 13696bc065caac07c3a03770028c8cf8
BLAKE2b-256 0081fd513bcbadd733dd802886ec9c088efd6007938704ddcd2de3ac72a7bcc2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page