Skip to main content

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

Release files for pyams-elastic 2.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyams-elastic 2.1.1
File Size Uploaded
pyams_elastic-2.1.1.tar.gz 32.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyams-elastic 2.1.1
File Interpreter ABI Platform
pyams_elastic-2.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 83.1 kB

Release files / pyams_elastic-2.1.1.tar.gz

Download URL pyams_elastic-2.1.1.tar.gz
Size 32.5 kB
Tags Source
SHA-256 checksum
How to use checksums
274349d827eaefc7324f3d914b5cc3906dee408ed7b4fa5cff868acd13525e7d
BLAKE2b-256 checksum
How to use checksums
5bd7d6f965847d25f8245673f6108afd64ab3b973792d94ebed81efe187fbfe0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.17

Release files / pyams_elastic-2.1.1-py3-none-any.whl

Download URL pyams_elastic-2.1.1-py3-none-any.whl
Size 50.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
94d0c7f01deb66f728dc23585f7091b9e1cd87fb70a8fad8e02e3ae96952fec0
BLAKE2b-256 checksum
How to use checksums
0081fd513bcbadd733dd802886ec9c088efd6007938704ddcd2de3ac72a7bcc2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.17

Release history Release notifications | RSS feed

This release

2.1.1 This release

2 release files

2.0.3

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.6.7

7 release files

1.6.6

7 release files

1.6.5

7 release files

1.6.4

7 release files

1.6.3

7 release files

1.5.2

7 release files

1.5.0

6 release files

1.4.1

6 release files

1.4.0

6 release files

1.3.1

6 release files

1.3.0

5 release files

1.2.1

5 release files

1.2.0

5 release files

1.1.0

5 release files

1.0.0

5 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page