Skip to main content

Python implementation of Ecopath with Ecosim (EwE) for food web modeling

Project description

pypath-ewe

Python implementation of Ecopath with Ecosim (EwE) for food web modeling.

pypath-ewe provides a complete Python implementation of the Rpath ecosystem modeling approach, including:

  • Ecopath -- mass-balance parameterization of food web models
  • Ecosim -- time-dynamic simulation with forcing functions and fishing scenarios
  • Ecospace -- spatially explicit ecosystem modeling with habitat maps and dispersal
  • Stanza groups -- multi-stanza (age-structured) population modeling
  • EcoBase / EwE database -- import models from online databases

Installation

pip install pypath-ewe

With optional dependencies:

pip install pypath-ewe[interactive]   # plotly, networkx
pip install pypath-ewe[spatial]       # geopandas, folium, shapely
pip install pypath-ewe[biodata]       # pyworms, pyobis for species data
pip install pypath-ewe[all]           # everything

Quick Start

from pypath import rpath, rsim_run, create_rpath_params

# Create a simple model
params = create_rpath_params(groups=["Phytoplankton", "Zooplankton", "Fish"], ...)
model = rpath(params)
output = rsim_run(model, years=50)

Documentation

Full documentation: https://razinkele.github.io/PyPath/

License

MIT

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

pypath_ewe-0.3.0.tar.gz (342.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pypath_ewe-0.3.0-py3-none-any.whl (204.9 kB view details)

Uploaded Python 3

File details

Details for the file pypath_ewe-0.3.0.tar.gz.

File metadata

  • Download URL: pypath_ewe-0.3.0.tar.gz
  • Upload date:
  • Size: 342.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for pypath_ewe-0.3.0.tar.gz
Algorithm Hash digest
SHA256 073ee9609adc937cab2b6e7932088b38e634296dc89e1c9543ea036a7af902eb
MD5 0de53cf49417021ee1fb1d5355713c4f
BLAKE2b-256 fe3e62633440cf98065e596f18a534340a0f3a45745ffb0c01ce340fbaf4b17b

See more details on using hashes here.

File details

Details for the file pypath_ewe-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: pypath_ewe-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 204.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for pypath_ewe-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3ea3593e5e939c60d4d30600b8a3e31e26862c90712018d9a9529f4a739d02ef
MD5 ee9fc643ddd420131747c2182aa1d0db
BLAKE2b-256 11cab01c5acffdf47d66d576efa8741842ec5b8ba15455aa12be9f0159c4396f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page