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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file generations-1.0.0.tar.gz.
File metadata
- Download URL: generations-1.0.0.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb2bab95f56b9cacaee3340168e07c26afd3abc5e1110963e1f5162b2b671a7b
|
|
| MD5 |
0f6be47162d2d600a66dc6b5d0342a8c
|
|
| BLAKE2b-256 |
f7b6e4cf463cb3e63535067121d52192ce7da9451fb7417b872395a8eaaff146
|
File details
Details for the file generations-1.0.0-py3-none-any.whl.
File metadata
- Download URL: generations-1.0.0-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ac7870cffa5dc9d672f22acb71867947975a96abf8e867040c2c5a83020928a
|
|
| MD5 |
db215a3a1698d30e41faaf2476182695
|
|
| BLAKE2b-256 |
6230ca1570c81e68c4acfe10d12f413cf41bf99c2178d279c596fe9daea001a7
|