Skip to main content

esguard-logo

esguard

esguard provides a Python decorator that waits for processing while monitoring the load of Elasticsearch.

PyPi version PyTest

Quick Start

You need to launch elasticsearch before quick start.

from esguard import ESGuard


@ESGuard(os_cpu_percent=95).decorator
def mock_func(x):
    return x

self.assertEqual(mock_func(1), 1)

Test

You need to launch elasticsearch before testing.

$ docker compose up -d --build
$ poetry run pytest

Metadata

Release files for esguard 0.1.9

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

Source distribution (sdist)

Source distribution for esguard 0.1.9
File Size Uploaded Provenance Actions
esguard-0.1.9.tar.gz 2.6 kB Without provenance Details for esguard-0.1.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for esguard 0.1.9
File Interpreter ABI Platform Actions
esguard-0.1.9-py3-none-any.whl Python 3 none any Details for esguard-0.1.9-py3-none-any.whl

Total release size: 5.4 kB

Release files / esguard-0.1.9.tar.gz

Download URL esguard-0.1.9.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1a5fc738dcca1602c5120b76b1f034d2d4ddea8cbc6e2eb885793b1c341bc58f
BLAKE2b-256 checksum
How to use checksums
b7c4c392cbf7f1dda5c49ef8503db07cd084ecb24194ccc31ead1862ad57fe7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.6 CPython/3.9.0 Darwin/18.7.0

Release files / esguard-0.1.9-py3-none-any.whl

Download URL esguard-0.1.9-py3-none-any.whl
Size 2.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
afa7fd879503fd9a97f15148a9fa5477ef454a73fd55ae48cd0893ba1c2521de
BLAKE2b-256 checksum
How to use checksums
2556ef7ef7ce68e00b0c0dbaa08d8c1cb471f86b70dcc8ec02996cee8be5e468
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.6 CPython/3.9.0 Darwin/18.7.0

Security for esguard 0.1.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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