Skip to main content
https://raw.githubusercontent.com/sonos/pyFLAC/develop/assets/logo-white-background.jpg https://github.com/sonos/pyFLAC/actions/workflows/lint.yml/badge.svg https://github.com/sonos/pyFLAC/actions/workflows/test.yml/badge.svg https://coveralls.io/repos/github/sonos/pyFLAC/badge.svg https://readthedocs.org/projects/pyflac/badge https://badge.fury.io/py/pyFLAC.svg https://img.shields.io/pypi/pyversions/pyFLAC

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)

Source distribution for pyFLAC 3.0.0
File Size Uploaded
pyFLAC-3.0.0.tar.gz 1.8 MB Details

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

Release history Release notifications | RSS feed

This release

3.0.0 This release

1 release file

2.2.0

1 release file

2.1.0

1 release file

2.0.0

1 release file

1.0.0

1 release file

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