Metadata-Version: 2.4
Name: gimu
Version: 0.2.0
Summary: A toolkit and python library for modelling at Geothermal Institute, University of Auckland.
Project-URL: Documentation, https://github.com/cyeh015/gimu/blob/main/README.md
Project-URL: Issues, https://github.com/cyeh015/gimu/issues
Project-URL: Source, https://github.com/cyeh015/gimu
Author-email: Angus Yeh <a.yeh@auckland.ac.nz>
License-Expression: MIT
License-File: LICENSE.txt
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.8
Requires-Dist: h5py
Requires-Dist: matplotlib
Requires-Dist: numpy
Requires-Dist: pint
Requires-Dist: pytough
Requires-Dist: scipy
Description-Content-Type: text/markdown

# gimu

A minimal toolkit and python library for modelling at Geothermal Institute, University of Auckland.

-----

## Table of Contents

- [Installation](#installation)
- [Commands](#Commands)
- [Related Packages](#related-packages)
- [License](#license)
- [Developer](#Developer)

## Installation

```console
pip install -U gimu
```

If you use conda, use the supplied `environment.yml` to create `py311-gimu`.  This installs packages using conda as much as possible before installing packages from PyPI.

```console
conda env create -f environment.yml
```

## Commands

### Convert SAVE file to INCON file

```console
save2incon a.save b.incon
```

NOTE this command is used during the scenario run.

## License

`gimu` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.

## Developer

### Build and Publish

To bump version, create a tag, eg. `v0.1.0`

PyPI token is expected in `~/.pypirc`

If upload for the first time, create a PyPI account token, then add the token into `~/.pypirc`. Build and publish as normal, the PyPI project will be created on first upload.  Then revoke the account token.  Create a project token for later publishes.

Publish to PyPI:

```console
hatch build
hatch publish
```

### TODO

