Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/coddingtonbear/twiddler-config
Parse a twiddler.cfg twiddler configuration file in Python
https://github.com/coddingtonbear/twiddler-config
Last synced: 20 days ago
JSON representation
Parse a twiddler.cfg twiddler configuration file in Python
- Host: GitHub
- URL: https://github.com/coddingtonbear/twiddler-config
- Owner: coddingtonbear
- Created: 2019-11-19T00:54:16.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-12-31T05:07:34.000Z (12 months ago)
- Last Synced: 2024-10-19T12:37:56.800Z (2 months ago)
- Language: Python
- Homepage:
- Size: 18.6 KB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Twiddler Configuration File Parser
Usage:
```
from twiddler_config import Configcfg = Config.from_path('/path/to/my/twiddler.cfg')
print(cfg.version)
print(cfg.chords)
# etc
```## Command-line Utility
The included command-line utility provides a variety of tools organized
by subcommand described below.### `chords`: Display all chords in a configuration
You can print a brief description of your Twiddler configuration, including
all of its included chords by running:```
twiddler-config chords /path/to/my/twiddler.cfg
```### `table`: Display chord tables
You can print a chord tables in the style of Backspice2
by running:```
twiddler-config table /path/to/my/twiddler.cfg
```Optional arguments:
* `--right-to-left`: Instead of printing chords in three columns
from left to right, print the columns in right-to-left order.