Skip to content

Green Unified Scenarios - A framework for digital twin representation and simulation for forests and their impact analysis.

License

Notifications You must be signed in to change notification settings

lucidmindsai/gus

Repository files navigation

License PyPI version Versions

GUS-IMAGE

Green Unified Scenarios

A digital twin representation, simulation of forests and their impact analysis.

Installation

Install GUS from PyPi:

$ pip install pyGus==2.1.2

You can use, Poetry as well:

$ poetry add pyGus

Development

You can create and use a virtualenv easily with pyenv and poetry

PyENV

See: pyenv on github

MacOS + Homebrew
brew update &&
brew install readline xz &&
brew install pyenv

Add those to your ~/.bashrc or ~/.zshrc (or any profiler you use)

eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"

Install a specific python version:

$ PY_VERSION = 3.9.17 # or 3.8.13 or 3.10.12, whichever you like :)
$ pyenv install $PY_VERSION

Then set this as your system global (or local) version

$ pyenv global $PY_VERSION

and install poetry

$ pip install poetry

Sidenote: We recommend to store your poetry virtualenvs within the project directory for ease of access to source code, etc.

$ poetry config virtualenvs.in-project true

Finally, install dependencies using

$ poetry install

Stick to PEP8 rules for code development. To do the checks, you can run code checks with Black

Once you're done with developing on your branch, before pushing your changes, please run:

$ poetry run black .

Testing

The code is tested by through pytest, which is included in the requirements.txt. You can manually install it with the command: $ pip3 install pytest

And run the tests:

$ pytest

All tests are in the tests/ folder

Who maintains GUS?

The GUS is currently developed and maintained by Lucidminds

Notes

  • The GUS is open for PRs.
  • PRs will be reviewed by the current maintainers of the project.
  • Extensive development guidelines will be provided soon.
  • To report bugs, fixes, and questions, please use the GitHub issues.

About

Green Unified Scenarios - A framework for digital twin representation and simulation for forests and their impact analysis.

Resources

License

Stars

Watchers

Forks

Packages

No packages published