semvec/pypi-packages huggingface dataset:
pymetamodels 0.0.3
The pymetamodels package combines machine learning (ML) metamodeling and analysis tools for the virtual development of modeling systems within a common abstract framework implemented in an accessible and distributable Python package. This package is oriented to support ML applications in  material science, material informatics and the construction of materials, components and systems soft metamodels informed by hard physics-based modelling and experimental characterisations.
License: MIT
Requires Python: >=3.7
Keywords: pymetamodels,virtual,model,optimization,sensitivity,metamodeling,ML,mechanic,material,component,science

Pymetamodels package for materials, systems and component metamodeling
======================================================================

The pymetamodels package combines machine learning (ML) metamodeling and analysis tools for the virtual development of modeling systems within a common abstract framework implemented in an accessible and distributable Python package. The development of pymetamodels package is oriented to support ML applications in  material science, material informatics and the construction of materials, components and systems soft metamodels informed by hard physics-based modelling (continuum, mesosocopic, ... ) and experimental characterisations.

Basic turtorials and advanced examples can be found in the tutorials section [pymetamodels.readthedocs.io](https://pymetamodels.readthedocs.io/en/latest/).

The package has been build in [ITAINNOVA](https://www.itainnova.es/es). And is distributed with permissive MIT license.

Installing pymetamodels
-----------------------

To install the latest stable version of pymetamodels via pip from [PyPI](https://pypi.org/project/pymetamodels) together with all the dependencies, run the following command:

```
    pip install pymetamodels
```

First steps, basic turtorials an advanced examples can be found in the documentation tutorials section [pymetamodels.readthedocs.io](https://pymetamodels.readthedocs.io/en/latest/). To load and test installation try,

```
    import pymetamodels

    ### Load main object
    mita = pymetamodels.metamodel()

    ### Load main object (alternative)
    mita = pymetamodels.load()
```

Installing pre-requisite software
---------------------------------

Pymetamodels requires Python >3.7 or an above of release [Python.org](https://www.python.org).

Pymetamodels requires [NumPy](http://www.numpy.org/), [SciPy](http://www.scipy.org), [sklean](https://scikit-learn.org), [matplotlib](http://matplotlib.org) and [SALib](https://salib.readthedocs.io) installed on your computer.  Using [pip](https://pip.pypa.io/en/stable/installing), these libraries can be installed with the following command:

```
    pip install numpy scipy scikit-learn matplotlib SALib Pillow xlrd xlwt xlutils
```

The packages are normally included with most Python bundles, such as Anaconda. Generally, they are installed automatically when using pip to install pymetamodels.
mofmt 0.3.6
Modelica Code Formatter
License: MIT
Requires Python: >=3.9,<4.0
Keywords: Modelica,automation,formatter

# mofmt - Modelica code formatter

*Mofmt* is a code formatter for [Modelica](https://modelica.org/)
language. It aims to enhance readability and provide style constistency
across different Modelica projects.

Although functionality is basically finished, it can of course exhibit
buggy behavior. *mofmt* doesn't modify files if it meets syntax errors.
I advice to double-check changed files.

Code style applied by the *mofmt* is described in `code-style.md`.

## Installation and usage

### Installation

*Mofmt* can be installed from PYPI:

```shell
pip install mofmt
```

On top of that, repo contains a necessary `pre-commit-hooks.yaml` file,
so if you are using Git, you can delegate running *mofmt* to
[pre-commit](https://pre-commit.com/) framework.

### Usage

*mofmt* takes one kind of argument - path that points to Modelica source
file or directory that is supposed to contain such files. *mofmt* can
accept multiple such arguments.

```shell
mofmt PATH ...
```

## Features and limitations

### Vertical spacing and grouping

*Mofmt* aims to ensure that Modelica code is vertically grouped and
indented in a intuitive way that additionally allows you to fold/unfold
specific sections in your text editor. Yet it will try to preserve
single blank lines that you have placed manually, unless they were
placed in places that *mofmt* considers prohibited.

### Comments

Modelica language specification allows you to place comments between any
lexical units, but at least some software doesn't respect that and
displace your comments if it feels like it. *Mofmt* tries to avoid that
(but bugs may happen!). Both comments and whitespaces between them are
preserved. Additionally, *mofmt* preceeds your inline comments with a
single space to enhance readability.

### Line wrapping

*Mofmt* doesn't have a notion of maximum line length and doesn't wrap
lines automatically. This is a deliberate choice, for many expressions
in Modelica are written in a way that resembles textbook formulas. Such
formulas contain terms that have a specific meaning and probably are
kept on the same line by Modelica developers. Any (reasonably simple)
algorithm would probably be too stupid for that, so there is no wrapping
algorithm in *mofmt*. Instead, it will respect your wrapping inside
expressions (provided you wrapped at some operator):

```modelica
Q_flow = alpha * surfaceArea *
(T_a - T_b);
```

and only adjust it slightly:

```modelica
Q_flow = alpha * surfaceArea
  * (T_a - T_b);
```

If wrap is placed inside function call, array etc.:

```modelica
cp = specificHeat_pT(p = p, T = temperature_ph(p = p,
h = h));
```

*mofmt* will ensure that the whole argument list is formatted
consistently, including nested calls:

```modelica
cp = specificHeat_pT(
  p = p,
  T = temperature_ph(
    p = p,
    h = h));
```

## TODO

* improve parsing performance
* (maybe) include HTML pretty-printer

## License

MIT

## Authors

Eryk Mroczek: <mroczek.eryk@gmail.com>