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.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 wdn-synth 0.1.1
File Size Uploaded
wdn_synth-0.1.1.tar.gz 75.0 kB Details

Built distribution (wheel)

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

Total release size: 170.3 kB

Release files / wdn_synth-0.1.1.tar.gz

Download URL wdn_synth-0.1.1.tar.gz
Size 75.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4b509124afbb14e92e6df6b0ecffeea645a4abc8d8a2fc0df7bd82b7d36965ff
BLAKE2b-256 checksum
How to use checksums
c6d72932f813d57b11db82a9b517f07934e6f9a9100bd254433b06de6997c042
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.1-py3-none-any.whl

Download URL wdn_synth-0.1.1-py3-none-any.whl
Size 95.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5ce26f12e3d8f457965157744efd000cc5f6e6fdfae7aebb32f168b3fdf1ef79
BLAKE2b-256 checksum
How to use checksums
2822e979b47fe4f47c5180dd245ee78ef8c519dd800fa37210656798a713e8c5
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

0.1.2

2 release files

This release

0.1.1 This release

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