VBA macro wrapper for Python to be used with Microsoft Excel.
Project description
vycro is a Python wrapper designed to make calling VBA functions and subroutines with Microsoft Excel as easy as a couple of standard file I/O calls.
from vycro import MacroWrapper
mw = MacroWrapper()
wb_kwargs = {"ReadOnly":"True"}
m_args = ["arg1", "True", "111"]
with mw.open_workbook("/full/path/with.extension", **wb_kwargs):
mw.run_macro("macro_name", *m_args) # See declaration for function args
vycro currently supports Python 2.7 and Python 3.1-3.5, and requires pywin32-219.
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
vycro-1.0.0.zip
(7.0 kB
view details)
Built Distribution
File details
Details for the file vycro-1.0.0.zip
.
File metadata
- Download URL: vycro-1.0.0.zip
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a82072be4d7379f202e368e7c439ab273d3c37a931289c15dd242812c3660d80 |
|
MD5 | 00c68621e2bd7983641e072a0c03614d |
|
BLAKE2b-256 | 87f681eaab124b641959c88cf431d1cdea623fbc6562a0ddc00d6fcb124f596b |
File details
Details for the file vycro-1.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: vycro-1.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31913724327ead8064bf0d353945ba0b97063fdf39546485ee770408c32596c1 |
|
MD5 | 2715a6a2cf8c0c16473b28bd8c5d1804 |
|
BLAKE2b-256 | 233d344b3d45fa4dba56b680ebe36076dae2da07ae35f03995c386b8218cd5c5 |