pyotb: Orfeo ToolBox for Python
pyotb wraps the Orfeo Toolbox in a pythonic, developer friendly fashion.
Key features
- Easy use of Orfeo ToolBox (OTB) applications from python
- Simplify common sophisticated I/O features of OTB
- Lazy execution of operations thanks to OTB streaming mechanism
- Interoperable with popular python libraries (numpy and rasterio)
- Extensible
Documentation hosted at pyotb.readthedocs.io.
Example
Building a simple pipeline with OTB applications
import pyotb
# RigidTransformResample, with input parameters as dict
resampled = pyotb.RigidTransformResample({
"in": "https://myserver.ia/input.tif", # Note: no /vsicurl/
"interpolator": "linear",
"transform.type.id.scaley": 0.5,
"transform.type.id.scalex": 0.5
})
# OpticalCalibration, with input parameters as args
calib = pyotb.OpticalCalibration(resampled)
# BandMath, with input parameters as kwargs
ndvi = pyotb.BandMath(calib, exp="ndvi(im1b1, im1b4)")
# Pythonic slicing
roi = ndvi[20:586, 9:572]
# Pipeline execution. The actual computation happens here!
roi.write("output.tif", "float")
Metadata
Release files for pyotb 2.2.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 |
|---|---|---|---|---|
| pyotb-2.2.1.tar.gz | 41.7 kB | Without provenance | Details for pyotb-2.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyotb-2.2.1-py3-none-any.whl | Python 3 | none | any | Details for pyotb-2.2.1-py3-none-any.whl |
Total release size: 77.6 kB
Release files / pyotb-2.2.1.tar.gz
| Download URL | pyotb-2.2.1.tar.gz |
|---|---|
| Size | 41.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
11acde69bb0a61e825cf5dc3fb28906293e0970806ea46a17138e2df59528fb9
|
|
BLAKE2b-256 checksum How to use checksums |
a0f7ed24355f7d9c23008dc8bdbf7231a296c6e59ff211a1bc9e3d011bfabdb1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / pyotb-2.2.1-py3-none-any.whl
| Download URL | pyotb-2.2.1-py3-none-any.whl |
|---|---|
| Size | 35.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dc33ec41680292e567c7e80b327e62101c42b2a0251347df4d31155a9f58777b
|
|
BLAKE2b-256 checksum How to use checksums |
9192b4d7a0965c32ccf7ca813e00854e12a402299689187a2f456e0df9279c9a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Security for pyotb 2.2.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.