Skip to main content

craterslab

A library to simplify the analysis of crater data from depth maps.

QA Release Python 3.11+ License: MIT Docs PyPI
uv Ruff Checked with mypy

Installation · Usage · Troubleshooting · Development


Installation

Craterslab requires Python 3.11+ for functioning. Make sure you have a compliant version of python installed in your system.

Craterslab is also available from pypi. You can install it by running:

$ pip install craterslab

We strongly encourage users using this method to create a virtual environment before installing the library.

Installing craterslab from the repository using uv

Make sure you have uv in your system and then run:

$ git clone https://github.com/gvieralopez/craterslab.git
$ cd craterslab
$ uv sync

These will create an isolated virtual environment with craterslab installed on it. Run commands inside it with uv run.

Usage

You can find some examples on how to use the library in this repository:

$ git clone https://github.com/gvieralopez/craterslab.git
$ cd craterslab/examples

Before executing any example, you will need to download data from actual craters using the provided scripts:

$ python download_data.py

Then, you can execute any given example as:

$ python example1.py

See software documentation for more details.

Troubleshooting

Error running the examples

If you get a warning as such

UserWarning: FigureCanvasAgg is non-interactive, and thus cannot be shown

You may need to install tk on your operative system.

Development

Setup, QA, docs and releases: DEVELOPMENT.md.

Contributing

Issues and pull requests are welcome; make qa must pass.

License

MIT: see LICENSE.


🚀 Project starter provided by Cookie Pyrate v1.1.2

Metadata

Release files for craterslab 0.2.9

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

Source distribution (sdist)

Source distribution for craterslab 0.2.9
File Size Uploaded Provenance Actions
craterslab-0.2.9.tar.gz 24.4 MB Without provenance Details for craterslab-0.2.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for craterslab 0.2.9
File Interpreter ABI Platform Actions
craterslab-0.2.9-py3-none-any.whl Python 3 none any Details for craterslab-0.2.9-py3-none-any.whl

Total release size: 47.6 MB

Release files / craterslab-0.2.9.tar.gz

Download URL craterslab-0.2.9.tar.gz
Size 24.4 MB
Tags Source
SHA-256 checksum
How to use checksums
56cfcd165a745c66a1d71a3c04eb3a63c80b0341a6872e1de3bbce61a0c4a22b
BLAKE2b-256 checksum
How to use checksums
2e11e42218c25ab598a7db97c02a16e6621f9033f3e8ab09c88bcfb9f4a33150
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / craterslab-0.2.9-py3-none-any.whl

Download URL craterslab-0.2.9-py3-none-any.whl
Size 23.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
0bb7d77641fa96b2159e193d6d2c4bb18f6eb84a9e5e49ccdd4adf41d58c8af1
BLAKE2b-256 checksum
How to use checksums
0ae34670f31682fba40a4f7b821e209ae174dbd25250722f8d4c115a4a98bc73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for craterslab 0.2.9

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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