AnDFN, Analytical Discrete Fracture Network
Introduction
AnDFN is a computer program for the modelling of groundwater flow in a discrete fracture network (DFN). The program is based on the Analytic Element Method (AEM) and is distributed as a Python package with various modules and scripts.
The documentation for AnDFN is available here.
Installation
AnDFN can be installed from PyPi.
Installation:
pip install andfn
Update:
pip install andfn --upgrade
Uninstall
pip uninstall andfn
Dependencies
andfn depends on a number of Python packages, which will be installed automatically when installing andfn.
To install all dependencies run:
pip install andfn[all]
Getting started
A template for a simple AnDFN model and several examples are available in the examples folder (under development).
Citation
The basic theory for this program is published in:
Otto D.L. Strack, Erik A.L. Toller, An analytic element model for flow in fractured impermeable rock, Journal of Hydrology, 2024, 131983, ISSN 0022-1694, https://doi.org/10.1016/j.jhydrol.2024.131983.
You can also cite the software itself from Zenodo: https://doi.org/10.5281/zenodo.22275898
Acknowledgements
The original development of this code was funded by BeFo (Stiftelsen Bergteknisk Forskning) grant number 529.
Metadata
Release files for andfn 0.1.21
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| andfn-0.1.21.tar.gz | 111.1 kB | With provenance | Details for andfn-0.1.21.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| andfn-0.1.21-py3-none-any.whl | Python 3 | none | any | Details for andfn-0.1.21-py3-none-any.whl |
Total release size: 211.3 kB
Release files / andfn-0.1.21.tar.gz
| Download URL | andfn-0.1.21.tar.gz |
|---|---|
| Size | 111.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
40c3c91b8168ea97038ced5c8aac31b49574158db6f1f4cf970e3965071c4dd3
|
|
BLAKE2b-256 checksum How to use checksums |
bb0dff50d1344deec7e6a0c8a8170673d54263e30bea3bd0198728f67e433e98
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.
Transparency logRelease files / andfn-0.1.21-py3-none-any.whl
| Download URL | andfn-0.1.21-py3-none-any.whl |
|---|---|
| Size | 100.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8838f2642ada840a99e7e0925d18449c4aa59fe51822bbf91bbf117232ac5e81
|
|
BLAKE2b-256 checksum How to use checksums |
3965ee24a3eac35e8b0fd5581bedb3ba7e29bac9ffcabc3e0b17139675f997d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.
Transparency logSecurity for andfn 0.1.21
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for andfn-0.1.21.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.