Skip to main content

tailx

带颜色的 tail -f,更好看的查看日志。

安装

pip install tailx

用例

tailx [文件路径] [-no] [--nocolor] [-n Num] [-f REGEX] [--filter REGEX] [-h] [--help] 

查看帮助

tailx -h
tailx --help

彩色输出(默认)

tailx path/to/file.log

无颜色输出

tailx path/to/file.log -no
tailx path/to/file.log --nocolor

修改默认行数

tailx path/to/file.log -n 10

修改默认行数

tailx path/to/file.log -n 10

过滤输出(支持正则)

tailx path/to/file.log -f "INFO"
tailx path/to/file.log --filter "SUCCESS"

Metadata

Release files for tailx 0.1.5

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

Source distribution (sdist)

Source distribution for tailx 0.1.5
File Size Uploaded
tailx-0.1.5.tar.gz 2.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tailx 0.1.5
File Interpreter ABI Platform
tailx-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 5.1 kB

Release files / tailx-0.1.5.tar.gz

Download URL tailx-0.1.5.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
115cc0395dcd61a24656e5fc05755440536dfba4c2937306485f5817a6dc38a3
BLAKE2b-256 checksum
How to use checksums
6ce4ac915d86cd2f64e7508be5a47f4b5ade3408fca077a387aeb252e9bc6902
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.18.1 CPython/3.11.3 Windows/10

Release files / tailx-0.1.5-py3-none-any.whl

Download URL tailx-0.1.5-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
81ad3a0e9a69e7353e7681d68c9b6144175ae2b8c4ce4b2997da557902a17ce6
BLAKE2b-256 checksum
How to use checksums
0472e4530b469cc03e0ae7424a99de72d274d392666c90f4d4b2ffab0aade14e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.18.1 CPython/3.11.3 Windows/10

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.0

2 release files

0.0.2

2 release files

0.0.1

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