My personal toolkit
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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
File details
Details for the file nice_tool_kit-2025.1.6.tar.gz.
File metadata
- Download URL: nice_tool_kit-2025.1.6.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
daf0f8c0d1420726c51fbe56ec9047389299af39e8af5a936c13d904644d492f
|
|
| MD5 |
0946e9d4e01f34d996b7746a43daa388
|
|
| BLAKE2b-256 |
0706b5f694dadb5116b17a655556f491ee9c9bf707791c6c6bceba3ae44729b6
|
File details
Details for the file nice_tool_kit-2025.1.6-py3-none-any.whl.
File metadata
- Download URL: nice_tool_kit-2025.1.6-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
594c59d81870213c433eaa38040dc7562789c96c8379685ad57117f9112e9bd3
|
|
| MD5 |
0e0efe8d235d550bbe247542a6234d88
|
|
| BLAKE2b-256 |
c1ca6c97569a3dd45acb83dd03eeb81c342434c0fd72bb19a1dca0ce98bcde23
|