Skip to main content

WDN-Synth: Water Distribution Network Synthetic Dataset Generator

WDN-Synth is a Python framework using EPyT (EPANET-Python Toolkit) for generating realistic, physics-based synthetic datasets for Water Distribution Networks (WDNs). It is designed to benchmark anomaly detection algorithms using realistic diurnal demand patterns, seasonal drifts, and physically consistent leak signatures.

Installation

The recommended way to install wdn-synth so it's globally available on your terminal (without messing with virtual environments or getting Linux externally-managed errors) is using pipx or uv:

# Recommended (install as a standalone app)
pipx install wdn-synth

# Alternatively, if you use uv:
uv tool install wdn-synth

If you prefer to install it into an active Python virtual environment (e.g. Conda or venv), you can use standard pip:

pip install wdn-synth

Graphical User Interface (GUI)

The easiest way to generate datasets is using the built-in Streamlit GUI. It provides a visual editor to configure your network, set stochastic demands, and visualize the leakage parameters.

To launch the GUI, simply run:

wdn-synth-gui

Command Line Interface (CLI)

For headless environments or automated workflows, you can use the CLI.

To run the entire pipeline (Plan -> Generate -> Validate) in one shot:

wdn-synth all profiles/your_config.yaml

If you prefer to run the steps individually:

wdn-synth validate profiles/your_config.yaml
wdn-synth plan profiles/your_config.yaml
wdn-synth generate profiles/your_config.yaml --shard 0
wdn-synth finalize profiles/your_config.yaml

License

This project is licensed under the European Union Public Licence v1.2 (EUPL-1.2).
For third-party licenses, simulation engines, and benchmark datasets, see THIRD_PARTY_NOTICES.md.

Acknowledgments & Funding

This research was developed at the University of Algarve (Universidade do Algarve - UAlg).

The authors acknowledge the computational support and resources provided by the Deucalion Supercomputer hosted at the Minho Advanced Computing Center (MACC) under the National Advanced Computing Network (RNCA) project grant F202514141CPCAA0X, funded by the Fundação para a Ciência e a Tecnologia (FCT, I.P.).

Metadata

Release files for wdn-synth 0.1.3.post1

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

Source distribution (sdist)

Source distribution for wdn-synth 0.1.3.post1
File Size Uploaded Provenance Actions
wdn_synth-0.1.3.post1.tar.gz 69.4 kB Without provenance Details for wdn_synth-0.1.3.post1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for wdn-synth 0.1.3.post1
File Interpreter ABI Platform Actions
wdn_synth-0.1.3.post1-py3-none-any.whl Python 3 none any Details for wdn_synth-0.1.3.post1-py3-none-any.whl

Total release size: 160.3 kB

Release files / wdn_synth-0.1.3.post1.tar.gz

Download URL wdn_synth-0.1.3.post1.tar.gz
Size 69.4 kB
Tags Source
SHA-256 checksum
How to use checksums
7598e3addf3bf52ea0acf2fe260c212999bef292c20814081fd7139762bdc4d6
BLAKE2b-256 checksum
How to use checksums
ef185219475622560adc717bcf18a3260f785882f57c589ebf8a98152caf5a00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.20 {"installer":{"name":"uv","version":"0.12.20","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / wdn_synth-0.1.3.post1-py3-none-any.whl

Download URL wdn_synth-0.1.3.post1-py3-none-any.whl
Size 91.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
294c500e3ab696e508259da14a654eb8efaa6da73aa1e30e13bac52cfa557712
BLAKE2b-256 checksum
How to use checksums
024733d8df387c76deec866a180eff0beb1af93569bfc9308003ec89438fdc4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.20 {"installer":{"name":"uv","version":"0.12.20","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for wdn-synth 0.1.3.post1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

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