Skip to main content

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

  1. Pretty format an XML file:
xmlformat input.xml output.xml
  1. Minimize XML file:
xmlformat -m input.xml output.xml
  1. 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

  1. Transform logs to stdout:
awslog input.json
  1. 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)

Source distribution for nice-tool-kit 2025.1.6
File Size Uploaded Provenance Actions
nice_tool_kit-2025.1.6.tar.gz 3.7 kB Without provenance Details for nice_tool_kit-2025.1.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nice-tool-kit 2025.1.6
File Interpreter ABI Platform Actions
nice_tool_kit-2025.1.6-py3-none-any.whl Python 3 none any Details for nice_tool_kit-2025.1.6-py3-none-any.whl

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

Security for nice-tool-kit 2025.1.6

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.

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