Skip to main content

samstars

samstars is a Python library for instance segmentation of individual trees using high-resolution imagery and lidar-derived rasters.

Installation

For users, install the published library from PyPI:

python -m pip install samstars

samstars supports Python 3.10 through 3.12 on Linux x86-64 and Apple Silicon macOS. CPU execution is the baseline. Apple Silicon users can install optional TensorFlow Metal support with python -m pip install "samstars[metal]"; Linux CUDA users should install a matched PyTorch/Torchvision build using the official PyTorch selector before installing samstars.

samstars does not bundle trained model files. See docs/training.md and docs/segmentation.md to train a model bundle and run segmentation.

Developer setup

For local development from a clone:

python -m pip install -e .

Install the test dependencies and run the functional suite with:

python -m pip install -e ".[test]"
python -m pytest

For documentation development:

python -m pip install -e ".[docs]"
mkdocs serve

For platform-specific development environments, use the Conda environment files in this repository:

conda env create -f environment.ubuntu.samstars.yml
conda activate samstars
python -m pip install -e .

On Apple Silicon macOS, use environment.macos.samstars.yml instead. These environment files provide Python 3.10 CPU baselines; accelerator setup is described in docs/installation.md.

Notes

  • Python 3.10 through 3.12 is supported on Linux x86-64 and Apple Silicon macOS.
  • CPU execution is the default; CUDA, MPS, and TensorFlow Metal are opt-in accelerators.
  • Segmentation runs require a trained samstars model bundle.
  • The intended workflow is to train a model bundle for your data and then use it for segmentation.

Metadata

Release files for samstars 0.1.0

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

Source distribution (sdist)

Source distribution for samstars 0.1.0
File Size Uploaded
samstars-0.1.0.tar.gz 52.8 kB Details

Built distribution (wheel)

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

Total release size: 110.1 kB

Release files / samstars-0.1.0.tar.gz

Download URL samstars-0.1.0.tar.gz
Size 52.8 kB
Tags Source
SHA-256 checksum
How to use checksums
acfca106f7b2a3ebd942a7c7dbdf13cba2a6e844c3c8e8e908ef452b684d7126
BLAKE2b-256 checksum
How to use checksums
8ba0b906197231edf76919a7c6624fb2fee0b5d2d7fe4bc2d4cc5fcda970ae5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 23, 2026.

Transparency log

Release files / samstars-0.1.0-py3-none-any.whl

Download URL samstars-0.1.0-py3-none-any.whl
Size 57.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d3fc2fdc5bb2c724a3311986d1defbd5655979f8433ed31cbf31ceb5657b9a9f
BLAKE2b-256 checksum
How to use checksums
b3624e05e2c1c97dd27d61e842bfdb7900a9338b33292f43337308b0ee2f6473
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 23, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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