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.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pylibcue-0.6.0.tar.gz | 81.5 kB | With provenance | Details for pylibcue-0.6.0.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pylibcue-0.6.0-cp311-abi3-win_amd64.whl | CPython 3.11 | abi3 | Windows x86-64 | Details for pylibcue-0.6.0-cp311-abi3-win_amd64.whl |
| pylibcue-0.6.0-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.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
| pylibcue-0.6.0-cp311-abi3-macosx_10_15_universal2.whl | CPython 3.11 | abi3 | macOS 10.15+ universal2 (ARM64, x86-64) | Details for pylibcue-0.6.0-cp311-abi3-macosx_10_15_universal2.whl |
Total release size: 373.7 kB
Release files / pylibcue-0.6.0.tar.gz
| Download URL | pylibcue-0.6.0.tar.gz |
|---|---|
| Size | 81.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
43e74a80d28cf6d38a5735edc06dd666781dd26832acd5be7548e7a9e12333b3
|
|
BLAKE2b-256 checksum How to use checksums |
5c9340de412073cf6bd9b6336f67659be780b06a35cb6951e0f598b287d4c6c3
|
| 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 26, 2026.
Transparency logRelease files / pylibcue-0.6.0-cp311-abi3-win_amd64.whl
| Download URL | pylibcue-0.6.0-cp311-abi3-win_amd64.whl |
|---|---|
| Size | 74.0 kB |
| Tags | CPython 3.11 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
0495745f4967494b7e6f8d8d41b2122a945dc94458a17d10873ceffa0dcbfe01
|
|
BLAKE2b-256 checksum How to use checksums |
af9b4eee4ad18560fa71fccc90a3d909a0ce8c373ab15c56d76d358a70f5473d
|
| 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 26, 2026.
Transparency logRelease files / pylibcue-0.6.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | pylibcue-0.6.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 89.4 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
0bcb6b5edda7706dc803538409635d553589ae8f8631a838c3052dbaaae871f4
|
|
BLAKE2b-256 checksum How to use checksums |
d78d406f7121689fd9086e2b5db2e0c717c73573c8deebd613427d708845abb4
|
| 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 26, 2026.
Transparency logRelease files / pylibcue-0.6.0-cp311-abi3-macosx_10_15_universal2.whl
| Download URL | pylibcue-0.6.0-cp311-abi3-macosx_10_15_universal2.whl |
|---|---|
| Size | 128.7 kB |
| Tags | CPython 3.11 abi3 macOS 10.15+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
9dc7a2e257bcf38b1e9ab7b8d0d0b5d7bee3161466a86c818219c0316c93bfb4
|
|
BLAKE2b-256 checksum How to use checksums |
75f32333f69ce088c3f1220219cc2da0a335a254ff81ab05914352621fefd7d4
|
| 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 26, 2026.
Transparency logSecurity for pylibcue 0.6.0
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 4 files in this release have been uploaded with provenance metadata.
Attestation for pylibcue-0.6.0.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 26, 2026.
Transparency logA 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.