Matita - Full Microsoft Office automation in Python ✏️
Matita is a Python wrapper for the VBA Object library. You get the full power of VBA with the convenience of Python. See the documentation for more details.
Hello world with matita
Excel 📊
from matita.office import excel as xl
def hello_world():
xl_app = xl.Application()
xl_app.visible = True
wkb = xl_app.workbooks.add()
wks = wkb.worksheets(1)
c = wks.cells(1,1)
c.value = "Hello world!"
PowerPoint 🖼️
from matita.office import powerpoint as pp
def hello_world():
pp_app = pp.Application()
pp_app.visible = True
prs = pp_app.presentations.add()
sld = prs.slides.add(1, pp.ppLayoutText)
shp = sld.shapes.addshape(pp.msoShapeRectangle, 100, 100, 200, 100)
shp.text_frame.text_range.text = "Hello world!"
Word 📄
from matita.office import word as wd
def hello_world():
wd_app = wd.Application()
wd_app.visible = True
doc = wd_app.documents.add()
par = doc.content.paragraphs.add()
par.range.text = "Hello world!"
Outlook 📧
from matita.office import outlook as ol
def hello_world():
ol_app = ol.Application()
mail = ol.MailItem(ol_app.create_item(ol.olMailItem))
mail.body = "Hello world!"
mail.display()
Installation
python -m pip install matita
License
Copyright 2026 Luca Franceschini (lucaf.eu)
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
This program is based on the Office VBA Reference by Microsoft Corporation, licensed under Creative Commons Attribution 4.0 International.
Metadata
Release files for matita 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| matita-1.0.3.tar.gz | 2.1 MB | Without provenance | Details for matita-1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| matita-1.0.3-py3-none-any.whl | Python 3 | none | any | Details for matita-1.0.3-py3-none-any.whl |
Total release size: 2.9 MB
Release files / matita-1.0.3.tar.gz
| Download URL | matita-1.0.3.tar.gz |
|---|---|
| Size | 2.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
521a8ff7d99949c688646be3315b60f40c00fc82fb4245952cc5c3aad8b705d6
|
|
BLAKE2b-256 checksum How to use checksums |
f1d05621346a5316c05514a47ff897b995cc55177c6b0bfe392c37c36b265975
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.11
|
Release files / matita-1.0.3-py3-none-any.whl
| Download URL | matita-1.0.3-py3-none-any.whl |
|---|---|
| Size | 850.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dff9d6731bf52a5a8a6d3b8b4fa4e51898806a5b451214cc4c98d50412a96404
|
|
BLAKE2b-256 checksum How to use checksums |
32fb97928566af237174d2e7b6bc4068b2e5ba96eee554b45a5eebdf1283f70b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.11
|
Security for matita 1.0.3
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.