$npx skillfedfor your agent

lameenc

LAME encoding bindings

With conditionsPyPI ConversionReleased Jun 2026830.6K downloads / moLGPL-3.0-or-laterPlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — lameenc-1.8.4-cp310-cp310-macosx_10_9_universal2.whl · lameenc-1.8.4-cp310-cp310-macosx_11_0_arm64.whl · lameenc-1.8.4-cp310-cp310-manylinux1_i686.manylinux_2_34_i686.manylinux_2_5_i686.whl
v1.8.4 · released 2026-06-27 · Python >=3.10

Yes, if you need to encode PCM audio to MP3 in Python and can accept LGPL-3.0-or-later licensing. The package is actively maintained, has no known vulnerabilities, and provides prebuilt wheels for common platforms. The medium install friction is acceptable for a compiled binding. Verify that prebuilt wheels cover your target Python version and architecture before committing.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; input audio must be raw PCM data in 16-bit interleaved format.
  • Medium install friction due to compiled bindings, but prebuilt wheels are available for current Python versions (3.10+) across Linux, macOS, and Windows architectures.
  • Package is actively maintained with recent releases.

License · maintenance · safety

LGPL-3.0-or-later (copyleft) — Licensed under LGPL-3.0-or-later (copyleft). Derivative works and distributions must comply with copyleft obligations; proprietary applications linking this library may require license review.

last release 2026-06-27 (48 days) · last repo commit 2026-06-27 · 63 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 830,558 downloads/mo, #4,947 on PyPI

Verify before relying

import lameenc
encoder = lameenc.Encoder()
encoder.set_bit_rate(128)
encoder.set_in_sample_rate(16000)
encoder.set_channels(2)
encoder.set_quality(2)
mp3_data = encoder.encode(interleaved_pcm_data)
mp3_data += encoder.flush()
  • Whether prebuilt wheels cover all target platforms and Python patch versions you need
  • Performance characteristics and memory overhead for large audio streams
  • Compatibility with alternative LAME versions or system-installed LAME libraries
Same gist for agents: .md · .json

What it is and what it does

lameenc is a Python wrapper around the LAME MP3 encoder, providing direct access to LAME's encoding functionality through a simple object-oriented interface. It accepts raw PCM audio data in 16-bit interleaved format and outputs MP3-encoded bytes, with control over bitrate, sample rate, channel count, and encoding quality. The library ships with prebuilt wheels for Linux, macOS, and Windows, eliminating the need to compile LAME yourself.

The package is designed for applications that need to encode audio programmatically—such as real-time transcoding, batch audio processing, or streaming audio services. It requires Python 3.10 or later and has no runtime dependencies beyond the compiled LAME bindings. The encoder is stateful: you configure it once, call encode() repeatedly with audio chunks, then call flush() at the end to finalize the stream.

Use it for

  • Encode raw audio streams to MP3 in real-time applications like voice recording or VoIP systems
  • Batch convert PCM audio files to MP3 format with configurable quality and bitrate
  • Build audio processing pipelines that need to compress audio before transmission or storage
  • Integrate MP3 encoding into media server or transcoding service backends

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need to encode PCM audio to MP3 in Python and can accept LGPL-3.0-or-later licensing.

The package is actively maintained, has no known vulnerabilities, and provides prebuilt wheels for common platforms. The medium install friction is acceptable for a compiled binding. Verify that prebuilt wheels cover your target Python version and architecture before committing.

Install

lameenc on PyPI

Before you install

Medium install friction due to compiled bindings, but prebuilt wheels are available for current Python versions (3.10+) across Linux, macOS, and Windows architectures. Package is actively maintained with recent releases.

Requires Python 3.10 or later; input audio must be raw PCM data in 16-bit interleaved format.

License in practice

Licensed under LGPL-3.0-or-later (copyleft). Derivative works and distributions must comply with copyleft obligations; proprietary applications linking this library may require license review.

Quickstart

import lameenc
encoder = lameenc.Encoder()
encoder.set_bit_rate(128)
encoder.set_in_sample_rate(16000)
encoder.set_channels(2)
encoder.set_quality(2)
mp3_data = encoder.encode(interleaved_pcm_data)
mp3_data += encoder.flush()

Verify before relying

  • Whether prebuilt wheels cover all target platforms and Python patch versions you need
  • Performance characteristics and memory overhead for large audio streams
  • Compatibility with alternative LAME versions or system-installed LAME libraries

