S2DL - Sentinel 2 Downloader
S2DL is a Python library for downloading Sentinel-2 L1C and L2A satellite imagery data.
Features
- Download Sentinel-2 product data using product IDs
Installation
You can install the S2DL library via pip:
pip install s2dl
Usage
Here's a simple usage example:
from s2dl import fetch_single_sentinel_product
from pathlib import Path
product_id = "S2A_MSIL2A_20220111T021351_N0301_R060_T50HLK_20220111T041611"
target_directory = Path("./data")
target_directory.mkdir(exist_ok=True)
# Fetch and save a single Sentinel-2 product's data
scene_dir = fetch_single_sentinel_product(product_id, target_directory)
For downloading multiple products:
from s2dl import fetch_multiple_sentinel_products
from pathlib import Path
product_ids = [
"S2A_MSIL2A_20220111T021351_N0301_R060_T50HLK_20220111T041611",
"S2A_MSIL1C_20230712T032521_N0509_R018_T52WFD_20230712T051642",
]
target_directory = Path("./data")
target_directory.mkdir(exist_ok=True)
# Fetch and save multiple Sentinel-2 products' data
scene_dirs = fetch_multiple_sentinel_products(product_ids, target_directory)
Contributions
We welcome contributions from the community. Please submit a pull request with your improvements or bug fixes.
License
S2DL is licensed under the MIT License.
Metadata
Release files for s2dl 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| s2dl-0.4.1.tar.gz | 5.1 kB | Without provenance | Details for s2dl-0.4.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| s2dl-0.4.1-py3-none-any.whl | Python 3 | none | any | Details for s2dl-0.4.1-py3-none-any.whl |
Total release size: 10.5 kB
Release files / s2dl-0.4.1.tar.gz
| Download URL | s2dl-0.4.1.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ca43ad2a5522695de78215ad0d3c5ce5c3d0124106eb4e6fea1f50c73f4983e0
|
|
BLAKE2b-256 checksum How to use checksums |
050bb2bf9514e37abde509f2c1d9ac47a41cee1b2ae156c6da4760cc46922d2a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.15
|
Release files / s2dl-0.4.1-py3-none-any.whl
| Download URL | s2dl-0.4.1-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
24704ece047cea67b381d342ad310b062b4148f1d2f241b733e64e555a9dc00e
|
|
BLAKE2b-256 checksum How to use checksums |
26ddcc16a2ee8b17e9b98af4a3fa272528ef0f5d206e581f58083b00d5b54813
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.15
|
Security for s2dl 0.4.1
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.