Metadata-Version: 2.1
Name: pymech
Version: 1.4.1
Summary: A Python suite of routines for Nek5000 and Simson.
Home-page: https://github.com/eX-Mech/pymech
Author: eX-Mech Developers
Author-email: jacopo.canton@gmail.com
License: GNU General Public License v3 or later (GPLv3+)
Project-URL: documentation, https://pymech.readthedocs.io
Platform: UNKNOWN
Classifier: Intended Audience :: Science/Research
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: xarray (>=0.15)
Provides-Extra: dev
Requires-Dist: sphinx ; extra == 'dev'
Requires-Dist: sphinx-book-theme ; extra == 'dev'
Requires-Dist: myst-nb ; extra == 'dev'
Requires-Dist: mayavi ; extra == 'dev'
Requires-Dist: rich ; extra == 'dev'
Requires-Dist: pytest (>=6.0.0) ; extra == 'dev'
Requires-Dist: pytest-cov ; extra == 'dev'
Requires-Dist: pytest-xdist (>=2.0.0) ; extra == 'dev'
Requires-Dist: pre-commit ; extra == 'dev'
Requires-Dist: importlib-metadata ; (python_version < "3.8") and extra == 'dev'
Provides-Extra: docs
Requires-Dist: sphinx ; extra == 'docs'
Requires-Dist: sphinx-book-theme ; extra == 'docs'
Requires-Dist: myst-nb ; extra == 'docs'
Requires-Dist: importlib-metadata ; (python_version < "3.8") and extra == 'docs'
Provides-Extra: full
Requires-Dist: mayavi ; extra == 'full'
Requires-Dist: rich ; extra == 'full'
Provides-Extra: tests
Requires-Dist: mayavi ; extra == 'tests'
Requires-Dist: rich ; extra == 'tests'
Requires-Dist: pytest (>=6.0.0) ; extra == 'tests'
Requires-Dist: pytest-cov ; extra == 'tests'
Requires-Dist: pytest-xdist (>=2.0.0) ; extra == 'tests'

[![Build Status](https://travis-ci.org/eX-Mech/pymech.svg?branch=master)](https://travis-ci.org/eX-Mech/pymech/builds)
[![Coverage Status](https://coveralls.io/repos/github/eX-Mech/pymech/badge.png?branch=master)](https://coveralls.io/github/eX-Mech/pymech?branch=master)
[![Documentation Status](https://readthedocs.org/projects/pymech/badge/?version=latest)](http://pymech.readthedocs.org/en/latest/?badge=latest)

# pymech

A Python suite of routines for *Nek5000* and *Simson*. Install with:

```
pip install pymech
```

Read the full documentation at [Pymech doc](http://pymech.readthedocs.io).

## Getting started

For some quick wins, download some sample data

```sh
curl -LO https://github.com/eX-Mech/pymech/raw/master/tests/nek/channel3D_0.f00001
```

Fire up a Python / IPython console and execute:

```py
import matplotlib as pyplot
import pymech as pm
ds = pm.open_dataset('channel3D_0.f00001')
ds.mean(['x', 'z']).ux.plot()
plt.show()
```

You should see something like

![](https://pymech.readthedocs.io/en/latest/_images/usage_33_1.png)

For an overview of how to use pymech, [follow the usage
documentation](https://pymech.readthedocs.io/en/latest/usage.html).

## Contributing

Found something that does not work? Want to add a new feature to pymech? Have a
look at [contributing
guidelines](https://pymech.readthedocs.io/en/latest/contributing.html).


