Skip to main content

tests Documentation Status DOI

ws3 - Wood Supply Simulation System

ws3 (Wood Supply Simulation System) is a Python package for modeling landscape-level wood supply planning problems.

Read the tutorial here.

Table of Contents


Installation

We recommend installing ws3 package into a Python venv (virtual environment) to minimize interactions with system-level packages.

Optional CBM support available via pip install libcbm.

Optional Gurobi support available via pip install ws3[gurobi] or conda install -c gurobi gurobi.

Optional PuLP support available via pip install pulp.

In 000_venv_python_kernel_setup.ipynb we provide the instructions for how to set up a new venv-sandboxed Python kernel and make it available in your JupyterLab environment, assuming that you are running this notebook in a standard linux-based environment and a regular (non-root) using running commands in a bash terminal.

Modules

ws3 consists of the following main modules:

  • common.py: Contains definitions for global attributes, functions, and classes that might be used anywhere in the package.
  • core.py: Contains Interpolator class used by Curve class to interpolate between real data points.
  • forest.py: Implements functions for building and running wood supply simulation models.
  • opt.py: Implements functions for formulating and solving optimization problems.
  • spatial.py: Implements the ForestRaster class, which can be used to allocate an aspatial disturbance schedule (for example, an optimal solution to a wood supply problem generated by an instance of the forest.ForestModel class) to a rasterized representation of the forest inventory.

Usage

Multiple examples are available to demonstrate the utilization of ws3. Below is an overview explaining each of these examples:

License

MIT License Copyright (c) 2025 Gregory Paradis.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

  • The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
  • The software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages, or other liability, whether in an action of contract, tort, or otherwise, arising from, out of, or in connection with the software or the use or other dealings in the software.

Authors and Contributors

Primary Author:
Gregory Paradis — Lead developer and architect of the ws3 framework.

Additional Contributors:
Elaheh Ghasemi
Kathleen Coupland
Salar Ghotb

For full contribution history, see GitHub Contributors.

Metadata

Release files for ws3 1.0.5

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

Source distribution (sdist)

Source distribution for ws3 1.0.5
File Size Uploaded Provenance Actions
ws3-1.0.5.tar.gz 70.4 kB Without provenance Details for ws3-1.0.5.tar.gz

Built distribution (wheel)

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

Total release size: 140.9 kB

Release files / ws3-1.0.5.tar.gz

Download URL ws3-1.0.5.tar.gz
Size 70.4 kB
Tags Source
SHA-256 checksum
How to use checksums
416bfda9603312d3c60ab7dad5a34d78819438b69f4f209161255ef53e384059
BLAKE2b-256 checksum
How to use checksums
e127fea5301b63532f5640abdcbd883de3d0358dc7f5fd4aa8da92f1e30cafaa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.28.1

Release files / ws3-1.0.5-py3-none-any.whl

Download URL ws3-1.0.5-py3-none-any.whl
Size 70.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
59bb987cdc99dd934d26065eb0cb5cc358d6fb058bf01eea3be34098b9dc7e1d
BLAKE2b-256 checksum
How to use checksums
9334eb00742b0c8ee1c1839bb95f208e90315a72ccfba684baf32f0aed73d37d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.28.1

Security for ws3 1.0.5

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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