A Python wrapper for the Mathcad Prime COM API
A Python wrapper for the Mathcad Prime automation API. See the Wiki for the module documentation.
MathcadPy is a python wrapper for the Mathcad Prime COM automation API. This allows a python script to interact with a Mathcad session, select worksheets that are already open or open worksheets from files, and send values to designated inputs and fetch them from designated outputs. The python script also has access to the worksheet units, and can even demand results in different units to those specified in a worksheet (e.g. calculation may output a value in meters, but the script wants the value in inches).
pip install MathcadPy
See the Wiki for the module documentation.
See examples.py for some simple function examples including matrix operations.
licensing and credits
Author: Matt Woodhead
MathcadPy is licensed under the GPLv3
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. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. For the full license, see the LICENSE file.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.