Skip to main content

Python wrapper for cppEDM using pybind11

Project description

Empirical Dynamic Modeling (EDM)


This package provides a Python/Pandas DataFrame interface to the cppEDM library for EDM analysis. Introduction and documentation are are avilable online, or in the package API docs. A Jupyter notebook interface is available at jpyEDM.

Functionality includes:


Installation

Python Package Index (PyPI)

Certain MacOS, Linux and Windows platforms are supported with prebuilt binary distributions installed from PyPI pyEDM using the Python pip module.

Command line using the Python pip module: python -m pip install pyEDM

Manual Install

Unfortunately, we do not have the resources to provide pre-built binary distributions for all computer platforms. In this case the user can build the cppEDM library, then install the Python package using pip. On OSX and Linux this requires g++. On Windows, mingw and Microsoft Visual Studio Compiler (MSVC) which can be obtained from Build Tools for Visual Studio 2019. Only the Windows SDK is needed.

Note that the LAPACK library is required to build cppEDM.

OSX and Linux

  1. Download pyEDM: git clone https://github.com/SugiharaLab/pyEDM
  2. Build cppEDM library: cd pyEDM/cppEDM/src; make
  3. Build and install package: cd ../..; python -m pip install . --user --trusted-host pypi.org

Windows

  1. We do not have resources to maintain windows build support. These suggestions may be useful.
  2. Requires mingw installation.
  3. Requires gfortran libraries.
  4. Download pyEDM: git clone https://github.com/SugiharaLab/pyEDM
  5. Build cppEDM library: cd pyEDM\cppEDM\src; make
  6. Adjust paths to find gfortran and openblas libraries (pyEDM/pyEDM/etc/windows/libopenblas.a). You may need to rename libEDM.a to EDM.lib, and openblas.a to openblas.lib.
  7. Build and install package in pyEDM\: python -m pip install . --user --trusted-host pypi.org

Usage

Example usage at the python prompt:

>>> import pyEDM
>>> pyEDM.Examples()

References

Sugihara G. and May R. 1990. Nonlinear forecasting as a way of distinguishing chaos from measurement error in time series. Nature, 344:734–741.

Sugihara G. 1994. Nonlinear forecasting for the classification of natural time series. Philosophical Transactions: Physical Sciences and Engineering, 348 (1688) : 477–495.

Dixon, P. A., M. Milicich, and G. Sugihara, 1999. Episodic fluctuations in larval supply. Science 283:1528–1530.

Sugihara G., May R., Ye H., Hsieh C., Deyle E., Fogarty M., Munch S., 2012. Detecting Causality in Complex Ecosystems. Science 338:496-500.

Ye H., and G. Sugihara, 2016. Information leverage in interconnected ecosystems: Overcoming the curse of dimensionality. Science 353:922–925.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

pyEDM-1.10.2.0-cp310-cp310-win_amd64.whl (4.7 MB view details)

Uploaded CPython 3.10Windows x86-64

pyEDM-1.10.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pyEDM-1.10.2.0-cp310-cp310-macosx_10_15_x86_64.whl (405.7 kB view details)

Uploaded CPython 3.10macOS 10.15+ x86-64

pyEDM-1.10.2.0-cp39-cp39-win_amd64.whl (4.7 MB view details)

Uploaded CPython 3.9Windows x86-64

pyEDM-1.10.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

pyEDM-1.10.2.0-cp39-cp39-macosx_10_15_x86_64.whl (405.9 kB view details)

Uploaded CPython 3.9macOS 10.15+ x86-64

pyEDM-1.10.2.0-cp38-cp38-win_amd64.whl (4.7 MB view details)

Uploaded CPython 3.8Windows x86-64

pyEDM-1.10.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

pyEDM-1.10.2.0-cp38-cp38-macosx_10_14_x86_64.whl (405.5 kB view details)

Uploaded CPython 3.8macOS 10.14+ x86-64

pyEDM-1.10.2.0-cp37-cp37m-win_amd64.whl (4.7 MB view details)

Uploaded CPython 3.7mWindows x86-64

pyEDM-1.10.2.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.0 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

pyEDM-1.10.2.0-cp37-cp37m-macosx_10_14_x86_64.whl (402.6 kB view details)

Uploaded CPython 3.7mmacOS 10.14+ x86-64

File details

Details for the file pyEDM-1.10.2.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: pyEDM-1.10.2.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 4.7 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for pyEDM-1.10.2.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 81657e4fb5893b99de458b4e0a5f78cef8e8fdff06f76daa434880ba1cee2ba6
MD5 d4b5471120f07d1990b2346aca898962
BLAKE2b-256 263d32810f98847a53e7f2caefd9f8b6bf1c3dd01efeee77537ad106d9549b4f

See more details on using hashes here.

File details

Details for the file pyEDM-1.10.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyEDM-1.10.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d65b62b8bf7d8d0cd327b9c55348df89ee3df840b8d572a121613688d558ac8d
MD5 14b82e2cf4a14257eb0f95b7614fe07c
BLAKE2b-256 f3f73c5a6b815fbd0ab6e9d139d27bdb4e6ea2221bff0c32ee5fca4baf9b515e

