Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

pymsi logo

pymsi

PyPI PyPI - Downloads MIT License Python Versions CI Documentation Status pre-commit.ci status

A pure Python library for reading and manipulating Windows Installer (MSI) files. Based on the rust msi crate and msitools utilities.

Getting Started

For a demo of what pymsi can do, check out the online MSI viewer and file extractor on our ReadTheDocs site. It's like lessmsi, but runs fully client-side in your browser.

For more in-depth documentation on pymsi usage and the API, see the documentation (very early WIP).

Installation

pymsi is available on PyPI (PEP 541 request for pymsi name is being processed):

pip install python-msi

It is recommended to either install it in a virtual environment, or use a tool such as pipx or uv to avoid potential conflicts with other Python modules on the same system.

Usage

To use pymsi as a library that gets called from other code:

import pymsi

To use pymsi as a command line tool:

pymsi <command> [path_to_msi_file] [output_folder]

Use the help command to see a list of supported commands:

Available commands:
  tables - List all tables in the MSI file
  dump - Dump the contents of the MSI file
  test - Check if the file is a valid MSI file
  extract - Extract files from the MSI file
  help - Show this help message

Getting Involved

For questions or support, please create a new discussion on GitHub Discussions, or open an issue for bug reports and feature requests.

Contributing

Contributions are welcome. Bug fixes or minor changes are preferred via a pull request to the pymsi GitHub repository. For more information on contributing see the CONTRIBUTING file.

License

pymsi is released under the MIT license. See the LICENSE and NOTICE files for details. All new contributions must be made under this license.

SPDX-License-Identifier: MIT

LLNL-CODE-862419

Metadata

Release files for python-msi 0.0.0rc0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-msi 0.0.0rc0
File Size Uploaded
python_msi-0.0.0rc0.tar.gz 281.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for python-msi 0.0.0rc0
File Interpreter ABI Platform
python_msi-0.0.0rc0-py3-none-any.whl Python 3 none any Details

Total release size: 356.4 kB

Release files / python_msi-0.0.0rc0.tar.gz

Download URL python_msi-0.0.0rc0.tar.gz
Size 281.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8a73d6e827bffafd5a03265e8a979bf491602537ed15c8126fe0e7d38f05d92c
BLAKE2b-256 checksum
How to use checksums
8c495b68b8dbb8eb655aaefa96832825b2575794824a47fe1d79ae14141d9f80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 24, 2026.

Transparency log

Release files / python_msi-0.0.0rc0-py3-none-any.whl

Download URL python_msi-0.0.0rc0-py3-none-any.whl
Size 74.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7d9f4e9bc73313c83f783b84f77d752c567185df217750e69147c4ce19dd61a2
BLAKE2b-256 checksum
How to use checksums
b7885030218ea3b64c6bea204fb8661f9748725377a30916aed6459ac2b6bb22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 24, 2026.

Transparency log
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page