Skip to main content

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

  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

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

nice_tool_kit-2025.1.6.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nice_tool_kit-2025.1.6-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

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

Hashes for nice_tool_kit-2025.1.6.tar.gz
Algorithm Hash digest
SHA256 daf0f8c0d1420726c51fbe56ec9047389299af39e8af5a936c13d904644d492f
MD5 0946e9d4e01f34d996b7746a43daa388
BLAKE2b-256 0706b5f694dadb5116b17a655556f491ee9c9bf707791c6c6bceba3ae44729b6

See more details on using hashes here.

File details

Details for the file nice_tool_kit-2025.1.6-py3-none-any.whl.

File metadata

File hashes

Hashes for nice_tool_kit-2025.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 594c59d81870213c433eaa38040dc7562789c96c8379685ad57117f9112e9bd3
MD5 0e0efe8d235d550bbe247542a6234d88
BLAKE2b-256 c1ca6c97569a3dd45acb83dd03eeb81c342434c0fd72bb19a1dca0ce98bcde23

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page