Skip to main content

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

Metadata

Release files for delphi4py 1.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for delphi4py 1.6.1
File Size Uploaded
delphi4py-1.6.1.tar.gz 1.2 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for delphi4py 1.6.1
File
delphi4py-1.6.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details
delphi4py-1.6.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details
delphi4py-1.6.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details
delphi4py-1.6.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details
delphi4py-1.6.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details
delphi4py-1.6.1-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details

Total release size: 9.6 MB

Release files / delphi4py-1.6.1.tar.gz

Download URL delphi4py-1.6.1.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
78a88c89f2266404caa0152e4936315e00a922e21ef077953a6a4f869ab1391f
BLAKE2b-256 checksum
How to use checksums
0ee7680f97ba096ee8b1bdb9d8d4112e8c8f771217526d24bfec85e677f76003
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / delphi4py-1.6.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL delphi4py-1.6.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 1.4 MB
Tags CPython 3.14 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
791a715c3d8303a84ad265573d0d1e992eb0ea0738ad39018d8e44e86d303e7f
BLAKE2b-256 checksum
How to use checksums
46d604c0600b3a648dd614987ced3e3c4d3f7d2ce72d784988ea22f143fa981f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / delphi4py-1.6.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL delphi4py-1.6.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 1.4 MB
Tags CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
43f0d214332fcd23dd25b4e2359bddda711ae7f75219ff2710391f1608866495
BLAKE2b-256 checksum
How to use checksums
a6c8915d3aeabae2ebe836707a7b1e76b9f3ce85fde613db394536f781b974cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / delphi4py-1.6.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL delphi4py-1.6.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 1.4 MB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
ea736fc8c8e904b05c0d69004d6ce2cf64160a614c2146b2966865acbedc0996
BLAKE2b-256 checksum
How to use checksums
bdac8f7079037d80e25eb58b352729f3350b890c51aa0fb298f234616ed216e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / delphi4py-1.6.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL delphi4py-1.6.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 1.4 MB
Tags CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
0502ce341d1fc6fb5e354fe5cbd863f7bcbc7d1b7e688af0beb6128ad9af2cfd
BLAKE2b-256 checksum
How to use checksums
7b7dce21b1e7db045c37299ea3b67a3b31867b36843c38a9f3b0406e3fb1a7ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / delphi4py-1.6.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL delphi4py-1.6.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 1.4 MB
Tags CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
89b2cea5b3c63fa121c57a88fd0218cdae3640a7a15c057017bad1ec6d52519b
BLAKE2b-256 checksum
How to use checksums
e6efcd04bf838bbb680aa59dac2080dad46013e0252c0b4830d945c093b1cad6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / delphi4py-1.6.1-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL delphi4py-1.6.1-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 1.4 MB
Tags CPython 3.9 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
5b47b9870cc6d10dfcc149d1ee3694111d001dbce0e5501d56cde404014da37c
BLAKE2b-256 checksum
How to use checksums
e03a3c03d10901cc7ea8ea2a437f787ca652d6b3b121ddd93686e4f2afef34b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release history Release notifications | RSS feed

This release

1.6.1 This release

7 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.1

1 release file

1.1.0

1 release file

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page