Skip to main content

licenseware-logblocks

Installation

pip install licenseware-logblocks

How it works?

Having a log stream, you can read line by line and send it to logblocks:

log_stream() { while true; do echo $RANDOM; sleep 1; done; }
while IFS= read -r line; do echo $line | logblocks $line; done < <(log_stream)

SLACK_TAGGED_USERS_IDS will be tagged on all ERRORS

Requirements

Environment variables:

  • SLACK_TAGGED_USERS_IDS (ex: export SLACK_TAGGED_USERS_IDS="<@U02CS9QL0JK>, <@U02U2KQ7N3Y>, <@U030JAJF5RV>, <@U02SDCAHJH3>, <@UHW04RBGT>");
  • SLACK_CHANNEL_WEBHOOK_URL (ex: export SLACK_CHANNEL_WEBHOOK_URL=https://hooks.slack.com/services/etc/etc/etc)

Metadata

Release files for licenseware-logblocks 0.3.0

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

Source distribution (sdist)

Source distribution for licenseware-logblocks 0.3.0
File Size Uploaded Provenance
licenseware_logblocks-0.3.0.tar.gz 3.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for licenseware-logblocks 0.3.0
File Interpreter ABI Platform
licenseware_logblocks-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.4 kB

Release files / licenseware_logblocks-0.3.0.tar.gz

Download URL licenseware_logblocks-0.3.0.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7bb3fac8b31a4019448b201e942e849ca67bdc6008d469850f3773b92c7d5af4
BLAKE2b-256 checksum
How to use checksums
5969493d1575b9fe38a03b2a99be7a1dc4ac161068f05a47c76e16d1669064e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.4

Release files / licenseware_logblocks-0.3.0-py3-none-any.whl

Download URL licenseware_logblocks-0.3.0-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3a059fd3df663a099c287a99320a71ad38c34ab93b0cd3c7ba44ec13ed547cb7
BLAKE2b-256 checksum
How to use checksums
de4a436be842249285781395eb525462c6efbe846f5773acc65e7be310b06315
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.4

Security for licenseware-logblocks 0.3.0

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