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

🛠 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

Explore the examples directory for usage demos and tutorials.

🤝 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.dev0.tar.gz (5.0 MB 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.dev0-py3-none-any.whl (105.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pysits-1.5.3.dev0.tar.gz
  • Upload date:
  • Size: 5.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.8

File hashes

Hashes for pysits-1.5.3.dev0.tar.gz
Algorithm Hash digest
SHA256 93bbc24dca277a9a2a19c00da8dc0532d833c039eff3952860883e9aae1bc1be
MD5 3e0393f51b62295bb46e0a2bf2a2262d
BLAKE2b-256 ddd7655974dbc30ee4b68e01934e3035427759a0e062b7df1b2f488e8e792428

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pysits-1.5.3.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 daa9e5d6e637ab6388df8f35a7beaeefe73f5238b7da7f6df5a1e1a81e898550
MD5 ef8c2bb1e7e30c5cea1037569401b399
BLAKE2b-256 6b5a88693eddb16bb2efff5f4f1c38e781e22c65dca520f602c862002cddb75f

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