Skip to main content

Python wrapper for the sits R package

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pysits-1.5.3.tar.gz (151.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pysits-1.5.3-py3-none-any.whl (105.6 kB view details)

Uploaded Python 3

File details

Details for the file pysits-1.5.3.tar.gz.

File metadata

  • Download URL: pysits-1.5.3.tar.gz
  • Upload date:
  • Size: 151.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.9

File hashes

Hashes for pysits-1.5.3.tar.gz
Algorithm Hash digest
SHA256 30459f5c76fbab685bd1ad9292761c2fbe2c8b59d9c540bb62666b47ea1b4f21
MD5 103951c32c5376f144554a8049fefc27
BLAKE2b-256 90c2d1054411524df8ca683807eded6595d6518f06e45ed72a29b36d4fb2c158

See more details on using hashes here.

File details

Details for the file pysits-1.5.3-py3-none-any.whl.

File metadata

  • Download URL: pysits-1.5.3-py3-none-any.whl
  • Upload date:
  • Size: 105.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.9

File hashes

Hashes for pysits-1.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d4b122563406922afc02672a3af0929064acc209d7b3f1ecfa7458a0380b9906
MD5 9850fc53aade67d1d63626039e3f0aa2
BLAKE2b-256 3ca08bcab6dd788dbf1e3aa54bb3eb792d12e7eae9f30d9ab56e97846b3dfb94

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page