Skip to main content

pylibcue

pylibcue is a CUE sheet parser library for python. It provides fast and reliable CUE sheets parsing interfaces for python by wrapping libcue C library with Cython.

Install

pip install pylibcue

Compile from source

Requirements: bison, flex, make.

Clone the repo with --recurse-submodules argument.

pip install --upgrade setuptools Cython build
make test
make

Usage

Create a CD instance by parsing a CUE sheet file or string:

import pylibcue

cd = pylibcue.parse_file("./example.cue", encoding="utf-8")
# or
cd = pylibcue.parse_str("...")

Extract CD metadata and iterate through tracks in CD:

print("Title:", cd.cdtext.title)
print("Artist:", cd.cdtext.performer)
print("Date:", cd.rem.date)
print("Tracks:")

for tr in cd:
    print(f"TRACK {tr.track_number:02d}: {tr.cdtext.title} - {tr.cdtext.performer}")

cueprint

pylibcue also provides a command line tool cueprint.py to dump all information from CUE sheet. (python version of cuetools cueprint and cuebreakpoints)

Use cueprint.py to see how many fields pylibcue can extract from CUE sheet:

cueprint.py ./example.cue
# or
python3 -m pylibcue.cueprint ./example.cue

License

pylibcue is licensed under the GNU General Public License v2.0.

Metadata

Release files for pylibcue 0.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pylibcue 0.6.1
File Size Uploaded Provenance Actions
pylibcue-0.6.1.tar.gz 82.4 kB With provenance Details for pylibcue-0.6.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for pylibcue 0.6.1
File Actions
pylibcue-0.6.1-cp315-cp315t-win_amd64.whl CPython 3.15 CPython 3.15 free-threading Windows x86-64 Details for pylibcue-0.6.1-cp315-cp315t-win_amd64.whl
pylibcue-0.6.1-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.15 CPython 3.15 free-threading Linux glibc 2.17+ x86-64 Details for pylibcue-0.6.1-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
pylibcue-0.6.1-cp315-cp315t-macosx_10_15_universal2.whl CPython 3.15 CPython 3.15 free-threading macOS 10.15+ universal2 (ARM64, x86-64) Details for pylibcue-0.6.1-cp315-cp315t-macosx_10_15_universal2.whl
pylibcue-0.6.1-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details for pylibcue-0.6.1-cp311-abi3-win_amd64.whl
pylibcue-0.6.1-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.11 abi3 Linux glibc 2.17+ x86-64 Details for pylibcue-0.6.1-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
pylibcue-0.6.1-cp311-abi3-macosx_10_15_universal2.whl CPython 3.11 abi3 macOS 10.15+ universal2 (ARM64, x86-64) Details for pylibcue-0.6.1-cp311-abi3-macosx_10_15_universal2.whl

Total release size: 685.9 kB

Release files / pylibcue-0.6.1.tar.gz

Download URL pylibcue-0.6.1.tar.gz
Size 82.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9c056ab2b64d91cbf12bbcb417524843b1f895a7e33177b696ee3499425c1355
BLAKE2b-256 checksum
How to use checksums
aeb35bd0d34bcf2e8ad862f179e13c471ff0fb18c2efc28f2dc056791986c7a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Release files / pylibcue-0.6.1-cp315-cp315t-win_amd64.whl

Download URL pylibcue-0.6.1-cp315-cp315t-win_amd64.whl
Size 77.8 kB
Tags CPython 3.15 CPython 3.15 free-threading Windows x86-64
SHA-256 checksum
How to use checksums
2cf6a619e6c9c330e570a42f3b501a10eee022c18d61f64a050800e13d7310d6
BLAKE2b-256 checksum
How to use checksums
004ce352731826652cba7cfc61a33fcb00a77c64623dd99ac056ce75badb243b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Release files / pylibcue-0.6.1-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL pylibcue-0.6.1-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 94.3 kB
Tags CPython 3.15 CPython 3.15 free-threading Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
eab92519daa9292c18fac8176fe8b050347bbab2902feda3e3dee5ab9bce003c
BLAKE2b-256 checksum
How to use checksums
78c337c783e1ad700d83f27278cddceabb129986a209edc8c6e1cfc5036940f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Release files / pylibcue-0.6.1-cp315-cp315t-macosx_10_15_universal2.whl

Download URL pylibcue-0.6.1-cp315-cp315t-macosx_10_15_universal2.whl
Size 145.7 kB
Tags CPython 3.15 CPython 3.15 free-threading macOS 10.15+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
9ede40a6c4096057dc557686ee88a35d3482e5d4037820df42cc093e165e3071
BLAKE2b-256 checksum
How to use checksums
7900d918149464cd3b4e493a7da9b4383b5bb81696eae3083407eb97c82ec208
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Release files / pylibcue-0.6.1-cp311-abi3-win_amd64.whl

Download URL pylibcue-0.6.1-cp311-abi3-win_amd64.whl
Size 74.0 kB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
7e6bd44247bcbdca6b54de67e742f19ec0554c0de34c3764a962e07e87c7ae16
BLAKE2b-256 checksum
How to use checksums
1375101de1251769c2bcb622e9c51f95263a787f74e032a21208f420025da563
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Release files / pylibcue-0.6.1-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL pylibcue-0.6.1-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 82.7 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
cb2d386a26a6f5e76143db5d419f954a081b7a6d3d27e4a5986844eb8dc2ff85
BLAKE2b-256 checksum
How to use checksums
b9129bcdba4460977687e1b018fb01e294b4817eb2915e9354d56e814f3c6a8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Release files / pylibcue-0.6.1-cp311-abi3-macosx_10_15_universal2.whl

Download URL pylibcue-0.6.1-cp311-abi3-macosx_10_15_universal2.whl
Size 128.8 kB
Tags CPython 3.11 abi3 macOS 10.15+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
246cbfbde84b4bd89abffaf431af163abdda4f152890e1ac58b01278f4217476
BLAKE2b-256 checksum
How to use checksums
7645d16c02868d04b341080f172d98c99f000cc6951fa5e29eaf3ab95ced1f12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Security for pylibcue 0.6.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 7 files in this release have been uploaded with provenance metadata.

Select from 7 files

Attestation for pylibcue-0.6.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page