Skip to main content

Direct damage assessments for natural hazards

Project description

DamageScanner: direct damage assessments for natural hazards

Logo

github repo badge github license badge fair-software badge Documentation Status PyPI version DOI PyPI - Downloads

A python toolkit for direct damage assessments for natural hazards. Even though the method is initially developed for flood damage assessments, it can calculate damages for any hazard for which you just require a vulnerability curve (i.e. a one-dimensional relation).

Please note: This package is still in development phase. In case of any problems, or if you have any suggestions for improvements, please raise an issue.

Background

This package is (loosely) based on the original DamageScanner, which calculated potential flood damages based on inundation depth and land use using depth-damage curves in the Netherlands. The DamageScanner was originally developed for the 'Netherlands Later' project (Klijn et al., 2007). The original land-use classes were based on the Land-Use Scanner in order to evaluate the effect of future land-use change on flood damages.

Installation

To use DamageScanner in your project:

Using uv (recommended)

uv add damagescanner

Using pip

pip install damagescanner

Development & Testing

To set up a local environment for development or to run tests:

Using uv (recommended)

uv is an extremely fast Python package manager and is the preferred way to set up the development environment.

# Clone the repository
git clone https://github.com/VU-IVM/DamageScanner.git
cd DamageScanner

# Create a virtual environment and install all optional dependencies
uv sync --all-groups

Using Miniconda

If you prefer Miniconda, use the provided environment.yml file:

# Add conda-forge channel for extra packages
conda config --add channels conda-forge

# Create environment and activate
conda env create -f environment.yml
conda activate ds-test

Documentation

Please refer to the documentation of this project for the full documentation of all functions.

How to cite

If you use the DamageScanner in your work, please cite the package directly:

Here's an example BibTeX entry:

@misc{damagescannerPython,
      author       = {Koks, E.E. and {de Bruijn}, J.},
      title        = {DamageScanner: Python tool for natural hazard damage assessments},
      year         = 2026,
      doi          = {10.5281/zenodo.2551015},
      url          = {http://doi.org/10.5281/zenodo.2551015}
}

License

Copyright (C) 2026 Elco Koks & Jens de Bruijn. All versions released under the MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

damagescanner-1.0.0b3.tar.gz (30.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

damagescanner-1.0.0b3-py3-none-any.whl (33.1 kB view details)

Uploaded Python 3

File details

Details for the file damagescanner-1.0.0b3.tar.gz.

File metadata

  • Download URL: damagescanner-1.0.0b3.tar.gz
  • Upload date:
  • Size: 30.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for damagescanner-1.0.0b3.tar.gz
Algorithm Hash digest
SHA256 30b50524378cdd582a4d791e70b9a6e57c49d68e7891d27885e4e3c04fb2d555
MD5 6758748c983465e7b2cc072a6b45ebc1
BLAKE2b-256 98f2d64531ac7367358637adf0129ae6727dc08abbd603add9cc8c86b3aa46c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for damagescanner-1.0.0b3.tar.gz:

Publisher: publish.yml on VU-IVM/DamageScanner

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file damagescanner-1.0.0b3-py3-none-any.whl.

File metadata

  • Download URL: damagescanner-1.0.0b3-py3-none-any.whl
  • Upload date:
  • Size: 33.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for damagescanner-1.0.0b3-py3-none-any.whl
Algorithm Hash digest
SHA256 bd3dd43959091a58c0c46289c27f4fc369580b6f0211411e67c58eabe9c66843
MD5 a608bc61462e6122ae2972c3277cc64b
BLAKE2b-256 0a4fab15a4350806820ccee9b141aa2a8e7acb4975e95b0c08e58a6086990708

See more details on using hashes here.

Provenance

The following attestation bundles were made for damagescanner-1.0.0b3-py3-none-any.whl:

Publisher: publish.yml on VU-IVM/DamageScanner

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page