Skip to main content

Lightweight CUE sheet toolkit for Python

Project description

CueTools

PyPI version License Python
Coverage Status Build Status

Lightweight CUE sheet toolkit for Python.
Parse and generate .cue files programmatically.


✨ Features

  • Parse .cue files into structured Python objects
  • Generate .cue file 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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cuetools-0.1.4-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

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

Hashes for cuetools-0.1.4.tar.gz
Algorithm Hash digest
SHA256 d3fd416d834c3cbd273b5ce02e693f3086bb870564ecd71e2626eb879ecfff81
MD5 2f778ce706c8605e2b0174293c81e8eb
BLAKE2b-256 90f95d4eb8c0dbf18f5d4e103a797ee15948eabbcf7a192139940308dd127679

See more details on using hashes here.

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

Hashes for cuetools-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a985d4cf35964447fe4851d919d65b6bd620009cf9b935b3ff24f041697819f2
MD5 4572951defca87fe17511932f0556335
BLAKE2b-256 cf2883fc4423fa1c2843fbf442d933387e084a22048965467d3d6d4f4fa7a466

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page