Skip to main content

# lsdnumbatools

DISCLAIMER: early and WIP, do not use if you don’t know what you are doing!

Provides numba framework for topographic analysis within the LSDTopoTools ecosystem. It aims to provdide full python access to the main algorithms of LSDTopoTools while avoiding the neeeds of c++. It does not replace or provide numba portage of the full LSDTopoTools, just the main one for quick use or quick developments. The data structure is heavily based on xarray.

License: Free software: MIT license

## What-Why-How?

Numba is a Just-in-time (JIT) compiler for python code, which means that it translates at runtime some pieces of code into assembly language using LLVM engine. It has the power to make some python functions as performant as C code under few conditions. Although it does not allow as much flexibility and power as C++ does, it is powerful enough for function with simple data-structure (numpy arrays). The huge advantage is that it fits in the interpreted python language and allow very quick development/debugging/distribution of code without the need of compiling for different platform and making bindings between python and C, making it an ideal tool for (i) testing algorithms before implementing them in heavier languages and (ii) develop a light version of the LSDTopoTools framework usable in full-python when the full stack of LSDTopoTools are not needed.

## Features

### Node graph

So far I mostly worked on the node graph object, which build on demand neighbouring info (Queen, King); single (Braun et al. 2013) and multiple (see fastscapelib-fortran](https://github.com/fastscape-lem/fastscapelib-fortran) ) flow topological order, and periodic/closed boundary conditions.

## Installation

If I start using this package more seriously, I will make a conda-forge package. Otherwise, clone this repository, and install the following dependencies: numba, numpy, matplotlib, pandas and it should do the trick. I recommend using conda as python environment manager.

## Quick Start

As a quick start, I added a jupyter notebook in the notebook folder.

## Credits

Contact: Boris Gailleton (boris.gailleton@gfz-potsdam.de)

Some of the core functions have been adapted from xarray-topo by Benoit Bovy This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.0.1 (2020-09-07)

  • First release on PyPI.

Metadata

Release files for lsdnumbatools 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lsdnumbatools 0.0.5
File Size Uploaded Provenance
lsdnumbatools-0.0.5.tar.gz 43.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for lsdnumbatools 0.0.5
File Interpreter ABI Platform
lsdnumbatools-0.0.5-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 85.7 kB

Release files / lsdnumbatools-0.0.5.tar.gz

Download URL lsdnumbatools-0.0.5.tar.gz
Size 43.4 kB
Tags Source
SHA-256 checksum
How to use checksums
2d1404d6fc3db595ac21f39e5af19d45db5a3580c881d1366986cb0157921a06
BLAKE2b-256 checksum
How to use checksums
998fee41edc0e1839da3c8d5ca2a34abe76f8e792385467c70cf1e5e7f01c305
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.3 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.8

Release files / lsdnumbatools-0.0.5-py2.py3-none-any.whl

Download URL lsdnumbatools-0.0.5-py2.py3-none-any.whl
Size 42.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
d92aa754e29f69009924465f466bc77290e075ab5eaa08de37168362292043b5
BLAKE2b-256 checksum
How to use checksums
89147c9645420a34fa2064d41e2ceadeaed4378b0c4ebbad3248ad787e08bffb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.3 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.8

Security for lsdnumbatools 0.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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