standard-aifc
Standard library aifc redistribution. "dead battery".
What it is and what it does
standard-aifc is a pure-Python redistribution of the aifc module that Python removed from its standard library as part of PEP 594's "dead batteries" initiative. The aifc module reads and writes audio interchange files, a format used primarily in legacy audio workflows. It depends on standard-chunk and audioop-lts, both also removed standard library modules now available as redistributions.
This package is intended for projects that still depend on aifc after its removal from the standard library. The repository explicitly states it provides only minimal compatibility support and is not actively developed—it serves as an archive of the removed code rather than an actively maintained audio library. If you need aifc for legacy code migration or maintaining older projects, this provides a path forward; for new audio work, you should consider actively maintained alternatives.
Use it for:
- Migrating legacy Python code that imports aifc after upgrading to Python 3.13 or later.
- Maintaining older projects that read or write AIFF audio files without rewriting audio handling logic.
- Providing aifc as a dependency when you cannot modify upstream code that relies on the standard library version.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides the aifc module, a pure-Python redistribution of Python's removed standard library for reading and writing audio interchange files.
Yes, if you have legacy code that depends on aifc and you cannot refactor it to use an alternative audio library. Install it as a drop-in replacement for the removed standard library module. No, if you are starting new audio work—seek actively maintained audio libraries instead. The package is stable but dormant, so expect no new features or active maintenance.
Install
standard-aifc on PyPI
pip
pip install standard-aifcuv
uv add standard-aifcpoetry
poetry add standard-aifcInstalling standard-aifc
Before you install
Low install friction with a wheel distribution. Maintenance is dormant—the latest release was 2024-10-30 and the repository remains unarchived. This is intentional: the package is designed as a minimal archive of removed standard library code with very limited compatibility support.
License in practice
Licensed under PSF-2.0 (Python Software Foundation License), a permissive license. No restrictions on use, modification, or distribution for your own projects.
Quickstart
pip install standard-aifc
import aifc
with aifc.open('file.aiff', 'rb') as f:
frames = f.readframes(f.getnframes())
Verify before relying
- Whether aifc works correctly on Python 3.13 (the package version targets 3.13.0 but no recent test results are documented).
- Compatibility with modern audio formats and whether this module meets current use cases or is primarily for legacy code migration.
Package facts
| License | PSF-2.0 (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — standard-chunk, audioop-lts |
| Maintenance | dormant — 653 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 3,872,716/month — #2,470 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: standard_aifc-3.13.0-py3-none-any.whl
Keywords: stdlib
Tags
More Libraries packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
python-dateutilProvides parsing, arithmetic, and recurrence…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
standard-sunauProvides the sunau module, a standard library…
permissive · top 5,000 on PyPI
standard-chunkProvides the chunk module, a removed Python…
permissive · top 5,000 on PyPI
standard-telnetlibProvides the telnetlib module removed from…
permissive · top 15,000 on PyPI
standard-distutilsProvides the distutils module from Python's…
permissive · top 15,000 on PyPI
standard-imghdrProvides the `imghdr` module, a Python standard…
permissive · top 5,000 on PyPI
audioreadDecode audio files using whichever backend is…
permissive · top 5,000 on PyPI
legacy-cgiProvides the cgi and cgitb modules removed from…
permissive · top 5,000 on PyPI
pycawPycaw provides programmatic control of Windows…
unclear · top 15,000 on PyPI
opuslibProvides Python bindings to libopus, the IETF…
permissive · top 15,000 on PyPI
audioop-ltsProvides the `audioop` module for Python 3.13+,…
permissive · top 5,000 on PyPI