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.3.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.3-py3-none-any.whl
(30.9 kB
view details)
File details
Details for the file klctool-0.1.3.tar.gz.
File metadata
- Download URL: klctool-0.1.3.tar.gz
- Upload date:
- Size: 164.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65eca2681813e5544b70fb549dff2cabfe13355a99559380961a0af5632ec08c
|
|
| MD5 |
8b9514055dc5f7851676cf5c6d1d71b7
|
|
| BLAKE2b-256 |
a421e432cc25de360b22c289096f8aeb5511c4c00bc5c2f29c680a3a5ac44815
|
File details
Details for the file klctool-0.1.3-py3-none-any.whl.
File metadata
- Download URL: klctool-0.1.3-py3-none-any.whl
- Upload date:
- Size: 30.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
642aeb08d1de56a60e2ecbf46961146c65b33bad467c2d54c3d43a05c03e46ae
|
|
| MD5 |
0a0adbf5ae466d90723e2d0a04901b1b
|
|
| BLAKE2b-256 |
e45badb1297fe0b91b6686128761e2b4c49acd94abe91a439beb9490d2d7f522
|