semvec/pypi-packages huggingface dataset:
openinterfaces 0.6.2
Open Interfaces for improving Interoperability in Scientific Computing
Requires Python: >=3.9

<h1 align="center">
<img src="https://raw.githubusercontent.com/MaRDI4NFDI/open-interfaces/refs/heads/main/assets/mardi-oif-logo.svg" width="40" style="vertical-align: text-bottom;" />
MaRDI Open Interfaces
</h1>

[![QA](https://github.com/MaRDI4NFDI/open-interfaces/actions/workflows/qa.yaml/badge.svg)](https://github.com/MaRDI4NFDI/open-interfaces/actions/workflows/qa.yaml)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.13753666.svg)](https://doi.org/10.5281/zenodo.13753666)

_MaRDI Open Interfaces_ is a project aiming to improve interoperability
in scientific computing by removing two hurdles that computational scientists
usually face in their daily work.

These hurdles are the following.
First, numerical solvers are often implemented in different programming
languages.
Second, these solvers have potentially significantly diverging interfaces
in terms of function names, order of function arguments, and the invocation
order.
Therefore, when a computational scientist wants to switch from one solver
to another, it could take non-negligible effort in code modification
and testing for the correctness.

_Open Interfaces_ aim to alleviate these problems by providing automatic data
marshalling between different languages and a set of interfaces for typical
numerical problems such as integration of differential equations and
optimization.

| Traditional pairwise bindings-----|   | Decoupled bindings via _Open Interfaces_ |
|:----------------------------------|---|-----------------------------------------:|
| ![](assets/pairwise_bindings.png) |   | ![](assets/oif_bindings.png)             |

This project is the part of the [_Mathematical Research Data Initiative
(MaRDI)_](https://mardi4nfdi.de).

## Installation and Documentation

Please refer to the documentation at
<https://mardi4nfdi.github.io/open-interfaces/>
for deeper view on the goals and implementation details
as well as installation instructions, tutorials, and API reference.

## Support and Contact

_MaRDI Open Interfaces_ is an open source academic project.
Please use the
[issue tracker](https://github.com/MaRDI4NFDI/open-interfaces/issues)
for bug reports and feature requests and asking questions.


## Funding

This work is funded by the _Deutsche Forschungsgemeinschaft_ (DFG, _German
Research Foundation_) under Germany's Excellence Strategy EXC 2044-390685587,
“Mathematics Münster: Dynamics–Geometry–Structure” and the National Research
Data Infrastructure, project number&nbsp;460135501, NFDI&nbsp;29/1
“MaRDI – Mathematical Research Data Initiative
[Mathematische Forschungsdateninitiative]”.
flask-super-macros 0.2.0
Super charged Jinja macros for Flask
Requires Python: >=3.10

# Flask-Super-Macros

Super charged Jinja macros for Flask using [Jinja Super Macros](https://github.com/hyperflask/jinja-super-macros).

- Inspired by frontend component frameworks
- Use macros like html components
- Auto macro loader
- Compatible with [Storybook](https://storybook.js.org/)

## Installation

    pip install flask-super-macros

## Usage

```python
from flask import Flask
from flask_super_macros import SuperMacros

app = Flask(__name__)
SuperMacros(app)
```

Macros will be automatically registered from:

 - Macro defined using the `macro` directive in all template files called `__macros__.html`
 - Created from files with the extension `.macro.html`
 - Created from files in the `macros` folder

*(Note: [creating macros from files]() is the equivalent of wrapping the whole file in a macro directive)*

Example `macros/btn.html`:

```
<{button class="btn" **kwargs}>{{ inner }}</{}>
```

You can then use this macro in any template (no need to import):

```
<{ btn onclick="alert('hello')" }>click me</{ btn }>
```

See [Jinja Super Macros documentation](https://github.com/hyperflask/jinja-super-macros?tab=readme-ov-file#new-macro-tags-syntax) to learn more about the new macro calling syntax.

To register macros from other files, the macro registry is available under ̀`app.macros`:

```python
app.macros.register_from_template("macros.html")
```

You can also create macros fron functions using `app.macro`:

```python
@app.macro
def btn(**kwargs):
    """<{button class="btn" **kwargs}>{{ inner }}</{}>"""
```

## Storybook

Registered jinja macros can be viewed in Storybook using the server renderer.

Initialize your storybook project:

    npx storybook@latest init -t server

Use `http://localhost:5000/__storybook` as the preview url.

In your story, define the component name using the `parameters.server.id`:

```json
{
  "title": "Button",
  "parameters": {
    "server": {
      "id": "Button"
    }
  }
}
```
rest-adapter 0.1.3
A reusable REST API adapter built on top of the popular requests library.
Requires Python: >=3.10

# Rest Adapter

[![PyPI version](https://badge.fury.io/py/rest-adapter.svg)](https://badge.fury.io/py/rest-adapter)
![Python version](https://img.shields.io/badge/Python_Version-3.10-blue.svg)
[![License](https://img.shields.io/pypi/l/rest-adapter)](https://opensource.org/licenses/GPL-3.0)


**Rest Adapter** is a Python wrapper for the Requests module. This is intended primarily for HBNet Networks internal use, but is free for any interested party to use.

## Please note
This project is a Work In Progress and is intended primarily for HBNet Networks internal use.

## Contributing

Contributions and suggestions are welcome! Please open issues or pull requests.

## License

This project is licensed under the GNU/GPL License. See the [LICENSE](LICENSE) file for details.

---

© 2025 HBNet Networks