TailK
Introduction
TaikK is a small utility to tail logs from multiple Kubernetes pods.
Installation
TailK requires Python 3.8+ and kubectl available in your shell.
Using pip
$ pip install tailk
Using Homebrew
$ brew update
$ brew tap ffaraone/birre
$ brew install ffaraone/birre/tailk
Usage
Basic usage
$ tailk pattern1 [...]
where pattern1 is any valid Python regular expression.
Multiple patterns are combined with a logical
OR.
Advanced usage
You may want to highlight portions of the log. In this case you can provide highlighting patterns in the following way:
$ tailk pattern1 --highlight hl-pattern-1 [--highlight hl-pattern-2]
where hl-pattern-1 is any valid Python regular expression.
You can also customize the style for highlight. In this case your patterns must be specified using named capturing groups
$ tailk pattern1 --highlight "(?P<hello>HELLO)" --style "hello:underline magenta"
License
TailK is released under the Apache License Version 2.0.
Metadata
Release files for tailk 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| tailk-0.1.0.tar.gz | 8.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tailk-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.5 kB
Release files / tailk-0.1.0.tar.gz
| Download URL | tailk-0.1.0.tar.gz |
|---|---|
| Size | 8.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
51bef4417220ab6f31308589a1d237b59e13d144b571bacab9e419f309c7e1cf
|
|
BLAKE2b-256 checksum How to use checksums |
37710aca16f07c41b90a4211ad52b46e4406f05d128ff20b3006b1e3a87bd1fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.10.9 Darwin/22.2.0
|
Release files / tailk-0.1.0-py3-none-any.whl
| Download URL | tailk-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
74a85367b35d63197f07c011e7c85a586ce9f0b0caee939f84a71a6ec15c8d85
|
|
BLAKE2b-256 checksum How to use checksums |
08b4ebf2a9262d11eb4e816fb0cb43ff82c14e1dfc1391aabccecf30d57e4ae4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.10.9 Darwin/22.2.0
|
Security for tailk 0.1.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.