Skip to main content

Direct damage assessments for natural hazards

Project description

DamageScanner: direct damage assessments for natural hazards

Logo

fair-software badge github license badge Tests DOI Documentation PyPI version 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.0.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.0-py3-none-any.whl (33.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: damagescanner-1.0.0.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.0.tar.gz
Algorithm Hash digest
SHA256 d1f84555fb6bb0910ce2d3d70993dd5f99f1df883c24c0be17abcfbe7b48cb1f
MD5 106a01c412f31dc32cce9b3f0d8f5f46
BLAKE2b-256 db4ad727d01f62d1fe189933ff4ac3c9416a67202591a4beb1cd62b008917928

See more details on using hashes here.

Provenance

The following attestation bundles were made for damagescanner-1.0.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: damagescanner-1.0.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b87b89e809f583fe2784fcb489ec5602a85962fc7a68155f52db861218f94316
MD5 b0e1b4c2732ebf775e0d168df8038a01
BLAKE2b-256 67513c066f6b3bb7a0bf045fad49a14452605fa450fc6ba0547a5f954a58cb36

See more details on using hashes here.

Provenance

The following attestation bundles were made for damagescanner-1.0.0-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