Conda-forge
PyPI
pygypsy
pygypsy is a python implementation of the forest Growth and Yield Projection SYstem [HuangEtAl2009].
Its main usage mode is a command line interface; it also has a an API for programmatic use.
It’s benefits over other offerings are:
configurable
control over the implementation
fast
easy to simulate multiple plots
Huang, Meng, Yang (2009). A Growth and Yield Projection System for Natural and Post-Harvest Stands in Alberta. Retrieved from http://www1.agric.gov.ab.ca/$department/deptdocs.nsf/all/formain15784/$file/GYPSY-Natural-PostHarvestStands-Alberta-May21-2009.pdf?OpenElement
Installation
pygypsy is available in the following package repositories
PyPI
pip install pygypsy
conda-forge
conda config --add channels conda-forge conda install pygypsy
Conda is the recommended environment for using gypsy on windows. Installation from PyPI currently requires compilation of cython extensions and C code; on Linux and OSX this is rarely problematic.
It is recommended to install in a virtualenv or conda env to avoid clobbering system or other projects’ python pacakges.
Usage
pygypsy provides a command line interface for convenient usage
The complete documentation can be accessed with pygypsy -h:
Usage: pygypsy [OPTIONS] COMMAND [ARGS]...
Growth and Yield Projection System
Note: 'prep' subcommand must be run before 'simulate'
Options:
-v, --verbose
-o, --output-dir PATH
-h, --help Show this message and exit.
Commands:
generate_config Generate a configuration file Generates a...
plot Create charts for all files in pygypsy...
prep Prepare stand data for use in pygpysy...
simulate Run pygypsy simulation
Documentation for subcommands is available via pygypsy SUBCOMMAND -h:
Getting help
If you are interesting in using or developing pygypsy and would like assistance:
Check the pygypsy docs
Check the pygypsy issue tracker
Open a new pygypsy issue
Contributing
If you would like to contribute to pygypsy, start by reviewing the contributing guide. If you need help getting started, see Getting help.
Release files for pygypsy 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pygypsy-0.4.0.tar.gz | 102.2 kB | Details |
Release files / pygypsy-0.4.0.tar.gz
| Download URL | pygypsy-0.4.0.tar.gz |
|---|---|
| Size | 102.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f78a9267cde1424c84140bd32399966174f670bccddfd3632a88ec74813c08f0
|
|
BLAKE2b-256 checksum How to use checksums |
7a21f556183e1d156195006bb03fdf09c33479c486ebf71433b1570cf7c0471f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |