Skip to main content

Pymoca

A Modelica to computer algebra system (CAS) compiler written in python.

CI Coverage DOI

Install

Python / PyPI:

pip install pymoca

Anaconda / Conda:

  1. Install anaconda 3.

  2. Setup environment.

./create_conda_env.sh enduser
. activate pymoca
jupyter notebook

Examples

Roadmap

Completed Tasks

  • Parsing Modelica
  • Sympy Simulation/CAS creation for simple models
  • Casadi CAS creation for simple models

TODO

  • Gather requirements and unify Casadi model
  • Lazy parsing for reading large libraries
  • Support more of Modelica language elements

Metadata

Release files for pymoca 0.9.4

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

Source distribution (sdist)

Source distribution for pymoca 0.9.4
File Size Uploaded Provenance Actions
pymoca-0.9.4.tar.gz 111.8 kB With provenance Details for pymoca-0.9.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pymoca 0.9.4
File Interpreter ABI Platform Actions
pymoca-0.9.4-py3-none-any.whl Python 3 none any Details for pymoca-0.9.4-py3-none-any.whl

Total release size: 225.4 kB

Release files / pymoca-0.9.4.tar.gz

Download URL pymoca-0.9.4.tar.gz
Size 111.8 kB
Tags Source
SHA-256 checksum
How to use checksums
518a641fc48224c3c78116fb3874c4c644a329f685e00361eb345f010186f226
BLAKE2b-256 checksum
How to use checksums
cf48b5f622c63d257c1510831ae9e2056187a84f1bd7401aeacc274ee04cf01e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 27, 2026.

Transparency log

Release files / pymoca-0.9.4-py3-none-any.whl

Download URL pymoca-0.9.4-py3-none-any.whl
Size 113.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c4de71699c1430f995b6141fbc641d066381079e344ddfbf06efed18e5be7a7a
BLAKE2b-256 checksum
How to use checksums
bb83e221f9ec5d9a9d070d5995dab0b78067933836baa5ce18cca07863eb3431
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 27, 2026.

Transparency log

Security for pymoca 0.9.4

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pymoca-0.9.4.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 Oct 27, 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.9.4 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