Skip to main content
Pre-release

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.dev3

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

Source distribution (sdist)

Source distribution for pysits 2.0.0.dev3
File Size Uploaded
pysits-2.0.0.dev3.tar.gz 293.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pysits 2.0.0.dev3
File Interpreter ABI Platform
pysits-2.0.0.dev3-py3-none-any.whl Python 3 none any Details

Total release size: 521.0 kB

Release files / pysits-2.0.0.dev3.tar.gz

Download URL pysits-2.0.0.dev3.tar.gz
Size 293.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9513a3fb7d469e53b29f59d36dcd87cc3f512992d4e75d25cb3eca10ad7fb98a
BLAKE2b-256 checksum
How to use checksums
4054f737d625532cc66539c70690d7cf89053bc40ca595b5229a82d3163b38e9
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.dev3-py3-none-any.whl

Download URL pysits-2.0.0.dev3-py3-none-any.whl
Size 227.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4b681b9bb4dad376b8275ca35581d5136bcce96c6cf8292c84e89bad0a8a76c7
BLAKE2b-256 checksum
How to use checksums
10e233bc5af0af46281d17ebf86ea3545684835b8c39da884841ec55ebb48b05
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}
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