Package facts

LicenseLGPL-3.0-or-later copyleft
Python supportSupports the current Python release >=3.10
Install frictionMedium. Platform-specific wheel
Runtime dependenciesNone
MaintenanceActively maintained 48 days since the last release
Last repo commit
First released
Downloads830,558 / month, #4,947 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Operating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3 :: OnlyTopic :: Multimedia :: Sound/Audio :: Conversion

Evidence: lameenc-1.8.4-cp310-cp310-macosx_10_9_universal2.whl; lameenc-1.8.4-cp310-cp310-macosx_11_0_arm64.whl; lameenc-1.8.4-cp310-cp310-manylinux1_i686.manylinux_2_34_i686.manylinux_2_5_i686.whl; lameenc-1.8.4-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; lameenc-1.8.4-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_34_aarch64.whl; lameenc-1.8.4-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl; lameenc-1.8.4-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_34_x86_64.whl; lameenc-1.8.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl; lameenc-1.8.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl; lameenc-1.8.4-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_24_i686.whl; lameenc-1.8.4-cp310-cp310-win32.whl; lameenc-1.8.4-cp310-cp310-win_amd64.whl; lameenc-1.8.4-cp311-cp311-macosx_10_9_universal2.whl; lameenc-1.8.4-cp311-cp311-macosx_11_0_arm64.whl; lameenc-1.8.4-cp311-cp311-manylinux1_i686.manylinux_2_34_i686.manylinux_2_5_i686.whl; lameenc-1.8.4-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; lameenc-1.8.4-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_34_aarch64.whl; lameenc-1.8.4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl; lameenc-1.8.4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_34_x86_64.whl; lameenc-1.8.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl

Tags

Capabilities
mp3 encoder pythonlame bindingspcm to mp3 conversionaudio encoding librarymp3 encodinglame wrapperaudio compression python
Topics
audio-encodingmp3lame-wrapper

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “mp3 encoder python”

  • lameencWraps LAME MP3 encoder for Python, providing bindings to encode raw…
  • eyeD3eyeD3 reads, edits, and displays ID3 metadata tags in MP3 files via…
  • mutagenMutagen reads and writes audio metadata (tags) across many audio…

Give your agent the search over MCP, or paste the wish link into any chat.

More Conversion packages

pydub With conditions
PyPI · Libraries · released Mar 2021

Pydub provides a high-level Python interface for loading, manipulating, and exporting audio files with simple operations like slicing, concatenation, and format conversion.

However, the abandoned status since 2021-03-10 means no future fixes or compatibility updates—use it only if you can tolerate potential issues with newer Python…

MITpure Pythonabandoned
21.0Mdownloads / mo
soxr Worth it
PyPI · Scientific/Engineering · released May 2026

Performs high-quality sample-rate conversion (resampling) for audio signals, supporting both one-shot and streaming modes via a Python wrapper around libsoxr.

LGPL-2.1-or-latercompiled wheel · 3.9+
11.2Mdownloads / mo
audioread Worth it
PyPI · Conversion · released Oct 2025

Decode audio files using whichever backend is available on the system, supporting GStreamer, Core Audio, MAD, FFmpeg, and standard library formats.

Install it if you need to read audio files and want to avoid tight coupling to a specific decoder library.

MITpure Python · 3.9+
9.7Mdownloads / mo
cloudinary Worth it
PyPI · Python Modules · released Jul 2026

Cloudinary Python SDK provides image and video upload, transformation, optimization, and delivery through Cloudinary's cloud platform, with built-in Django integration and secure URL generation.

Install it if you're using Cloudinary or considering a managed media platform.

MITpure Python
2.3Mdownloads / mo
miniaudio Worth it
PyPI · Sound/Audio · released Apr 2026

Miniaudio provides Python bindings for cross-platform audio playback, recording, decoding, and sample format conversion using the miniaudio C library.

MITcompiled wheel · 3.8+
674.9Kdownloads / mo
music21 With conditions
PyPI · Python Modules · released Jun 2026

music21 is a Python toolkit for analyzing, processing, and computationally working with musical scores and MIDI data, supporting symbolic music representation and analysis workflows.

BSD-3-Clausepure Python · 3.11+
409.5Kdownloads / mo

See also silk-python · opuslib-next · playsound · mutagen · audiofile · tinytag · descript-audio-codec · audiolab