Skip to main content

Create CD, DVD, DVD Dual Layer, and BluRay ISO images under Windows directly from Python

Project description

Create CD, DVD, DVD Dual Layer, and BluRay ISO images under Windows directly from python.

* No physical drives or additonal software required
* Light-weight
* Free
* Open source

pyIMAPI exposes built-in Windows Image Mastering API functionality.

Support has also been added to mount ISO images using PowerShell Mount-DiskImage. Currently, pyIMAPI only uses ISO9660 mode when creating ISOs. Other IMAPI functionality like Joliet format and Redbook Audio is not currently supported, but can be added.

Release Notes for v0.4.0b2

## What's New
* Support for DVD, DVDDL (DVD Dual Layer), and BluRay physical media formats (allows creating larger iso images)
* Mount Images using Powershell in Windows 8 and later
* "Extract" files from mounted images
* Wheel x64 Distribution for Python 3.4, 3.5, 3.6, and 3.7
## Fixes
* General Misc stability fixes
* More testing

## Example Usage

``` from __future__ import print_function
import pyIMAPI

print("writing test file")
t = open("test.txt", "w")
t.write("this test works")

print("creating default iso (\"CD\")")
o ="test.iso")

disk_types = ["CD", "DVD", "DVDDL", "BluRay"]

for dt in disk_types:
specific_physical_media_test_filename = dt+"-test.txt"
t = open(specific_physical_media_test_filename, "w")
t.write("this "+ dt +" test works")

o ="-test.iso", disk_type=dt)

print("opening created iso")
i ="test.iso", "r")

print("extracting file")
i.extract("test.txt", "./test-extracted.txt")

print("opening source and extracted files")
t = open("test.txt")
t2 = open("test-extracted.txt")

print("comparing files")
for line in t:
extracted =
if extracted != line:
print("error files don't match")

print("extracted file matches original") ```


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pyIMAPI-0.4.0b2-cp27-cp27m-win_amd64.whl (19.8 kB) Copy SHA256 hash SHA256 Wheel cp27 Jun 25, 2018
pyIMAPI-0.4.0b2-cp34-cp34m-win_amd64.whl (22.6 kB) Copy SHA256 hash SHA256 Wheel cp34 Jun 25, 2018
pyIMAPI-0.4.0b2-cp35-cp35m-win_amd64.whl (23.7 kB) Copy SHA256 hash SHA256 Wheel cp35 Jun 25, 2018
pyIMAPI-0.4.0b2-cp36-cp36m-win_amd64.whl (23.7 kB) Copy SHA256 hash SHA256 Wheel cp36 Jun 25, 2018
pyIMAPI-0.4.0b2-cp37-cp37m-win_amd64.whl (23.7 kB) Copy SHA256 hash SHA256 Wheel cp37 Jun 25, 2018
pyIMAPI-0.4.0b2.tar.gz (1.4 MB) Copy SHA256 hash SHA256 Source None Jun 25, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page