Skip to main content
pipeline status

Check that a filename matching the regex was added to the bucket in the given time window.

Usage

$ 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 LICENSE.txt file).

Author

Nimrod Adar, contact me or visit my website. Patches are welcome via git send-email. The repository is located at: https://git.shore.co.il/explore/.

Metadata

Release files for check-s3-bucket 0.2.6

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

Built distribution (wheel)

Table of built distributions (wheels) for check-s3-bucket 0.2.6
File Interpreter ABI Platform
check_s3_bucket-0.2.6-py2.py3-none-any.whl Python 2, Python 3 none any Details

Release files / check_s3_bucket-0.2.6-py2.py3-none-any.whl

Download URL check_s3_bucket-0.2.6-py2.py3-none-any.whl
Size 4.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
a6394c7264f2eaabf39e7140540b38763b097d83fa76c6eef18da2ae19c52c42
BLAKE2b-256 checksum
How to use checksums
a484235e9d20fdf7af5e5e239dbf1c5f6fa66e6ce00cf762f552d102c19a4163
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1

Release history Release notifications | RSS feed

This release

0.2.6 This release

1 release file

0.2.4

1 release file

0.2.3

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.1

1 release file

0.1.0

2 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