Karaoke Lyrics Card Creation Support Tool
Project description
klctool - Karaoke Lyrics Card Creation Support Tool
- klctool: Command Line tool
- Hiragana conversion of lyrics: Powered by Google Gemini
- Conversion to word processor format - ODT format for LibreOffice Writer using Pandoc
- Background image processing: Adjusts images for use as lyrics card backgrounds
Documentation
Prerequisites
-
Python
-
Pandoc
-
LibreOffice Writer
-
Google Gemini API Key
Installation
pip install klctool
Usage examples
klctool hiragana lyrics_file_name
klctool convert2odt lyrics_file_name_hiragana
klctool adjustimage image_file_name1 image_file_name2
Customization
- Configuration file location:
- macOS / Linux: ~/.config/klctool/
- Windows: %APPDATA%
.config
└── klctool
├── config.toml # Default configuration values, etc.
├── gemini-2.0-flash-exp.api_key.toml # API key
├── gemini-2.0-flash-exp.prompt.toml # Prompt
├── klctool-edit.lua # Lua script for Pandoc
├── klctool.odt # ODT template file
└── paper-size.toml # Paper size definitions
License
MIT License
Development / Test Environment
- MacBook Air Retina, 13-inch, 2018 Intel
- MacOS Sonoma 14.7.4
- Python 3.13.2
- Pandoc 3.6.4
- LibreOffice Version: 25.2.1.2 (X86_64) / LibreOffice Community / Japanese Language Pack
Acknowledgements
- The code was basically written by Google Gemini. It was very helpful and I am grateful!
- Thank you to all OSS developers!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
klctool-0.1.6.tar.gz
(164.6 kB
view details)
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
klctool-0.1.6-py3-none-any.whl
(30.9 kB
view details)
File details
Details for the file klctool-0.1.6.tar.gz.
File metadata
- Download URL: klctool-0.1.6.tar.gz
- Upload date:
- Size: 164.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2a578a1ee69728be0d3b98a00e0719d151e139ff1301bf2d6136892247e4675
|
|
| MD5 |
665ba94bf38416fdf9afc7cffd6f88b7
|
|
| BLAKE2b-256 |
494e6744e358946bc1084dc63ac1d3913844a0ffe9243e55647dc6d6ace9164d
|
File details
Details for the file klctool-0.1.6-py3-none-any.whl.
File metadata
- Download URL: klctool-0.1.6-py3-none-any.whl
- Upload date:
- Size: 30.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
249821d8b01303066153b71274282f3463cfbd1be9c7c545b5e2645e2e5849d2
|
|
| MD5 |
cf29ede4ea9127bd7a328e5b598e2bcf
|
|
| BLAKE2b-256 |
af21ab9d29845514d55e43ae3d98509e79d469cbeb7771e546dd10f882ace6ee
|