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.5.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.5-py3-none-any.whl
(30.9 kB
view details)
File details
Details for the file klctool-0.1.5.tar.gz.
File metadata
- Download URL: klctool-0.1.5.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 |
7ebdeb45a41b68b8811e68cfad3abcc64fa1a090ecd0ed0e5d3a0794ee7e8ffc
|
|
| MD5 |
816b3d3d6ab02d00255d505dfb876a12
|
|
| BLAKE2b-256 |
56c68409f4f5ec069d26a59d26bd5822bbe1a8cd364265512f3d58fd3df6d29e
|
File details
Details for the file klctool-0.1.5-py3-none-any.whl.
File metadata
- Download URL: klctool-0.1.5-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 |
d4f61eeaf4a03618ce948e52e99170f0da6336997792f84c9da511da53946d1e
|
|
| MD5 |
38366f6583357767325095286db979eb
|
|
| BLAKE2b-256 |
a6e3feb360fe524aa350272105d01d35d9bd9d079ba31aa933e748dbb20ed645
|