Skip to main content

rslearn is a tool for developing remote sensing datasets and models.

rslearn helps with:

  1. Developing remote sensing datasets, starting with defining spatiotemporal windows (3D boxes in height/width/time) that are roughly equivalent to training examples.
  2. Importing raster and vector data from various online or local data sources into the dataset.
  3. Fine-tuning remote sensing foundation models on these datasets.
  4. Applying models on new locations and times.

Full documentation is available at https://allenai.github.io/rslearn/.

Quickstart

If you are new to rslearn, we suggest starting here:

  1. First, read CoreConcepts, which summarizes key concepts in rslearn, including datasets, windows, layers, and data sources.
  2. Second, read the Usage overview, which provides an overview of the typical workflow in rslearn, from defining windows to training models.
  3. Finally, walk through the Quickstart, or find another example in Examples.md that can most readily be adapted for your project.

Other links:

  • DatasetConfig documents the dataset configuration file.
  • DataSources details the built-in data sources in rslearn, from which raster and vector data can be imported into rslearn dataset layers.
  • Compositors documents built-in and custom raster compositing methods, including cloud-aware ranking compositors.
  • ModelConfig documents the model configuration file.
  • TasksAndModels details the training tasks and model components available in rslearn.

Setup

rslearn requires Python 3.11+ (Python 3.12 is recommended).

git clone https://github.com/allenai/rslearn.git
cd rslearn
pip install .[extra]

For linting and tests:

pip install .[dev]
pre-commit install
pre-commit run --all-files
pytest tests/unit tests/integration
# For online data source tests, you can store credentials in .env and they will be
# loaded by pytest-dotenv.
pytest tests/online

Contact

For questions and suggestions, please open an issue on GitHub.

Metadata

Release files for rslearn 0.1.19

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

Source distribution (sdist)

Source distribution for rslearn 0.1.19
File Size Uploaded Provenance Actions
rslearn-0.1.19.tar.gz 500.4 kB With provenance Details for rslearn-0.1.19.tar.gz

Built distribution (wheel)

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

Total release size: 1.1 MB

Release files / rslearn-0.1.19.tar.gz

Download URL rslearn-0.1.19.tar.gz
Size 500.4 kB
Tags Source
SHA-256 checksum
How to use checksums
401102032cf1f1b08eafac02e4bd7e49cf96ef6791711b2575cad1cdb28060df
BLAKE2b-256 checksum
How to use checksums
ca21b4c4fa6621040ef87424891400389959138d710e4b171dba77796bf60fd8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / rslearn-0.1.19-py3-none-any.whl

Download URL rslearn-0.1.19-py3-none-any.whl
Size 623.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a840ad05c7ab880a00a244b4b7266753e866b776ecae70e6402aa5df4435a297
BLAKE2b-256 checksum
How to use checksums
b4136edb68155baccdd2e006f55ed338124f32e873f65e99e18c00f7ab521cc4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Security for rslearn 0.1.19

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for rslearn-0.1.19.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.1.19 This release

2 release files Full provenance

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