timflow, a multi-layer analytic element model
timflow is a Python package for the modeling of multi-layer groundwater flow with analytic
elements. The package is split into two main submodules: timflow.steady for steady-state flow
and timflow.transient for modeling transient flow. Both modules may be applied to an
arbitrary number of aquifers and leaky layers. The head, flow, and leakage between
aquifers may be computed semi-analytically at any point in space and time.
The design
of timflow is object-oriented and has been kept simple and flexible.
New analytic elements may be added to the code without making any changes in the
existing part of the code. timflow is coded in Python and uses numba to speed up
evaluation of the line elements and inverse Laplace transforms.
The transient submodule is based on the Laplace-transform analytic element
method. The solution is computed analytically in the Laplace domain and converted back
to the time domain numerically using the algorithm of De Hoog, Stokes, and Knight.
Installation
timflow requires Python >= 3.11 and can be installed from PyPI:
pip install timflow
To install all optional dependencies (for running tests and building docs):
pip install timflow[dev]
Documentation
The documentation is hosted on readthedocs.
History
timflow combines the old packages TimML
and TTim. Git history is maintained within this new package, but the old repositories are still available for searching through old issues, pull requests, and other information.
Citation
Some of the papers that you may want to cite when using timflow are:
- Steady-state flow:
- Bakker, M., and O.D.L. Strack. 2003. Analytic Elements for Multiaquifer Flow. Journal of Hydrology, 271(1-4), 119-129. https://doi.org/10.1016/S0022-1694(02)00319-0 or here.
- Transient flow:
- M. Bakker. 2013. Semi-analytic modeling of transient multi-layer flow with TTim. Hydrogeology Journal, 21: 935-943. https://doi.org/10.1007/s10040-013-0975-2 or here.
- M .Bakker. 2013. Analytic modeling of transient multi-layer flow. In: Advances in Hydrogeology, edited by P Mishra and K Kuhlman, Springer, Heidelberg, 95-114. Available here.
Metadata
Release files for timflow 0.5.0
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 |
|---|---|---|---|---|
| timflow-0.5.0.tar.gz | 4.2 MB | With provenance | Details for timflow-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| timflow-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for timflow-0.5.0-py3-none-any.whl |
Total release size: 8.5 MB
Release files / timflow-0.5.0.tar.gz
| Download URL | timflow-0.5.0.tar.gz |
|---|---|
| Size | 4.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9f04414cefa1eff464c7055468916fdb87f689749be2086763e304b6348b5f02
|
|
BLAKE2b-256 checksum How to use checksums |
836ff97588722ddc8b982c9c4e06b61e7edc21839d1d549ebe85001fa52ab186
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 10, 2026.
Transparency logRelease files / timflow-0.5.0-py3-none-any.whl
| Download URL | timflow-0.5.0-py3-none-any.whl |
|---|---|
| Size | 4.3 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a51c3580bc210fd3810253f6e4e201995d609f9fefbded57c102180f72f99785
|
|
BLAKE2b-256 checksum How to use checksums |
48a0e54c5f3ed5b648e55aa23e4e7ae02f542150d26037ba3149c43e4bfbaacd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 10, 2026.
Transparency logSecurity for timflow 0.5.0
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 timflow-0.5.0.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 Sep 10, 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.