Lightweight CUE sheet toolkit for Python
Project description
CueTools
Lightweight CUE sheet toolkit for Python.
Parse and generate.cuefiles programmatically.
✨ Features
- Parse
.cuefiles into structured Python objects - Generate
.cuefile content from data - Simple and intuitive API
- Lightweight — no external dependencies
- Supports Python 3.10+
🚀 QuickStart
Installation of the library
pip install cuetools
Using of the library
import cuetools
cue_string = """
FILE "track01.flac" WAVE
TRACK 01 AUDIO
TITLE "Intro"
PERFORMER "Artist"
INDEX 01 00:00:00
"""
cue_sheet = loads(cue_data)
#cue_sheet is instance of AlbumData dataclass with parsed cue_data
track = cuesheet.tracks[0]
#track is instance of TrackData dataclass with parsed track data
print(track.link) # Result: track01.wav
print(track.title) # Result: Intro
print(track.performer) # Result: Artist
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
cuetools-0.1.4.tar.gz
(4.1 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
File details
Details for the file cuetools-0.1.4.tar.gz.
File metadata
- Download URL: cuetools-0.1.4.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.10.18 Linux/6.11.0-1015-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3fd416d834c3cbd273b5ce02e693f3086bb870564ecd71e2626eb879ecfff81
|
|
| MD5 |
2f778ce706c8605e2b0174293c81e8eb
|
|
| BLAKE2b-256 |
90f95d4eb8c0dbf18f5d4e103a797ee15948eabbcf7a192139940308dd127679
|
File details
Details for the file cuetools-0.1.4-py3-none-any.whl.
File metadata
- Download URL: cuetools-0.1.4-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.10.18 Linux/6.11.0-1015-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a985d4cf35964447fe4851d919d65b6bd620009cf9b935b3ff24f041697819f2
|
|
| MD5 |
4572951defca87fe17511932f0556335
|
|
| BLAKE2b-256 |
cf2883fc4423fa1c2843fbf442d933387e084a22048965467d3d6d4f4fa7a466
|