See more details on using hashes here.

File details

Details for the file pyEDM-1.10.2.0-cp310-cp310-macosx_10_15_x86_64.whl.

File metadata

  • Download URL: pyEDM-1.10.2.0-cp310-cp310-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 405.7 kB
  • Tags: CPython 3.10, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for pyEDM-1.10.2.0-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 0fc931f9137551d1c7f25ee2ce95afbbca45c2d59d62d3e3517fee12e1491ff3
MD5 c8b1c08a49ed1f900be09f0b24027265
BLAKE2b-256 8d414668be2b117751dd134de25b96853876556bd8dcf18bcdbe545bedd1c5b9

See more details on using hashes here.

File details

Details for the file pyEDM-1.10.2.0-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: pyEDM-1.10.2.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 4.7 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for pyEDM-1.10.2.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 573fd73d664c3859becc42ebb64bbaaceb5530d886a7ecfc20e8496e148347de
MD5 f1342ce78f6eeb2782e0fe6b05773eb0
BLAKE2b-256 13b8a1ee2fb0304d9e49a0292ddd844f99ef2833d8641d9da18838a6f1a3ada2

See more details on using hashes here.

File details

Details for the file pyEDM-1.10.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyEDM-1.10.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 af5324fa8b64da59b20e6e352a0f5aa9b8dfa685533de31bf34ddfbe28de22f5
MD5 3e119de4a8ca5984349778e7ce6377e3
BLAKE2b-256 37d7f7d890ba8eec683ebca98416cb299fdccf0f2d4c719550a49be07fcaed9d

See more details on using hashes here.

File details

Details for the file pyEDM-1.10.2.0-cp39-cp39-macosx_10_15_x86_64.whl.

File metadata

  • Download URL: pyEDM-1.10.2.0-cp39-cp39-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 405.9 kB
  • Tags: CPython 3.9, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for pyEDM-1.10.2.0-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 0a99f922a8f621266764e6aa4120767f92ed80a22962d730963c881cce393b7f
MD5 c61f62335fbe76ef1184f5c8f05b2f4c
BLAKE2b-256 095432653d043202f6a9487a62968f534dcf249b4c06cefd01e6827559d3955e

See more details on using hashes here.

File details

Details for the file pyEDM-1.10.2.0-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: pyEDM-1.10.2.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 4.7 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for pyEDM-1.10.2.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 b8059411fae2ba649b81f43dbad212769168e7c4ddc04bd79d2c15f67cf3990a
MD5 8623ac8c561300de2e7c21292ba74437
BLAKE2b-256 7e1fc83baf24140d6981a6416c008a45dd17ab2ed6fefda05cd39e870fca42c4

See more details on using hashes here.

File details

Details for the file pyEDM-1.10.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyEDM-1.10.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5147597655c172c5b960ffa95bbe0c6408b778a7abb863d1df38c01ac5b6e304
MD5 78e16c1adae53f38cebb415b52889557
BLAKE2b-256 03f028d71d6ad216c6d4f219b6fa4dbb24a38ba4f498a96184cc698361cd2e7a

See more details on using hashes here.

File details

Details for the file pyEDM-1.10.2.0-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: pyEDM-1.10.2.0-cp38-cp38-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 405.5 kB
  • Tags: CPython 3.8, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for pyEDM-1.10.2.0-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 d2bdcfdb2ccde74042b0fe5dd8e034b7f70f12b828eabe84d6a9397eb3642be6
MD5 fbb6cb4ba79c3079ab04aef70cb20568
BLAKE2b-256 5e4268197fe585ab7fccda9a56c62387866de96f89fb18f231d0e8c65dee371a

See more details on using hashes here.

File details

Details for the file pyEDM-1.10.2.0-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: pyEDM-1.10.2.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 4.7 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for pyEDM-1.10.2.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 972cbc6097ea455c22eb4e43f7036cf7f27d9e2b5c7de82d556512387599019d
MD5 f2f0a28eca9a3c361859a61f3dbe5e86
BLAKE2b-256 6bb0d281438f6b73d1e55468c2fad32873e0e9f27a9611fe017881a564154da0

See more details on using hashes here.

File details

Details for the file pyEDM-1.10.2.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyEDM-1.10.2.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3d0be2055b3340b0bb77419dbc5d4354fb2a03eb8f2c4de1f35497ca21c65dec
MD5 cfa6852b7ff3be94aac4aff195cfc742
BLAKE2b-256 65eb47936fbcef6e9e1c41df10482079846c55132ab79d3f05b5810a8bc4243a

See more details on using hashes here.

File details

Details for the file pyEDM-1.10.2.0-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: pyEDM-1.10.2.0-cp37-cp37m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 402.6 kB
  • Tags: CPython 3.7m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for pyEDM-1.10.2.0-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 4639903e3a10c579c47c82dc68390483ffacf346d8397e4c489a946e7ec1b805
MD5 542f3bdcbf71b00bcf805586cafc35e9
BLAKE2b-256 b0d070cb3884735de59e4beb2ebf2c13b64f6a5556248af3613e1582cc3bb193

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