A python wrapper for the Poisson-Boltzmann Equation solver DelPhi
Project description
DelPhi4Py
A python wrapper for the Poisson-Boltzmann Equation solver DelPhi
Installation
End users should install a prebuilt wheel. This package currently targets Linux CPython 3.9 through 3.14.
From PyPI:
python -m pip install --upgrade pip
python -m pip install delphi4py
From a downloaded release wheel:
python -m pip install /path/to/delphi4py-*.whl
If no compatible wheel is available for your interpreter or platform, you will need to build from source.
For maintainers, wheel builds are intended to run locally rather than through GitHub Actions.
Source build requirements
- python3
- NumPy
DelPhi compilation dependencies
- a modern gcc / g++ / gfortran toolchain on
PATH libgfortran.so.5
Build a wheel from source
The project exposes a standard Python build backend, so source builds should produce a wheel for the active interpreter.
pixi run -e py312 python -m build --wheel
Verification
To smoke-test an installed wheel against the example inputs:
pixi run -e py312 python example/wheel_smoke_test.py
To validate a local source-tree build, run test.py in example/ and look for a
"successful exit" message:
pixi run -e py312 python example/test.py
To run the automated unit and end-to-end tests from the source tree:
pixi run -e py312 pytest tests
Release build
Bump the version (updates pyproject.toml, delphi4py/__init__.py and
meson.build) before building:
pixi run -e release bump-version patch # or minor, major, or an explicit 1.7.0
pixi run -e release bump-version patch --dry-run
Build release artifacts locally with cibuildwheel. On Linux, cibuildwheel
uses manylinux containers, so you need Docker or Podman available on the host.
With pixi:
pixi install -e release
pixi run -e release build-wheels
pixi run -e release build-sdist
This writes wheels to wheelhouse/ and the source distribution to dist/.
If you want to upload manually after checking the artifacts (both the sdist in
dist/ and the wheels in wheelhouse/ are uploaded):
pixi run -e release upload-testpypi
pixi run -e release upload-pypi
License
DelPhi4Py itself is distributed under a LGPL-3.0, however, DelPhi is proprietary software. To use DelPhi the user is required to download the DelPhi license here
Project details
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file delphi4py-1.6.1.tar.gz.
File metadata
- Download URL: delphi4py-1.6.1.tar.gz
- Upload date:
- Size: 1.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
78a88c89f2266404caa0152e4936315e00a922e21ef077953a6a4f869ab1391f
|
|
| MD5 |
3a361b0a84cd3523ef6e7ddb0aae330d
|
|
| BLAKE2b-256 |
0ee7680f97ba096ee8b1bdb9d8d4112e8c8f771217526d24bfec85e677f76003
|
File details
Details for the file delphi4py-1.6.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: delphi4py-1.6.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.14, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
791a715c3d8303a84ad265573d0d1e992eb0ea0738ad39018d8e44e86d303e7f
|
|
| MD5 |
1e8fb9bb490d39104e960056a5a329dd
|
|
| BLAKE2b-256 |
46d604c0600b3a648dd614987ced3e3c4d3f7d2ce72d784988ea22f143fa981f
|
File details
Details for the file delphi4py-1.6.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: delphi4py-1.6.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.13, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43f0d214332fcd23dd25b4e2359bddda711ae7f75219ff2710391f1608866495
|
|
| MD5 |
cb40df4c40b35d1f32464a124c35409a
|
|
| BLAKE2b-256 |
a6c8915d3aeabae2ebe836707a7b1e76b9f3ce85fde613db394536f781b974cf
|
File details
Details for the file delphi4py-1.6.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: delphi4py-1.6.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.12, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea736fc8c8e904b05c0d69004d6ce2cf64160a614c2146b2966865acbedc0996
|
|
| MD5 |
3c4c026943da2280bb85adab3b8c3181
|
|
| BLAKE2b-256 |
bdac8f7079037d80e25eb58b352729f3350b890c51aa0fb298f234616ed216e9
|
File details
Details for the file delphi4py-1.6.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: delphi4py-1.6.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.11, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0502ce341d1fc6fb5e354fe5cbd863f7bcbc7d1b7e688af0beb6128ad9af2cfd
|
|
| MD5 |
9e1aea2084ccd82278539ece3f3c1867
|
|
| BLAKE2b-256 |
7b7dce21b1e7db045c37299ea3b67a3b31867b36843c38a9f3b0406e3fb1a7ca
|
File details
Details for the file delphi4py-1.6.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: delphi4py-1.6.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.10, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89b2cea5b3c63fa121c57a88fd0218cdae3640a7a15c057017bad1ec6d52519b
|
|
| MD5 |
602183b07fd935189341b23401d8c7e9
|
|
| BLAKE2b-256 |
e6efcd04bf838bbb680aa59dac2080dad46013e0252c0b4830d945c093b1cad6
|
File details
Details for the file delphi4py-1.6.1-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: delphi4py-1.6.1-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.9, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b47b9870cc6d10dfcc149d1ee3694111d001dbce0e5501d56cde404014da37c
|
|
| MD5 |
fd011cb28c927a108c5238da8741b602
|
|
| BLAKE2b-256 |
e03a3c03d10901cc7ea8ea2a437f787ca652d6b3b121ddd93686e4f2afef34b1
|