This release is a pre-release and may not be stable for production use.
pysits
Python wrapper for the sits R package.
Installation
To install pysits with pip:
pip install pysits
or the development version:
pip install git+https://github.com/e-sensing/pysits.git
To use
pysits, you must have sits installed. For more information, refer to the official sits documentation.
Development setup (for contributors)
To set up a local development environment:
1. Clone the repo and access it:
git clone https://github.com/e-sensing/pysits.git
cd pysits
2. Create a virtual environment using uv
uv venv
source .venv/bin/activate # or .venv\Scripts\activate on Windows
3. Install the project in editable mode with development tools:
uv pip install -e ".[dev]"
Run tests
We use pytest for testing:
pytest
Code formatting
To keep the codebase clean and consistent we use ruff:
ruff format .
Linting
We use ruff for static analysis:
ruff check .
The
examples/directory is excluded from linting.
Learn more
To learn all about sits, including its concepts, API, and real-world examples, we recommend accessing the official sits book. The book provides examples in both R and Python.
Contributing
We welcome contributions! Please:
- Fork the repository
- Create a feature branch
- Submit a pull request with a clear description
License
pysits is distributed under the GPL-2.0 license. See LICENSE for more details.
Metadata
Release files for pysits 2.0.0.dev4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pysits-2.0.0.dev4.tar.gz | 365.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pysits-2.0.0.dev4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 603.1 kB
Release files / pysits-2.0.0.dev4.tar.gz
| Download URL | pysits-2.0.0.dev4.tar.gz |
|---|---|
| Size | 365.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
acb9995df9ee225adae8cc4df75c964701f7e4e56a21ad3ed62c2ec89c8947a7
|
|
BLAKE2b-256 checksum How to use checksums |
483b8698f5d66b1086fed7165934a614c6617ad942f5ea071e4a93826e244a7a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / pysits-2.0.0.dev4-py3-none-any.whl
| Download URL | pysits-2.0.0.dev4-py3-none-any.whl |
|---|---|
| Size | 237.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ee51e4c8d69210c36925579f5222af5eb1fd4b9f92c5552486f91c1730dd3fb8
|
|
BLAKE2b-256 checksum How to use checksums |
2562b73e242f4958c8c92798a1785b64dbbc21b1087c10583f793aac5b502c5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|