semvec/pypi-packages huggingface dataset:
owa-epanet 2.3.3
a thin wrapper for epanet hydraulic toolkit

# epanet python package

A slender, auto-generated python wrapper around the owa:epanet hydraulic network analysis toolkit. This package uses SWIG and scikit-build to generate python bindings into the C library. The objective of this package is to establish basic python support for the toolkit, rather than present a "pythonic" interface. More abstractions can be built atop this package to further abstract the API, but the set of functions here is meant to (as closely as practical) mirror the well-known and established C API.

Where possible, SWIG has been configured to throw warnings/exceptions instead of using the customary EPANET return integer value for success-checking. Also any output (pointer) parameters from the C API have been re-routed to return values. In these cases, the return tuple from the Python API will contain the values desired.

## Installation
To install with pip:
```shell
pip install owa-epanet
```

Wheels are now provided for most installations, some extra work will be needed if installing from source.


## Building the libraries

__Ensure the EPANET subproject is initialized__ by running `git submodule update --init` (if necessary) and running the following commands (on Windows skip the line `./script/clean.sh`). The following method uses `scikit-build` to invoke `cmake` for compiling and linking the shared libaries, and builds a python wheel.

```
./scripts/clean.sh
python3 setup.py sdist bdist_wheel
```
Test your builds using the following commands.
```
cd test && \
pipenv install ../dist/*.whl && \
pipenv install pytest && \
pipenv run pytest
```

This python library was packaged in the following way:

```
python3 setup.py sdist bdist_wheel
python3 -m twine upload dist/*
```

## Versioning
This package loosely follows EPANET's release version numbers. Its major and minor numbers will correspond to the given EPANET version, but the patch number is independent. This system might change in the future.
nx-hif 0.0.11
Higher-order networks for NetworkX using HIF

# HIF for NetworkX

This package implements functions for the Hypergraph data structure in the [HIF](https://github.com/pszufe/HIF-standard) standard for higher-order network data. It builds hypergraphs based on a decomposition into three NetworkX graphs, `H = (V,E,I)` where:
* `V = {v}` is a finite, non empty set of vertices or nodes,
* `E = {e}` is a finite, non-empty set of edges or hyperedges, and
* `I ⊆ VxE` is a set of incidences, that is, pairs `(v,e)` of nodes and edges.

The implementation details can be found in [src/nx_hif/hif.py](src/nx_hif/hif.py).
ashdisperse 0.8.0
Steady state advection-diffusion-sedimentation solver for volcanic ash dispersion
Requires Python: >=3.11

AshDisperse
===========

**AshDisperse** is a numerical tool that solves the *steady-state* Advection-Diffusion-Sedimentation (ADS) Equation for a model volcanic eruption emission profile in a real wind field.

The solver is designed to be computationally efficient while solving the ADS equation accurately.

Quickstart
==========

Installation
------------

It is recommended to install AshDisperse in a virtual environment.

If using conda, it is recommended to first install the numpy, numba and tbb packages from conda-forge::

    conda install -c conda-forge numpy numba tbb

AshDisperse and its dependencies can be installed from PyPI with pip::

    pip install ashdisperse

Jupyter notebook example
------------------------

Installing AshDisperse will also download an example of use in a Jupyter notebook and create a command-line function `ashdisperse_nb` to launch  the notebook.