--- id: pycdlib version: "1.20.0" license: LGPL-2.1-only license_treatment: copyleft maintenance: active --- # pycdlib — Pure python ISO manipulation library License: copyleft · Maintenance: active · Downloads: 1.0M/mo ## What it is and what it does PyCdlib is a pure Python implementation for working with ISO9660 disc images—the standard format for CDs, DVDs, and USB boot media. It handles the ISO9660 specification and supports extensions including El Torito for bootability, Joliet for long filenames on Windows, Rock Ridge for Unix-like systems, and UDF for modern optical media. With no external dependencies, it runs on any Python 3.10+ environment. Typical use cases include programmatically creating bootable ISO images, parsing existing disc images to extract or inspect files, and writing modified images back to disk. The library is suitable for automation tasks, system tools, and applications that need to generate or manipulate disc media without relying on system-level tools. Use it for: - Create bootable ISO images for Linux distributions or Windows installers programmatically. - Parse and extract files from existing ISO9660 images without external tools. - Generate custom disc images with Joliet or Rock Ridge extensions for cross-platform compatibility. - Build automated workflows that manipulate ISO metadata and file hierarchies. - Write disc images to USB media or virtual machines in CI/CD pipelines. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. PyCdlib is a pure Python library for parsing, creating, and writing ISO9660 disc image files, supporting extensions like El Torito, Joliet, Rock Ridge, and UDF. Yes. The package is actively maintained, has no external dependencies, supports current Python versions (3.10 through 3.14), carries no known vulnerabilities, and fills a genuine need for ISO manipulation in pure Python. The LGPL-2.1-only license is permissive for most use cases but requires attention if you plan to distribute derivative works. ## Install pip install pycdlib uv add pycdlib poetry add pycdlib ## Installing pycdlib Before you install: Low install friction with no runtime dependencies; actively maintained with a release 9 days old and commits as recent as 2026-08-11. License in practice: Licensed under LGPL-2.1-only (copyleft); derivative works and distributions must include source code and license terms. Quickstart: pip install pycdlib import pycdlib iso = pycdlib.PyCdlib() iso.new() iso.add_file('/path/to/file.txt', '/FILE.;1') iso.write('/tmp/output.iso') Requires Python 3.10 or later. Verify before relying: - Whether the library handles large ISO images efficiently or has known performance limitations. - Support for modern UDF versions and compliance with current ISO9660 standards beyond the original specification. - Specific Rock Ridge version support and compatibility with various Unix-like systems. ## Package facts - License: LGPL-2.1-only (copyleft) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 1.0M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags ISO9660 file creation, CD image manipulation, parse ISO files, create bootable ISO, UDF disc image, Joliet Rock Ridge support, write ISO to USB, iso-image, disc-authoring, bootable-media [View on SkillFed](https://skillfed.io/packages/pycdlib) · [View on PyPI](https://pypi.org/project/pycdlib/)