A set of recursive population models for ecologists
Project description
generations
A set of recursive population models for ecologists including:
- Nicholson Bailey host-parasitoid model
- Weed-herbivore coupled model for an annual seedbanking plant from Buckley et al. 2005
- Weed-herbivore model for a biennial seedbanking plant
Running
python -m generations.nicholson_bailey
python -m generations.buckley
python -m generations.biennial
Testing
./test.sh
This will run the unit tests. If you have pipenv, it will also run a number of other checks:
yapf
: reformat the code automaticallymypy
: check for runtime errors like misnamed imports or variables, or incompatible typestox
: run the unit tests against Python 2.7 and 3.7coverage
: report on lines that are not covered by unit tests
Uploading to PyPI
Install pipenv if you don't have it.
Run the tests one last time:
./test.sh
Build the distribution files:
pipenv run python3 setup.py sdist bdist_wheel
Upload using twine
. It will prompt for your PyPI password:
pipenv run twine upload dist/*
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
generations-1.0.0.tar.gz
(5.0 kB
view hashes)
Built Distribution
Close
Hashes for generations-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ac7870cffa5dc9d672f22acb71867947975a96abf8e867040c2c5a83020928a |
|
MD5 | db215a3a1698d30e41faaf2476182695 |
|
BLAKE2b-256 | 6230ca1570c81e68c4acfe10d12f413cf41bf99c2178d279c596fe9daea001a7 |