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.dev2.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.dev2-py3-none-any.whl (105.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pysits-1.5.3.dev2.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.dev2.tar.gz
Algorithm Hash digest
SHA256 402a89566ded7a6aee59d06f4e392677c52421ce40f636b6bbe5b923bffc9c62
MD5 4638d1392e87eac682596beb19b81a12
BLAKE2b-256 34828344f642847fa7f09200994612898368c8ca21fd4b89401809c33641435a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pysits-1.5.3.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 ef76dcaeea414da94b9d80189908e0917b1b41eeea9ad88359a549c3dfe27a09
MD5 4e08046ffbf974703e7734364c49bec2
BLAKE2b-256 6c3d38314066dbd65ff5aadaa694868a7407c82af29bd100d1d579b502603b46

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