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")
t.close()
print("creating default iso (\"CD\")")
o = pyIMAPI.open("test.iso")
o.add("test.txt")
o.close()
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")
t.close()
o = pyIMAPI.open(dt+"-test.iso", disk_type=dt)
o.add(specific_physical_media_test_filename)
o.close()
print("opening created iso")
i = pyIMAPI.open("test.iso", "r")
print("extracting file")
i.extract("test.txt", "./test-extracted.txt")
i.close()
print("opening source and extracted files")
t = open("test.txt")
t2 = open("test-extracted.txt")
print("comparing files")
for line in t:
extracted = t2.read()
if extracted != line:
print("error files don't match")
quit()
print("extracted file matches original") ```
[Source](https://bitbucket.org/ken_long/pyIMAPI2FS)
* 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")
t.close()
print("creating default iso (\"CD\")")
o = pyIMAPI.open("test.iso")
o.add("test.txt")
o.close()
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")
t.close()
o = pyIMAPI.open(dt+"-test.iso", disk_type=dt)
o.add(specific_physical_media_test_filename)
o.close()
print("opening created iso")
i = pyIMAPI.open("test.iso", "r")
print("extracting file")
i.extract("test.txt", "./test-extracted.txt")
i.close()
print("opening source and extracted files")
t = open("test.txt")
t2 = open("test-extracted.txt")
print("comparing files")
for line in t:
extracted = t2.read()
if extracted != line:
print("error files don't match")
quit()
print("extracted file matches original") ```
[Source](https://bitbucket.org/ken_long/pyIMAPI2FS)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyIMAPI-0.4.0b2.tar.gz
(1.4 MB
view hashes)
Built Distributions
Close
Hashes for pyIMAPI-0.4.0b2-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8dbe52d70c8c82f4e8baea4568feb8f08b85cb2a4d8aca5fa6bded4defbbbed7 |
|
MD5 | 8609f0b398a3e0e5046318f801e91018 |
|
BLAKE2b-256 | 9e074f703f09f5efcd07e459138c517b65e498a0ce6d690a1069e570d23814e5 |
Close
Hashes for pyIMAPI-0.4.0b2-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 963995407c4863895a9d1c188d8a6bcf64e75becc35b7a25b09a0cfa62e1f2c6 |
|
MD5 | 688590d3265c9287af49b0dc4fc10e1d |
|
BLAKE2b-256 | 67685de356308b44688a6b418daaa495979429cc27710128790edae3f6d77211 |
Close
Hashes for pyIMAPI-0.4.0b2-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fa4f9d176baca41e0375d701ea278bc0941f1bbe592a159a909ed621701e0cf |
|
MD5 | 822e9df3a9948e065313a5e89ec1b625 |
|
BLAKE2b-256 | 516389227722c3637044662ca6469600fd5fbced27ae7b89dbcf0f4ac2f364a4 |
Close
Hashes for pyIMAPI-0.4.0b2-cp34-cp34m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b597548ddfb1f291dd6ab6f987e56343235315be832f9fe04a3a40dfce07a35 |
|
MD5 | b58b6108b53fa6948ed357d2463ffc60 |
|
BLAKE2b-256 | 6147794212be89807bac519a189f51c801ae2e95290333bd8f0ce01d4e05d3a4 |
Close
Hashes for pyIMAPI-0.4.0b2-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82fca936008c9c7bb7a399d5d4787f2076e0ed46e6530fece2cafb0d1eada565 |
|
MD5 | e9416d18677f351c58957b4069bdfc47 |
|
BLAKE2b-256 | fbe104dfae53cc7f7b5df8f54e903929582cfefb0dc70dddc12b131c26da1379 |