A simple Pythonic interface for libFLAC.
FLAC stands for Free Lossless Audio Codec, an audio format similar to MP3, but lossless, meaning that audio is compressed in FLAC without any loss in quality. This is similar to how Zip works, except with FLAC you will get much better compression because it is designed specifically for audio.
pyFLAC allows you to encode and decode raw audio data directly to/from a file, or in real-time using callbacks.
Installation
You can use pip to download and install the latest release with a single command.
pip3 install pyflac
Supported platforms
macOS (Intel/Apple Silicon)
Linux (x86_64/arm64)
RPi Zero/2/3/4
Windows 8/10/11
CLI
pyFLAC comes bundled with a command line tool to quickly convert between WAV and FLAC files. For more information, print the help info.
pyflac --help
Metadata
Release files for pyFLAC 3.0.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 |
|---|---|---|---|---|
| pyFLAC-3.0.0.tar.gz | 1.8 MB | Without provenance | Details for pyFLAC-3.0.0.tar.gz |
Release files / pyFLAC-3.0.0.tar.gz
| Download URL | pyFLAC-3.0.0.tar.gz |
|---|---|
| Size | 1.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
825d920e696f61493249afa2f7fd2fb42d7e7d2884a7b3e8b6ad1d76b5998119
|
|
BLAKE2b-256 checksum How to use checksums |
2a834f3e184618b1847d3b9905adc134ce016d32712151cc2c478d36f09727ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.1
|
Security for pyFLAC 3.0.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.