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.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
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 pyams_elastic-2.0.3.tar.gz
.
File metadata
- Download URL: pyams_elastic-2.0.3.tar.gz
- Upload date:
- Size: 31.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | adfc2ae459dd9df5858c8b447abbb361912de6416577ccf82ca8676a8078e4f4 |
|
MD5 | 21f5838a89535c452d9003b10e014902 |
|
BLAKE2b-256 | f9f7aafbd2bed6ef48fc3967ae4b709a2e16415bef7050917f5c1da64b892108 |
File details
Details for the file pyams_elastic-2.0.3-py3-none-any.whl
.
File metadata
- Download URL: pyams_elastic-2.0.3-py3-none-any.whl
- Upload date:
- Size: 49.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbe93d21eab97f08443d1efa21c97cf3f5eb7998d1d6d54633e508bf163ff2b1 |
|
MD5 | 3aec9f329488fa9d44dea9e6141403fe |
|
BLAKE2b-256 | 7ee9c92ec7044ddf45755d63cbb1200e53e21da06c8545e360f2d84dbe8641af |