chaste-codegen-0.9.9
توضیحات
Code generation for cardiac Chaste
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | chaste-codegen-0.9.9 |
| نام | chaste-codegen |
| نسخه کتابخانه | 0.9.9 |
| نگهدارنده | ['Maurice Hendrix'] |
| ایمیل نگهدارنده | ['Maurice.Hendrix@nottingham.ac.uk'] |
| نویسنده | Maurice Hendrix, Michael Clerx, Jonathan Cooper |
| ایمیل نویسنده | Maurice.Hendrix@nottingham.ac.uk |
| آدرس صفحه اصلی | https://github.com/ModellingWebLab/chaste-codegen |
| آدرس اینترنتی | https://pypi.org/project/chaste-codegen/ |
| مجوز | - |
 [](https://chaste-codegen.readthedocs.io/en/latest/?badge=latest) [](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).
نیازمندی
| مقدار | نام |
|---|---|
| >=1.10.0 | py |
| <5,>=4.4.2 | decorator |
| <5,>=1.7 | importlib-metadata |
| <1,>=0.6.0 | isodate |
| <5,>=4.6.5 | lxml |
| <2,>=1.1.1 | MarkupSafe |
| <2,>=1.1.0 | mpmath |
| <3,>=2.4 | networkx |
| <21,>=20.4 | packaging |
| <0.20,>=0.9 | Pint |
| <3,>=2.4.7 | pyparsing |
| <7,>=5.0.0 | rdflib |
| <2,>=1.15.0 | six |
| <1.11,>=1.9 | sympy |
| <2,>=1.2.0 | zipp |
| <3,>=2.11.3 | Jinja2 |
| <0.4,>=0.3.6 | cellmlmanip |
| >=3.0 | sphinx |
| >=0.12 | sphinx-automodapi |
| >=2.10 | pytest-cov |
| >=4.6 | pytest |
| >=3 | flake8 |
| - | isort |
| >=3.0.5 | mock |
| >=2.1.3 | codecov |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl chaste-codegen-0.9.9:
pip install chaste-codegen-0.9.9.whl
نصب پکیج tar.gz chaste-codegen-0.9.9:
pip install chaste-codegen-0.9.9.tar.gz