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.3.tar.gz (3.9 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.3-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file cuetools-0.1.3.tar.gz.

File metadata

  • Download URL: cuetools-0.1.3.tar.gz
  • Upload date:
  • Size: 3.9 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.3.tar.gz
Algorithm Hash digest
SHA256 945b778fc5eea1c6958891aac6f88ca9d2a028433d43104fd6cfcaf04c0f4ba3
MD5 c3e1239b1557c2f3e2a16711a5cb380c
BLAKE2b-256 2484f727b0fbb606f0fa3f70379f505c3f62c161fa96f65c677fde87116b6b7a

See more details on using hashes here.

File details

Details for the file cuetools-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: cuetools-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 4.9 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b3e35795d94b2ec95939810989f0ccae262af9ab8e02e33d3d0ddab0ccceae9c
MD5 5786bad8b37d572961a86eec02e76ed4
BLAKE2b-256 a7d943ae17984d4721c79c1c926f47bce9027d8b7ab359a2bd8b4ca13f6a8064

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