Skip to main content

Master: Codeship Status for tesera/gypsy master Dev: Codeship Status for tesera/gypsy dev

Coverage Status Documentation Status PyPI License DOI

Conda-forge

Anaconda-Server Version Anaconda-Server Downloads

Linux: Circle CI OSX: TravisCI Windows: AppVeyor

PyPI

PyPI version PyPI Downloads PyPI Python Versions PyPI Format

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

[HuangEtAl2009]

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

  1. PyPI

pip install pygypsy
  1. 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:

  1. Check the pygypsy docs

  2. Check the pygypsy issue tracker

  3. 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)

Source distribution for pygypsy 0.4.0
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

Release history Release notifications | RSS feed

This release

0.4.0 This release

1 release file

0.3.1

1 release file

0.2.9

1 release file

0.2.8

1 release file

0.2.7

1 release file

0.2.5

1 release file

0.2.4

1 release file

0.2.3

1 release file

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