Nice Tool Kit
A toolkit for my personal use.
Installation
pip install nice-tool-kit
Tools
XML Formatter (xmlformat)
A command-line tool to format or minimize XML files.
Usage
- Pretty format an XML file:
xmlformat input.xml output.xml
- Minimize XML file:
xmlformat -m input.xml output.xml
- Read from stdin and write to stdout:
cat input.xml | xmlformat - -
AWS CloudWatch Logs Transformer (awslog)
Transform AWS CloudWatch Logs from JSON format to plain text.
Usage
- Transform logs to stdout:
awslog input.json
- Save transformed logs to file:
awslog input.json -o output.txt
# or
awslog input.json --output output.txt
Input JSON Format
The tool expects CloudWatch logs in JSON format with the following structure:
[
{
"@message": {
"log": "actual log content"
}
}
]
Versioning
This project uses automatic versioning in format YYYY.MM.PATCH:
- Version is automatically bumped when commits are pushed to master
- Year and month are updated based on current date
- Patch number increases for multiple commits in same month
Metadata
Release files for nice-tool-kit 2025.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nice_tool_kit-2025.1.6.tar.gz | 3.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nice_tool_kit-2025.1.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.2 kB
Release files / nice_tool_kit-2025.1.6.tar.gz
| Download URL | nice_tool_kit-2025.1.6.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
daf0f8c0d1420726c51fbe56ec9047389299af39e8af5a936c13d904644d492f
|
|
BLAKE2b-256 checksum How to use checksums |
0706b5f694dadb5116b17a655556f491ee9c9bf707791c6c6bceba3ae44729b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.15
|
Release files / nice_tool_kit-2025.1.6-py3-none-any.whl
| Download URL | nice_tool_kit-2025.1.6-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
594c59d81870213c433eaa38040dc7562789c96c8379685ad57117f9112e9bd3
|
|
BLAKE2b-256 checksum How to use checksums |
c1ca6c97569a3dd45acb83dd03eeb81c342434c0fd72bb19a1dca0ce98bcde23
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.15
|