The repository or configuration that created this release differ from a previous release. View details.
pysacd
pysacd reads SACD (Scarletbook) images, and PS3 SACD Ripper servers, straight from Python,
and writes DSF, DFF (DSDIFF), WAV and FLAC in one pass with its multithreaded C engine. It also ships
pysacd-extract, a clean-room, drop-in replacement for sacd_extract: the same options, the
same file names, the same bytes.
Platforms
| System | How | Guide |
|---|---|---|
| Linux | Wheels on PyPI for x86-64 and aarch64 with glibc 2.28 or later (manylinux), and x86-64 with musl 1.2 or later (musllinux). Engine, libFLAC and the scarletbook library included. Run-tested on the release's CI runners | install |
| macOS | Wheels for Apple Silicon (macOS 11 or later) and Intel (macOS 10.13 or later). Not code-signed or notarised. Run-tested on macOS 15 only, on CI | install |
| Windows | Wheel for x86-64: py -m pip install pysacd, no compiler needed. Not code-signed. Run-tested on the release's CI runner |
install on Windows |
| Anything else | Builds from source with a C compiler and make (libFLAC for FLAC output) | from source · development |
Every wheel is for Python 3.10 or later and carries a build provenance attestation on its
GitHub release, checkable with
gh attestation verify. On any system, pysacd also reads discs over the network from a PS3 or
Blu-ray player running SACD Ripper (reading from a PS3).
Quick start
You need Python 3.10 or later and an SACD image. The commands use
album.iso in the current folder; type your image's name instead. On Windows, get Python from the
python.org installer and tick Add python.exe to PATH
on its first screen; the Windows commands are in the box after step 1, and
install on Windows has the details.
-
Install pysacd in a virtual environment of its own (Linux and macOS):
python3 -m venv pysacd-env . pysacd-env/bin/activate # facts:install kind=pip name=pysacd pip install pysacd # /facts
On Windows, open PowerShell and run this instead (it installs into your Python rather than a virtual environment); the rest of the steps work unchanged, with your image's path in place of
album.iso:py -m pip install pysacd pysacd --version
-
Read the disc's table of contents: album, areas and tracks.
pysacd toc album.iso
You should see
Disc:with the artist and title, then a line per area and one per track. -
Extract the stereo area to DSF files, as
sacd_extractwould:pysacd-extract -2 -s -i album.iso
You should see
Exporting DSF output in folder:and the album's title, then a folder of that name with one.dsffile per track. On a disc that also has a multichannel area, the tracks are in aStereofolder inside it, assacd_extractwrites them.
Next: FLAC and WAV with your own naming and MusicBrainz tags in converting, building from source in install, a tour of the commands in the user guide, and the Python API.
Documentation
The documentation index lists every document and its sections.
- Why pysacd: what it brings, a first Python example, and the author's note
- Install: wheels, checking a download, building from source; on Windows
- User guide: a tour of the commands, and troubleshooting
- pysacd-extract: migrating from
sacd_extract, compatibility policy - Converting: naming templates, tags, MusicBrainz, gapless PCM
- Python API · reading from a PS3 · logging
- Performance · security · clean room and licences
- Development · contributing · changelog · releases · releases by major version
Licence and credits
pysacd's code is free software under the GNU General Public License, version 2 or (at
your option) any later version (GPL-2.0-or-later) (licences).
The text of this README, the documentation in docs/ (the PCM quality pages in docs/quality/
and the icon files in docs/assets/ included) and the measurement data published in it are
licensed under CC BY 4.0 (CC-BY-4.0). One part keeps its own terms:
the protobuf message definitions under "Messages" in the
PS3 protocol page are adapted from sacd-ripper's
libs/libsacd/sacd_ripper.proto, and stay under sacd-ripper's licence, GPL-2.0-or-later.
To cite pysacd, use CITATION.cff.
-
dsd2pcm (MIT OR Apache-2.0, used under MIT) 0.2 or later converts DSD to PCM, with its
precisefilter by default or thepysacdfilter that pysacd contributed; it is linked into the engine with the Rust standard library. -
scarletbook-rs (MIT OR Apache-2.0, used under MIT) reads the images, decodes DST and lays out DSF and DSDIFF files; it is linked into the engine with the Rust standard library and its crates (MIT OR Apache-2.0, used under MIT).
-
sacd-spec: the specification and corpus scarletbook-rs was written from.
-
libFLAC, and on Windows libogg (BSD-3-Clause), are linked into the wheels for FLAC output; the musllinux wheel carries GCC's
libgcc_s(GPL-3.0-or-later with the GCC Runtime Library Exception). mutagen (GPL-2.0-or-later) writes tags. -
The first DSD-to-PCM stage uses Sebastian Gesemann's byte-wise lookup-table technique (BSD-3-Clause), credited by dsd2pcm.
-
sacd-ripper:
sacd_extract's behaviour, whichpysacd-extractreproduces, used only as a compiled binary. pysacd speaks the PS3 SACD Ripper homebrew's network protocol. -
FFmpeg's DST decoder by Peter Ross (LGPL-2.1-or-later) was the base of pysacd's own DST decoder up to 0.2.
-
MusicBrainz and the Cover Art Archive supply tags and covers.
Details in clean room and licences and licenses/.
Part of the DSD Toolbox.
Metadata
Release files for pysacd 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Change of provenance
The repository or configuration that created these release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pysacd-0.6.0.tar.gz | 458.8 kB | With provenance | Details for pysacd-0.6.0.tar.gz |
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| pysacd-0.6.0-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details for pysacd-0.6.0-py3-none-win_amd64.whl |
| pysacd-0.6.0-py3-none-musllinux_1_2_x86_64.whl | Python 3 | none | Linux musl 1.2+ x86-64 | Details for pysacd-0.6.0-py3-none-musllinux_1_2_x86_64.whl |
| pysacd-0.6.0-py3-none-manylinux_2_28_x86_64.whl | Python 3 | none | Linux glibc 2.28+ x86-64 | Details for pysacd-0.6.0-py3-none-manylinux_2_28_x86_64.whl |
| pysacd-0.6.0-py3-none-manylinux_2_28_aarch64.whl | Python 3 | none | Linux glibc 2.28+ ARM64 | Details for pysacd-0.6.0-py3-none-manylinux_2_28_aarch64.whl |
| pysacd-0.6.0-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details for pysacd-0.6.0-py3-none-macosx_11_0_arm64.whl |
| pysacd-0.6.0-py3-none-macosx_10_13_x86_64.whl | Python 3 | none | macOS 10.13+ x86-64 | Details for pysacd-0.6.0-py3-none-macosx_10_13_x86_64.whl |
Total release size: 12.7 MB
Release files / pysacd-0.6.0.tar.gz
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | pysacd-0.6.0.tar.gz |
|---|---|
| Size | 458.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a4c17f3a5c2bf68f302a205f29e777500c37b3ce5a5a1863aba6959e78a7b213
|
|
BLAKE2b-256 checksum How to use checksums |
131135a5359dfaf3cd80e05395a6b40dd2522718ef66f9fb532c9e2fb181e1b8
|
| 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 25, 2026.
Transparency logRelease files / pysacd-0.6.0-py3-none-win_amd64.whl
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | pysacd-0.6.0-py3-none-win_amd64.whl |
|---|---|
| Size | 2.5 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
752e5c5553efb74039628fb8c4271ecc038c4c7d5a60623f0b5385412aa594bc
|
|
BLAKE2b-256 checksum How to use checksums |
e4a293ff7c5f8234a1c4c3a8b80a83e25ce84ce4f5e60d2f1bef14a0358fb686
|
| 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 25, 2026.
Transparency logRelease files / pysacd-0.6.0-py3-none-musllinux_1_2_x86_64.whl
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | pysacd-0.6.0-py3-none-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 2.2 MB |
| Tags | Linux musl 1.2+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
837713432a8394a15adea8e3e27206a11a3ebb10ada5dc3011d3aa7f14f04fe3
|
|
BLAKE2b-256 checksum How to use checksums |
5df26e6c78115d939667136d4e39ff99e835477e7930a2699e5e250d577dce3c
|
| 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 25, 2026.
Transparency logRelease files / pysacd-0.6.0-py3-none-manylinux_2_28_x86_64.whl
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | pysacd-0.6.0-py3-none-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.1 MB |
| Tags | Linux glibc 2.28+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
889da91d9702fe048af053922a21e60e09911f9e7046b937e4f56f041979d4be
|
|
BLAKE2b-256 checksum How to use checksums |
af0dc6f43d7986c1fd0a3c1b2048cf81aa315badb1d20a7f07a71fa209370e06
|
| 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 25, 2026.
Transparency logRelease files / pysacd-0.6.0-py3-none-manylinux_2_28_aarch64.whl
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | pysacd-0.6.0-py3-none-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 1.8 MB |
| Tags | Linux glibc 2.28+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
fa40f19d510f65cad0d02eea8a61923d530802a36c3df7c0a686f41667ac4bd5
|
|
BLAKE2b-256 checksum How to use checksums |
c7cef118a4a876df3d9f47b088310f2cfb5c311a96b1faf6f80150772f73d1e7
|
| 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 25, 2026.
Transparency logRelease files / pysacd-0.6.0-py3-none-macosx_11_0_arm64.whl
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | pysacd-0.6.0-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.7 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
b32b205feba244256c20280d5253e7479b7c2d2ccc228025b675bacee875f24e
|
|
BLAKE2b-256 checksum How to use checksums |
3cadb4214d305b26ee49a928bd2de7d0d765351bc8eb891a36329a87d10e688c
|
| 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 25, 2026.
Transparency logRelease files / pysacd-0.6.0-py3-none-macosx_10_13_x86_64.whl
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | pysacd-0.6.0-py3-none-macosx_10_13_x86_64.whl |
|---|---|
| Size | 1.9 MB |
| Tags | Python 3 macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
5f2953466570ce64eb596b2a840005f47f464971e4f62ed1ae0aeb7f7fdb4684
|
|
BLAKE2b-256 checksum How to use checksums |
53398675db95212a7c6e13499b657ef8addd5965f09530df18b62a426f3e493e
|
| 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 25, 2026.
Transparency logSecurity for pysacd 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.
Change of provenance
The repository and configuration that created this release differ from a previous release.
While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.
Repository
- Removed 0.5.5 github.com/aclater/pysacd
- Added 0.6.0 github.com/dsd-toolbox/pysacd
Attestation for pysacd-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 25, 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.