Metadata-Version: 2.1
Name: chaste-codegen
Version: 0.9.7
Summary: Code generation for cardiac Chaste
Home-page: https://github.com/ModellingWebLab/chaste-codegen
Author: Maurice Hendrix, Michael Clerx, Jonathan Cooper
Author-email: Maurice.Hendrix@nottingham.ac.uk
Maintainer: Maurice Hendrix
Maintainer-email: Maurice.Hendrix@nottingham.ac.uk
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: py (>=1.10.0)
Requires-Dist: decorator (<5,>=4.4.2)
Requires-Dist: importlib-metadata (<5,>=1.7)
Requires-Dist: isodate (<1,>=0.6.0)
Requires-Dist: lxml (<5,>=4.6.5)
Requires-Dist: MarkupSafe (<2,>=1.1.1)
Requires-Dist: mpmath (<2,>=1.1.0)
Requires-Dist: networkx (<3,>=2.4)
Requires-Dist: packaging (<21,>=20.4)
Requires-Dist: Pint (<1,>=0.9)
Requires-Dist: pyparsing (<3,>=2.4.7)
Requires-Dist: rdflib (<7,>=5.0.0)
Requires-Dist: six (<2,>=1.15.0)
Requires-Dist: sympy (<1.11,>=1.9)
Requires-Dist: zipp (<2,>=1.2.0)
Requires-Dist: Jinja2 (<3,>=2.11.3)
Requires-Dist: cellmlmanip (<0.4,>=0.3.4)
Provides-Extra: docs
Requires-Dist: sphinx (>=3.0) ; extra == 'docs'
Requires-Dist: sphinx-automodapi (>=0.12) ; extra == 'docs'
Provides-Extra: test
Requires-Dist: pytest-cov (>=2.10) ; extra == 'test'
Requires-Dist: pytest (>=4.6) ; extra == 'test'
Requires-Dist: flake8 (>=3) ; extra == 'test'
Requires-Dist: isort ; extra == 'test'
Requires-Dist: mock (>=3.0.5) ; extra == 'test'
Requires-Dist: codecov (>=2.1.3) ; extra == 'test'

![workflow](https://github.com/ModellingWebLab/chaste-codegen/actions/workflows/pytest.yml/badge.svg) [![Documentation Status](https://readthedocs.org/projects/chaste-codegen/badge/?version=latest)](https://chaste-codegen.readthedocs.io/en/latest/?badge=latest) [![codecov](https://codecov.io/gh/ModellingWebLab/chaste-codegen/branch/master/graph/badge.svg)](https://codecov.io/gh/ModellingWebLab/chaste-codegen)

# Code generation for cardiac Chaste

The `chaste_codegen` module takes [CellML](https://www.cellml.org/) models as input, via [cellmlmanip](https://github.com/ModellingWebLab/cellmlmanip) to read and manipulate them, then uses templating to generate C++ code.

The [jinja2](http://jinja.pocoo.org/) templating engine is used.

## Installing 
We recommend installing chaste_codegen in a virtual environment (using virtualenv or conda)

Users install `chaste_codegen` using pip.

```
pip install chaste_codegen
```

## Using `chaste_codegen`
After installation, chaste_codegen can be called using the `chaste_codegen` command:
```
usage: chaste_codegen [-h] [--version] [--normal] [--cvode]
                      [--cvode-data-clamp] [--backward-euler] [--rush-larsen]
                      [--grl1] [--grl2] [--rush-larsen-labview]
                      [--rush-larsen-c] [-j] [-o OUTFILE]
                      [--output-dir OUTPUT_DIR] [--show-outputs] [-c CLS_NAME]
                      [-q] [--skip-ingularity-fixes] [-y] [--opt] [-m]
                      [--lookup-table <metadata tag> min max step]
                      [--use-model-factory]
                      cellml_file
chaste_codegen: error: the following arguments are required: cellml_file

```

For more information about the available options call
`chaste_codegen -h` or see the [CodeGenerationFromCellML guide](https://chaste.cs.ox.ac.uk/trac/wiki/ChasteGuides/CodeGenerationFromCellML) 


## Release notes
For release notes see [RELEASE.md](./RELEASE.md)


## Documentation
API documentation explaining how to use cellmlmanip can be found on [readthedocs](https://chaste-codegen.readthedocs.io/en/latest/)


## Contributing
For guidelines on contributing to `chaste_codegen`, please see [CONTRIBUTING.md](CONTRIBUTING.md).


