Skip to main content

CUE sheet parser library for Python.

Project description

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.

Note: since v0.2.1, pylibcue uses libcue fork with custom patches (Cycloctane/libcue) instead of original libcue to provide additional bugfixes and features.

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.

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

pylibcue-0.5.1.tar.gz (71.2 kB view details)

Uploaded Source

Built Distributions

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

pylibcue-0.5.1-cp314-cp314-win_amd64.whl (73.4 kB view details)

Uploaded CPython 3.14Windows x86-64

pylibcue-0.5.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (96.1 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

pylibcue-0.5.1-cp314-cp314-macosx_10_15_universal2.whl (134.4 kB view details)

Uploaded CPython 3.14macOS 10.15+ universal2 (ARM64, x86-64)

pylibcue-0.5.1-cp313-cp313-win_amd64.whl (72.0 kB view details)

Uploaded CPython 3.13Windows x86-64

pylibcue-0.5.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (96.1 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

pylibcue-0.5.1-cp313-cp313-macosx_10_13_universal2.whl (134.1 kB view details)

Uploaded CPython 3.13macOS 10.13+ universal2 (ARM64, x86-64)

pylibcue-0.5.1-cp312-cp312-win_amd64.whl (72.3 kB view details)

Uploaded CPython 3.12Windows x86-64

pylibcue-0.5.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (96.6 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

pylibcue-0.5.1-cp312-cp312-macosx_10_13_universal2.whl (135.2 kB view details)

Uploaded CPython 3.12macOS 10.13+ universal2 (ARM64, x86-64)

pylibcue-0.5.1-cp311-cp311-win_amd64.whl (71.8 kB view details)

Uploaded CPython 3.11Windows x86-64

pylibcue-0.5.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (95.9 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pylibcue-0.5.1-cp311-cp311-macosx_10_9_universal2.whl (135.0 kB view details)

Uploaded CPython 3.11macOS 10.9+ universal2 (ARM64, x86-64)

pylibcue-0.5.1-cp310-cp310-win_amd64.whl (71.8 kB view details)

Uploaded CPython 3.10Windows x86-64

pylibcue-0.5.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (95.6 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pylibcue-0.5.1-cp310-cp310-macosx_10_9_universal2.whl (134.4 kB view details)

Uploaded CPython 3.10macOS 10.9+ universal2 (ARM64, x86-64)

File details

Details for the file pylibcue-0.5.1.tar.gz.

File metadata

  • Download URL: pylibcue-0.5.1.tar.gz
  • Upload date:
  • Size: 71.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pylibcue-0.5.1.tar.gz
Algorithm Hash digest
SHA256 d6243adacf8ed1ad428becec518e8c66697275a362b3487411c4485bb72fadfd
MD5 220abb1b4b2cde8ba756e2c1120b9b0c
BLAKE2b-256 3ea1d11f1cb5f17ac17dd98166d37d2a7704f8bacf1ab8da097ec8eadeb6180d

See more details on using hashes here.

Provenance

The following attestation bundles were made for pylibcue-0.5.1.tar.gz:

Publisher: ci-cd.yml on Cycloctane/pylibcue

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pylibcue-0.5.1-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: pylibcue-0.5.1-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 73.4 kB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pylibcue-0.5.1-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 6e3db7bc1b926269301d9d30b42deda35ed4604f193d7644824e9647de27c9de
MD5 a071e5f77880f950072983f39870c0a4
BLAKE2b-256 971851d52116742313c4cd6f752d890b95092cbcfbd95efdf18f2c9e1c59fcd3

See more details on using hashes here.

Provenance

The following attestation bundles were made for pylibcue-0.5.1-cp314-cp314-win_amd64.whl:

Publisher: ci-cd.yml on Cycloctane/pylibcue

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pylibcue-0.5.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for pylibcue-0.5.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 1d79e0bf85e317f3aa806b0c0aae678a0b31e01d6ce10d468d467bb0d18986ac
MD5 1ce690dfe4d33fd1586f8685043cb844
BLAKE2b-256 38b1db9eb93e03abfbeb9087f5bed5c6fd3a959d982c0d01aba3375929efba67

See more details on using hashes here.

Provenance

The following attestation bundles were made for pylibcue-0.5.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: ci-cd.yml on Cycloctane/pylibcue

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pylibcue-0.5.1-cp314-cp314-macosx_10_15_universal2.whl.

File metadata

File hashes

Hashes for pylibcue-0.5.1-cp314-cp314-macosx_10_15_universal2.whl
Algorithm Hash digest
SHA256 ffa21f073c98449519ae840e04f3e328e464790be3ccc5f25f31ce7fc4b245a9
MD5 51af393d38dbd8221aa172eaa0cdfeb7
BLAKE2b-256 a61c57faa834bc393c5565915b9f4bfe748552371cd906d63a6fa27d742a5818

See more details on using hashes here.

Provenance

The following attestation bundles were made for pylibcue-0.5.1-cp314-cp314-macosx_10_15_universal2.whl:

Publisher: ci-cd.yml on Cycloctane/pylibcue

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pylibcue-0.5.1-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: pylibcue-0.5.1-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 72.0 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pylibcue-0.5.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 4882d6ed2849203e2ce9b1f4aed2b014b79221e9f0746bb94f8097e631b7dc3f
MD5 4f7204bcbc99f865192528b051ec3cb7
BLAKE2b-256 6daa8283610a9b677f27ca1083f764b285a3d929aed3b6e9eaf88bbc6fe5902e

See more details on using hashes here.

Provenance

The following attestation bundles were made for pylibcue-0.5.1-cp313-cp313-win_amd64.whl:

Publisher: ci-cd.yml on Cycloctane/pylibcue

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pylibcue-0.5.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for pylibcue-0.5.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 9b807c825409f80e8a51c58bb831b0db18345bb6acfa92ac68cc79bea37aac43
MD5 4641a848c92f6b2fab0ee6038115abbc
BLAKE2b-256 a67a9dc01816367bdd96a297bc4f74340a3653a0da92afa8049711b2e4f45f0e

See more details on using hashes here.

Provenance

The following attestation bundles were made for pylibcue-0.5.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: ci-cd.yml on Cycloctane/pylibcue

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pylibcue-0.5.1-cp313-cp313-macosx_10_13_universal2.whl.

File metadata

File hashes

Hashes for pylibcue-0.5.1-cp313-cp313-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 890c77baa65da80f46d6c4eedb7ed2fd3eab29495260ce66a74c3988db304dc3
MD5 eb9ba3c3d6d399374cccb51ee3905ba8
BLAKE2b-256 eace3be83532a8954d0e37054034d3b1e10a3fd6e916e90f7c36b08076b6823f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pylibcue-0.5.1-cp313-cp313-macosx_10_13_universal2.whl:

Publisher: ci-cd.yml on Cycloctane/pylibcue

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pylibcue-0.5.1-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: pylibcue-0.5.1-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 72.3 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pylibcue-0.5.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 e2d6a2baf3ad990970d14988a13868e471246d902eccac4f1ab368923d87d58e
MD5 14952e04ef06fc2d9cde5c3161f55fa2
BLAKE2b-256 8b20c63f16569f9058e07820489b8e2e900152599a694640498c01a1a76b4af0

See more details on using hashes here.

Provenance

The following attestation bundles were made for pylibcue-0.5.1-cp312-cp312-win_amd64.whl:

Publisher: ci-cd.yml on Cycloctane/pylibcue

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pylibcue-0.5.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for pylibcue-0.5.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 96ee13b80a5f75de4f0e4afbb31f8076baa052ca4fbfb4c8f6a2b4ce84f9ba64
MD5 95a0ab7ea8a4f71885039fcac4b1361a
BLAKE2b-256 bcee65b0f204449e85f56102a7c137d288e9c68284785cae8512a1d5d96d3301

See more details on using hashes here.

Provenance

The following attestation bundles were made for pylibcue-0.5.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: ci-cd.yml on Cycloctane/pylibcue

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pylibcue-0.5.1-cp312-cp312-macosx_10_13_universal2.whl.

File metadata

File hashes

Hashes for pylibcue-0.5.1-cp312-cp312-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 f3efb28bbc5a2c71241cdc2898e76c289cc881e5a605f717f83642bb2121e2ad
MD5 d07259e1ea2b2a0b1fe78b2eec02ac94
BLAKE2b-256 b7f23f7bbf398e40ea853cdac3b80ce4c7941ed748fab77d8b3dcb099c6374c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for pylibcue-0.5.1-cp312-cp312-macosx_10_13_universal2.whl:

Publisher: ci-cd.yml on Cycloctane/pylibcue

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pylibcue-0.5.1-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: pylibcue-0.5.1-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 71.8 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pylibcue-0.5.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 6efca915a6704d97276cef84355837f06a8f663be494ca0791c2393dc45ce7a7
MD5 d451e04290fac5b49f176e39a7c52ad2
BLAKE2b-256 3d2312a6a86d473797844064f05cccdc64c866f224a9325b22ccbde386a55366

See more details on using hashes here.

Provenance

The following attestation bundles were made for pylibcue-0.5.1-cp311-cp311-win_amd64.whl:

Publisher: ci-cd.yml on Cycloctane/pylibcue

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pylibcue-0.5.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for pylibcue-0.5.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 371aecd7510f4816e9a324347647c5156be491c5cba7fe707cbd8de63c72d2c3
MD5 a149e31677cf445c48cf7729b8e60c13
BLAKE2b-256 66d1dea6774203e3611a154c222ca113ac11a5d383f9ae600d6bd59dec866e16

See more details on using hashes here.

Provenance

The following attestation bundles were made for pylibcue-0.5.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: ci-cd.yml on Cycloctane/pylibcue

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pylibcue-0.5.1-cp311-cp311-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for pylibcue-0.5.1-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 d947bf16bfc4609ec2af5c7a18944082f8b06c2eaf7f51f5b5bda85a11f2a747
MD5 d579b8cf995a5e4e755f35ab3e6238ec
BLAKE2b-256 0eb4633fa16ab5a525af86f05e778ea401982169104d49cb60524c7363ee43c4

See more details on using hashes here.

Provenance

The following attestation bundles were made for pylibcue-0.5.1-cp311-cp311-macosx_10_9_universal2.whl:

Publisher: ci-cd.yml on Cycloctane/pylibcue

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pylibcue-0.5.1-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: pylibcue-0.5.1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 71.8 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pylibcue-0.5.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 3aed35e496eac3300820c82983a43beac59b8c9a8716a38ad97fa54a417f7a99
MD5 5f902c5f98cea970cf901d2fa1306b3a
BLAKE2b-256 4dac4f9b815bc98a8dd6c8f3087e79f198ac50e79334ecf7d51c6378c06741af

See more details on using hashes here.

Provenance

The following attestation bundles were made for pylibcue-0.5.1-cp310-cp310-win_amd64.whl:

Publisher: ci-cd.yml on Cycloctane/pylibcue

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pylibcue-0.5.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for pylibcue-0.5.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 95bf797257168577a3345ba92d546dc795f136fff3e526f26c1499083a849985
MD5 57a11938b5385f6ecffae4d111acea9c
BLAKE2b-256 75c3bfbd2dfd25775522d8fcbef2fc85a5d850d9de63684958df960c5c692949

See more details on using hashes here.

Provenance

The following attestation bundles were made for pylibcue-0.5.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: ci-cd.yml on Cycloctane/pylibcue

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pylibcue-0.5.1-cp310-cp310-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for pylibcue-0.5.1-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 d62ad6c6257f19055d5cad7a04f3bb1b81dde27d4795784f13942f22ee8096b6
MD5 c1cd31f1d488b2b5522ebf55a09f6e8d
BLAKE2b-256 dc46e5d0233146ec5611e2bfed32302829038ddf29ebba63f5cf7db0a5a822f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for pylibcue-0.5.1-cp310-cp310-macosx_10_9_universal2.whl:

Publisher: ci-cd.yml on Cycloctane/pylibcue

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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