Skip to main content

Coverage Status

vbaProject-Compiler

Create a vbaProject.bin file from VBA source files.

Command Line Interface

Eventually it will be possible to use the CLI to create a vbaProject.bin file from source files and an optional configuration file.

VBAProject Class

The vbaProject class contains all the data and metadata that is used to create the OLE container. It can use this data to create several files, then compress and combine them into an OLE container

from ms_ovba.vbaProject import VbaProject
from ms_cfb.ole_file import OleFile


project = VbaProject()
thisWorkbook = DocModule("ThisWorkbook")
thisWorkbook.addFile(path)
project.addModule(thisWorkbook)

ProjectOleFile.write_file(project)

The VbaProject class has many layers of customization available. For example a library reference can be added to the project.

codePage = 0x04E4
codePageName = "cp" + str(codePage)
libidRef = ReferenceRecord(codePageName, LibidReference(
    "{00020430-0000-0000-C000-000000000046}",
    "2.0",
    "0",
    "C:\\Windows\\System32\\stdole2.tlb",
    "OLE Automation"
))
oleReference = Reference(codePageName, libidRef, "stdole")
project.addReference(oleReference)

Metadata

Release files for ms-ovba 0.0.1

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

Source distribution (sdist)

Source distribution for ms-ovba 0.0.1
File Size Uploaded Provenance Actions
ms_ovba-0.0.1.tar.gz 19.1 kB With provenance Details for ms_ovba-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ms-ovba 0.0.1
File Interpreter ABI Platform Actions
ms_ovba-0.0.1-py3-none-any.whl Python 3 none any Details for ms_ovba-0.0.1-py3-none-any.whl

Total release size: 54.6 kB

Release files / ms_ovba-0.0.1.tar.gz

Download URL ms_ovba-0.0.1.tar.gz
Size 19.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c2319e2f8d4364d65eeee5fc24595c0129801ff0a00a5e3dcad3639367c85d44
BLAKE2b-256 checksum
How to use checksums
3b24a47fa2d57cb99847d06f6443623f4693c8af75a46ecc75a199513281e4f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Apr 12, 2026.

Transparency log

Release files / ms_ovba-0.0.1-py3-none-any.whl

Download URL ms_ovba-0.0.1-py3-none-any.whl
Size 35.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
da093525428effce8d432784b598212d95e7f906e7a7b3422a6b80d9a183b400
BLAKE2b-256 checksum
How to use checksums
ef5601a89f1f1632e80936dd5a2c84455f11da27fe52dfcb789ac67a894b65ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Apr 12, 2026.

Transparency log

Security for ms-ovba 0.0.1

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ms_ovba-0.0.1.tar.gz

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 Apr 12, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files Full provenance

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