Skip to main content

WDN-Synth: Water Distribution Network Synthetic Dataset Generator

An EPyT-first framework for generating highly realistic, physics-based synthetic datasets for Water Distribution Networks (WDNs). Designed specifically to benchmark anomaly detection algorithms (like HOT SAX or CUSUM) with realistic diurnal 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 EUPL-1.2.

Metadata

Release files for wdn-synth 0.1.2

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.2
File Size Uploaded
wdn_synth-0.1.2.tar.gz 75.1 kB Details

Built distribution (wheel)

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

Total release size: 170.5 kB

Release files / wdn_synth-0.1.2.tar.gz

Download URL wdn_synth-0.1.2.tar.gz
Size 75.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f9f6fb29c4b156277994bd68aa3eb9c5ebba8d3867a22df490d84eab0128da2d
BLAKE2b-256 checksum
How to use checksums
9c09f21984e8cd04bd4aa00d10e297b9b15f83f2493fbb4b1c7347f36ac7d8ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"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.2-py3-none-any.whl

Download URL wdn_synth-0.1.2-py3-none-any.whl
Size 95.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4a66862432a0f427e01609b8890e1e85063d476629f4f9f3d3e25ce7681c49af
BLAKE2b-256 checksum
How to use checksums
d4217e4cca4c9d37292c58ccb3ed3abcc86e8e16417c4444369031036d587386
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

0.1.3

2 release files

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

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