check-s3-bucket-0.2.6
توضیحات
Check that a file was added to an S3 bucket in the given time window and is of a reasonable size.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | check-s3-bucket-0.2.6 |
| نام | check-s3-bucket |
| نسخه کتابخانه | 0.2.6 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Nimrod Adar |
| ایمیل نویسنده | nimrod@shore.co.il |
| آدرس صفحه اصلی | https://git.shore.co.il/nimrod/check_s3_bucket |
| آدرس اینترنتی | https://pypi.org/project/check-s3-bucket/ |
| مجوز | MIT |
check_s3_bucket
###############
.. image:: https://git.shore.co.il/nimrod/check_s3_bucket/badges/master/pipeline.svg
:target: https://git.shore.co.il/nimrod/check_s3_bucket/-/commits/master
:alt: pipeline status
Check that a filename matching the regex was added to the bucket in the given time window.
Usage
-----
.. code:: shell
$ check_s3_bucket --help
usage: check_s3_bucket [-h]
bucket [prefix] [age_warning_threshold]
[age_critical_threshold] [size_warning_threshold]
[size_critical_threshold]
Check that a file was added to an S3 bucket in the given time window and is of
a reasonable size.
positional arguments:
bucket S3 bucket to check
prefix Filter files by this prefix
age_warning_threshold
Warning threshold for the age of the latest file in
hours (defaults to 24)
age_critical_threshold
Critical threshold for the age of the latest file in
hours (defaults to 48)
size_warning_threshold
Warning threshold for the difference in size between
the latest 2 files in percents (default to 25)
size_critical_threshold
Critical threshold for the difference in size between
the latest 2 files in percents (default to 50)
optional arguments:
-h, --help show this help message and exit
License
-------
This software is licensed under the MIT license (see the :code:`LICENSE.txt`
file).
Author
------
Nimrod Adar, `contact me <nimrod@shore.co.il>`_ or visit my `website
<https://www.shore.co.il/>`_. Patches are welcome via `git send-email
<http://git-scm.com/book/en/v2/Git-Commands-Email>`_. The repository is located
at: https://git.shore.co.il/explore/.
نیازمندی
| مقدار | نام |
|---|---|
| - | pytz |
| - | botocore |
نحوه نصب
نصب پکیج whl check-s3-bucket-0.2.6:
pip install check-s3-bucket-0.2.6.whl
نصب پکیج tar.gz check-s3-bucket-0.2.6:
pip install check-s3-bucket-0.2.6.tar.gz