Module for reading docker logs
Project description
ExenDLR
Exenifix's Docker Logs Reader
Description
Module for reading docker logs for GitHub actions. Includes CLI and program tools.
Usage
CLI
$ python3 -m exendlr <container-name> <stop-phrase>
# example
$ python3 -m exendlr my-nice-bot "bot is ready!"
Code
from exendlr import Reader
reader = Reader("my-nice-bot", "bot is ready!")
code = reader.start()
if code == 0:
print("Bot was started successfully!")
elif code == 1:
print("There was an error running the bot!")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
exendlr-1.0.tar.gz
(2.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
exendlr-1.0-py3-none-any.whl
(3.4 kB
view details)
File details
Details for the file exendlr-1.0.tar.gz.
File metadata
- Download URL: exendlr-1.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.4 Linux/5.13.0-1025-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b865edda20fa91329d0d589f8c800c6d7a6704c09f7d578d49bf46ad0426a2d3
|
|
| MD5 |
33937c13ca005dd7498caca95df4fbbc
|
|
| BLAKE2b-256 |
ac1fa03fb3e7e871f3d193e83528d011412bcbbaa400642cb9b2250e9cb7b7c5
|
File details
Details for the file exendlr-1.0-py3-none-any.whl.
File metadata
- Download URL: exendlr-1.0-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.4 Linux/5.13.0-1025-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86b5c3a43db8ca17aea95c9af53a08a7b64bb5874b06810a34c21959c109b24a
|
|
| MD5 |
405f75efed11485e85252a088dbcfeb0
|
|
| BLAKE2b-256 |
e81399ba17d9dff151fe77afe713bba76c7b042aa1b88268fe7b42e40cb19b57
|