PEST utilities for MODFLOW
Project description
PyPestUtils
Suite of Python tools based on PEST utilities.
This package is currently in pre-alpha development, and is not suitable for use, but early adopters are welcome to have a go.
Installation
Easy way
Use pip
to install a built distribution for Windows, Linux or macOS:
pip install pypestutils
to also include optional requirements use:
pip install pypestutils[optional]
From source
Installation from source requires a Fortran compiler and meson. Use the following sections to build a shared library of pestutils, which then needs to be copied into the module path pypestutils/lib/
to enable it to be found.
Build pestutils on Linux / macOS
A script that can be used to configure build and install the shared library is ./scripts/build_lib.sh
.
Or manually:
meson setup builddir --prefix=$(pwd)/inst
meson compile -C builddir
# copy for Python module
mkdir pypestutils/lib
# for Linux
cp builddir/pestutils/libpestutils.so pypestutils/lib/
# for macOS
cp builddir/pestutils/libpestutils.dylib pypestutils/lib/
# for Windows via MSYS2
cp builddir/pestutils/pestutils.dll pypestutils/lib/
Build pestutils on Windows
There are two methods to compile Fortran code on Windows, using MSYS2 via bash or a conda environment via cmd. MSYS2 can use ./scripts/build_lib.sh
similar to Linux or to use a conda environment with m2w64-gcc-fortran
and meson
and call .\scripts\build_lib.bat
. On Windows, the shared library name is pestutils.dll
, which needs to be copied into the module path pypestutils\lib\
to enable it to be found.
Install pypestutils
After a shared library of pestutils is compiled and placed into pypestutils/lib/
install an "editable" version of this Python package:
pip install -e .
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file pypestutils-0.1.0.tar.gz
.
File metadata
- Download URL: pypestutils-0.1.0.tar.gz
- Upload date:
- Size: 12.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c859e1361928b39b53e99a15041541b7d2653a7fd1f51ce00867e30b8ad2f07e |
|
MD5 | ee1def59b7c5e5bdbdee98d9a3700e32 |
|
BLAKE2b-256 | 1bba7308311c6b4bc03c84fe405dbdc2ff3f2946fddf5e90e42d1a013d793f6a |
File details
Details for the file pypestutils-0.1.0-py3-none-win_amd64.whl
.
File metadata
- Download URL: pypestutils-0.1.0-py3-none-win_amd64.whl
- Upload date:
- Size: 814.7 kB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1a04d9aaa01df4cbf58a23c5d501fc392e3c187abe8a9327c244bb615e74e09 |
|
MD5 | 443319a92d27545c5127e1ad0de1f26a |
|
BLAKE2b-256 | 9f71e306961c1564898c38cdb53a08bc5206e1909807023b661a1b0ca4cdcb60 |
File details
Details for the file pypestutils-0.1.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
.
File metadata
- Download URL: pypestutils-0.1.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
- Upload date:
- Size: 1.4 MB
- Tags: Python 3, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff05cb578bf89588e9c7452e06765967a61097780be86e7e830dce1c338b99e2 |
|
MD5 | 872350223b69a5a7eced2797d22ec1cf |
|
BLAKE2b-256 | 3c720c4e7127d79342cb507651bf9f598616e279c55f0cc0d1ac56010fb82ecf |
File details
Details for the file pypestutils-0.1.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
.
File metadata
- Download URL: pypestutils-0.1.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
- Upload date:
- Size: 899.7 kB
- Tags: Python 3, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a21a1df4e23556087e3f713b1f23259b3f0334119bd3bb573ddeadfb8a7a2fd |
|
MD5 | 5e57d1db4b730c97c84bc36c9974bd48 |
|
BLAKE2b-256 | 77eac2f19a9169850b5fb389b0fec40afd63fae11acb49f8a0d51c6dfc0697b7 |
File details
Details for the file pypestutils-0.1.0-py3-none-macosx_11_0_arm64.whl
.
File metadata
- Download URL: pypestutils-0.1.0-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 935.7 kB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e571966a8f3b1d60aab4dcdc84713199e538a35329a2be98a348a80172736890 |
|
MD5 | e206dd1a8ab5523d54f27912b33df2c0 |
|
BLAKE2b-256 | 5cf86d6fad1b3a7c2a02474952a2d25f4f57e1d0324ebd8959b0cffc0ff453ae |
File details
Details for the file pypestutils-0.1.0-py3-none-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: pypestutils-0.1.0-py3-none-macosx_10_9_x86_64.whl
- Upload date:
- Size: 1.6 MB
- Tags: Python 3, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9db2f735882a8c2fcb53bea88618ce3df39a4456cc48d18aa760d5cd1034fbe |
|
MD5 | 98232721782721a204de7f67c78d3da9 |
|
BLAKE2b-256 | 68ec6118ef16bffe4bee9142189b453b22ce8d33d08245d97e489a1f9af60c66 |