Skip to main content

Edit, export and import PowerPoint VBA code from the command line. Thin entry-point wrapper for vba-edit.

Project description

powerpoint-vba belongs to vba-edit CLI Tools

Edit VBA code in VS Code, PyCharm, Wing IDE, or any editor you love. Real-time sync with MS POWERPOINT. Git-friendly. No more VBA editor pain.

CI PyPI - Version PyPI - Python Version Platform Downloads License

This is a thin entry-point package for vba-edit. Installing powerpoint-vba gives you the powerpoint-vba command and automatically installs the vba-edit core package.

powerpoint-vba downloads

Quick Start

RECOMMENDED: Via uvx

uvx powerpoint-vba edit -f myfile.pptm --vba-directory .\src\VBA

Note: The uvx command invokes a tool without installing it — same as: uv tool run powerpoint-vba

30-Second Demo

# Start editing (uses active PowerPoint presentation)
uvx powerpoint-vba edit

# That's it! Edit the .bas/.cls files in your editor. Save = Sync.

How It Works

                        <--- vba-edit --->

  MS POWERPOINT              COMMANDS              Your favourite
                                v                       Editor

+------------------+                            +------------------+
|                  |                            |                  |
|   VBA Project    |   <---   EDIT*   (once ->) |  (e.g. VS CODE)  | 
|                  |                            |                  |     latest
|  (Office VBA-    |          EXPORT      --->  |   .bas           |  <- AI coding-  
|    Editor)       |                            |   .cls           |     assistants
|                  |   <---   IMPORT            |   .frm           |   
|                  |                            |  (.frx binary)   | 
|                  |                            |                  |     optional
|                  |                            |  [.toml]         |  <- support for 
|                  |                            |                  |     references
+------------------+                            +------------------+
                                                         v
                                                +------------------+
                                                |                  |
 * watches & syncs                              |    (e.g. Git)    |
   back to Office                               |  version control |
   VBA-Editor live                              |                  |
   on save [CTRL+S]                             |                  |
                                                +------------------+

Install

pip install powerpoint-vba

Note: Installing powerpoint-vba also installs the vba-edit core package, which provides entry points for all supported Office apps (excel-vba, word-vba, powerpoint-vba, access-vba).

Usage

All commands below work with both powerpoint-vba <command> (installed) and uvx powerpoint-vba <command> (no install required).

Command What it does
powerpoint-vba edit Start live editing
powerpoint-vba export One-time export
powerpoint-vba import One-time import
powerpoint-vba export --open-folder --keep-open Export and open folder in explorer, keep document open for inspection
powerpoint-vba export --force-overwrite Export without confirmation prompts
powerpoint-vba references list List VBA library references
powerpoint-vba check Verify status of Trust access to the VBA project object model

💡 Complete Option Matrix: available here

For full documentation see github.com/markuskiller/vba-edit.

Project details


Download files

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

Source Distribution

powerpoint_vba-0.5.1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

powerpoint_vba-0.5.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file powerpoint_vba-0.5.1.tar.gz.

File metadata

  • Download URL: powerpoint_vba-0.5.1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for powerpoint_vba-0.5.1.tar.gz
Algorithm Hash digest
SHA256 61512a73a56c7161d79fa063f5a4cbf10c8e87fc2a5121ab6b9edc43971d4970
MD5 ca5c53c6d61a323a7032584d0cf23fc4
BLAKE2b-256 48dbe5a1c73f6a00be570de1b110654285ed951f1d55e2819a3ee941cf3e9f6a

See more details on using hashes here.

Provenance

The following attestation bundles were made for powerpoint_vba-0.5.1.tar.gz:

Publisher: publish.yaml on markuskiller/vba-edit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file powerpoint_vba-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: powerpoint_vba-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for powerpoint_vba-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cb6747063442a64caa8cffed2a14d8911227b8f5d9abb8b83af5e9dfe6e0475b
MD5 fc5a227925245f36bbc1a31e6c8f6c66
BLAKE2b-256 fb76c71dc41ec6e6f374bb826e7407543e08c3afb996777d3408a4a13aaa3232

See more details on using hashes here.

Provenance

The following attestation bundles were made for powerpoint_vba-0.5.1-py3-none-any.whl:

Publisher: publish.yaml on markuskiller/vba-edit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page