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.

Download files

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

Source Distribution

samstars-0.1.0.tar.gz (52.8 kB view details)

Uploaded Source

Built Distribution

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

samstars-0.1.0-py3-none-any.whl (57.2 kB view details)

Uploaded Python 3

File details

Details for the file samstars-0.1.0.tar.gz.

File metadata

  • Download URL: samstars-0.1.0.tar.gz
  • Upload date:
  • Size: 52.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for samstars-0.1.0.tar.gz
Algorithm Hash digest
SHA256 acfca106f7b2a3ebd942a7c7dbdf13cba2a6e844c3c8e8e908ef452b684d7126
MD5 3d2c7e1551bdf7b4856c623308519550
BLAKE2b-256 8ba0b906197231edf76919a7c6624fb2fee0b5d2d7fe4bc2d4cc5fcda970ae5a

See more details on using hashes here.

Provenance

The following attestation bundles were made for samstars-0.1.0.tar.gz:

Publisher: workflow.yml on iosefa/samstars

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file samstars-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: samstars-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 57.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for samstars-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d3fc2fdc5bb2c724a3311986d1defbd5655979f8433ed31cbf31ceb5657b9a9f
MD5 252b510a629cb14b114de349227336a4
BLAKE2b-256 b3624e05e2c1c97dd27d61e842bfdb7900a9338b33292f43337308b0ee2f6473

See more details on using hashes here.

Provenance

The following attestation bundles were made for samstars-0.1.0-py3-none-any.whl:

Publisher: workflow.yml on iosefa/samstars

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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