cuetools


Namecuetools JSON
Version 0.1.5 PyPI version JSON
download
home_pageNone
SummaryLightweight CUE sheet toolkit for Python
upload_time2025-08-01 17:51:30
maintainerNone
docs_urlNone
authorOlezhich
requires_python>=3.10
licenseMIT
keywords cue audio parser
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # CueTools

[![PyPI version](https://img.shields.io/pypi/v/cuetools )](https://pypi.org/project/cuetools/ )
[![License](https://img.shields.io/github/license/Olezhich/CueLogic )](https://github.com/Olezhich/CueLogic/blob/main/LICENSE )
[![Python](https://img.shields.io/badge/python-3.10%2B-blue)](https://python.org)  
[![Coverage Status](https://coveralls.io/repos/github/Olezhich/CueTools/badge.svg?branch=dev)](https://coveralls.io/github/Olezhich/CueTools?branch=dev)
[![Build Status](https://github.com/Olezhich/CueLogic/workflows/Run%20Tests%20on%20PR/badge.svg )](https://github.com/Olezhich/CueLogic/actions )

> **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**

```bash
pip install cuetools
```
**Using of the library**
```python
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
            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "cuetools",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "cue, audio, parser",
    "author": "Olezhich",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/ff/af/625cbb9b4ec675e66551a4f07e8d68f2f77f9af22fbe0e296f54aa088cec/cuetools-0.1.5.tar.gz",
    "platform": null,
    "description": "# CueTools\n\n[![PyPI version](https://img.shields.io/pypi/v/cuetools )](https://pypi.org/project/cuetools/ )\n[![License](https://img.shields.io/github/license/Olezhich/CueLogic )](https://github.com/Olezhich/CueLogic/blob/main/LICENSE )\n[![Python](https://img.shields.io/badge/python-3.10%2B-blue)](https://python.org)  \n[![Coverage Status](https://coveralls.io/repos/github/Olezhich/CueTools/badge.svg?branch=dev)](https://coveralls.io/github/Olezhich/CueTools?branch=dev)\n[![Build Status](https://github.com/Olezhich/CueLogic/workflows/Run%20Tests%20on%20PR/badge.svg )](https://github.com/Olezhich/CueLogic/actions )\n\n> **Lightweight CUE sheet toolkit for Python.**  \nParse and generate `.cue` files programmatically.\n\n---\n\n## \u2728 Features\n\n- Parse `.cue` files into structured Python objects\n- Generate `.cue` file content from data\n- Simple and intuitive API\n- Lightweight \u2014 no external dependencies\n- Supports Python 3.10+\n\n---\n\n## \ud83d\ude80 QuickStart\n**Installation of the library**\n\n```bash\npip install cuetools\n```\n**Using of the library**\n```python\nimport cuetools\n\ncue_string = \"\"\"\nFILE \"track01.flac\" WAVE\n  TRACK 01 AUDIO\n    TITLE \"Intro\"\n    PERFORMER \"Artist\"\n    INDEX 01 00:00:00\n\"\"\"\n\ncue_sheet = loads(cue_data) \n#cue_sheet is instance of AlbumData dataclass with parsed cue_data\n\ntrack = cuesheet.tracks[0]\n#track is instance of TrackData dataclass with parsed track data\n\nprint(track.link)      # Result: track01.wav\nprint(track.title)     # Result: Intro\nprint(track.performer) # Result: Artist",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Lightweight CUE sheet toolkit for Python",
    "version": "0.1.5",
    "project_urls": null,
    "split_keywords": [
        "cue",
        " audio",
        " parser"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "063fbcef97b5a6f21d8d09da97c7b1ca4e84dcbe4afb4e08d4c7bdf8d7ab3e53",
                "md5": "d51fb6070b563d09a499b717e3e7a94d",
                "sha256": "6c09e34638f1137011254a7c4a52ed736076c69ef9193db9b5c55823b9d956ba"
            },
            "downloads": -1,
            "filename": "cuetools-0.1.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d51fb6070b563d09a499b717e3e7a94d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 5064,
            "upload_time": "2025-08-01T17:51:29",
            "upload_time_iso_8601": "2025-08-01T17:51:29.621294Z",
            "url": "https://files.pythonhosted.org/packages/06/3f/bcef97b5a6f21d8d09da97c7b1ca4e84dcbe4afb4e08d4c7bdf8d7ab3e53/cuetools-0.1.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ffaf625cbb9b4ec675e66551a4f07e8d68f2f77f9af22fbe0e296f54aa088cec",
                "md5": "99582d88b28744d83de5e935ccac5873",
                "sha256": "e9cc711ed4f6a9b3764bd5edd53b06c24b91cfbfc5b2238904e7e546cfecf2ca"
            },
            "downloads": -1,
            "filename": "cuetools-0.1.5.tar.gz",
            "has_sig": false,
            "md5_digest": "99582d88b28744d83de5e935ccac5873",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 4071,
            "upload_time": "2025-08-01T17:51:30",
            "upload_time_iso_8601": "2025-08-01T17:51:30.587975Z",
            "url": "https://files.pythonhosted.org/packages/ff/af/625cbb9b4ec675e66551a4f07e8d68f2f77f9af22fbe0e296f54aa088cec/cuetools-0.1.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-01 17:51:30",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "cuetools"
}
        
Elapsed time: 1.47641s