Skip to main content

Scabbard

Python package to design, use or visualise topographic analysis, landscape evolution models and hydro/morphodynamics simulations. Among other, home of GraphFlood (CPU and GPU) and CHONK. This framework is also building a GPU backend for general purpose landscape modeling.

Built on the shoulder of giants

scabbard started as a personal codebase and evolved toward a fully-fledge numerical Framework. It uses the robust and battle-tested scientific python stack (e.g. numpy, scipy, numba, ...) and geospatial python (e.g. rasterio, geopandas, libgdal, ...). It also relies on multiple domain-specific libraries to built a future-proof and community-compatible backend: libtopotoolbox and pytopotoolbox, fastscapelib, LSDTopoTool as well as my own collection of c++ and numba routines. All the GPU backends use taichi to ensure cross-platform/hardware compatibility and user-friendly code.

  • Free software: MIT license

How to install

pip install pyscabbard

As simple as that. Thanks to github actions allowing smooth CI, you do not have to compile anything yourself.

NOTE: pytopotoolbox official installation procedure is still WIP. I provide binary wheels within this project (./wheels/pytopotoolbox ). At first import, scabbard will provide instruction (i.e. a single command line to run).

Features

  • General geomorphic routines

  • Graphflood: Efficient hydrodynamic modelling, tailored for large scale. CPU and GPU version.

  • CHONK/trackscape/popscape: Long term Landscape Evolution Models.

Usage

Documentation is WIP and will be online soon

Credits

This package was created with Cookiecutter_ and the audreyr/cookiecutter-pypackage_ project template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter .. _audreyr/cookiecutter-pypackage: https://github.com/audreyr/cookiecutter-pypackage

======= History

0.0.9 (2024-10-25)

  • More fixes on the setup process
  • Added a simple GPU ray tracing engine for 3D plots
  • Started a unified interface for graphflood

0.0.8 (2024-10-15)

  • Cleaning the install process
  • Removing problematic legacy imports
  • Trimming requirements
  • Deprecating older tools relying on packages I do not use anymore

0.0.5 - 0.0.7 (2024-10-15)

  • Total refactoring. As Simple as that.
  • scabbard is the main tool now, it uses multiple backends DAGGER, pytopotoolbox, fastscapelib, numba and taichi

0.0.3 - 0.0.4 (2023-10-23)

  • Fixing couple of bugs on the grid
  • Experimental support for DAGGER's experimental stuff
  • Adding environment object (WIP, future main structure)

0.0.2 (2023-07-31)

  • Adding drainage divide quick extraction tools
  • Fixing sea_level/Z0 stuff

0.0.1 (2023-07-25)

  • First release on PyPI.
  • Adding tools for quick river extraction
  • Started a big behind-the-scene refactoring and standardisation (invisible at top level)
  • Maintenance and bug fixes

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

pyscabbard-0.0.9-py2.py3-none-any.whl (130.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pyscabbard-0.0.9-py2.py3-none-any.whl.

File metadata

  • Download URL: pyscabbard-0.0.9-py2.py3-none-any.whl
  • Upload date:
  • Size: 130.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for pyscabbard-0.0.9-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0da9867375b2133458591a349801aa501b6786c05d93739ee3f20032a0055be6
MD5 6b29314398f01baaf4eea53d9db90848
BLAKE2b-256 354bbc15f9fca89b9656fcec63b457a635ba479de4c7fae9e854969fa2620e22

See more details on using hashes here.

Release history Release notifications | RSS feed

0.0.16

2 files

0.0.15

2 files

0.0.14

2 files

0.0.13

2 files

0.0.12

2 files

0.0.10

1 file

This release

0.0.9 This release

1 file

0.0.8

2 files

0.0.7

2 files

0.0.6

1 file

0.0.5

2 files

0.0.4

1 file

0.0.3

1 file

0.0.2

2 files

0.0.1

1 file

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