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.3.0-cp310-cp310-win_amd64.whl (4.8 MB view details)

Uploaded CPython 3.10Windows x86-64

pyEDM-1.10.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pyEDM-1.10.3.0-cp310-cp310-macosx_10_15_x86_64.whl (433.2 kB view details)

Uploaded CPython 3.10macOS 10.15+ x86-64

pyEDM-1.10.3.0-cp39-cp39-win_amd64.whl (4.8 MB view details)

Uploaded CPython 3.9Windows x86-64

pyEDM-1.10.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.9 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

pyEDM-1.10.3.0-cp39-cp39-macosx_10_15_x86_64.whl (433.4 kB view details)

Uploaded CPython 3.9macOS 10.15+ x86-64

pyEDM-1.10.3.0-cp38-cp38-win_amd64.whl (4.8 MB view details)

Uploaded CPython 3.8Windows x86-64

pyEDM-1.10.3.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.9 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

pyEDM-1.10.3.0-cp38-cp38-macosx_10_14_x86_64.whl (433.1 kB view details)

Uploaded CPython 3.8macOS 10.14+ x86-64

pyEDM-1.10.3.0-cp37-cp37m-win_amd64.whl (4.8 MB view details)

Uploaded CPython 3.7mWindows x86-64

pyEDM-1.10.3.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.3.0-cp37-cp37m-macosx_10_14_x86_64.whl (430.1 kB view details)

Uploaded CPython 3.7mmacOS 10.14+ x86-64

File details

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

File metadata

  • Download URL: pyEDM-1.10.3.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 4.8 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.3.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 ef4d5cfde2df6d5ff2dc9da0b47a6383485c69b895f00e6b1b53b5eb860dbcbb
MD5 a0e558748ae20ee23e35559189e391d8
BLAKE2b-256 6b3c2f5ba8f3733fb5a2011e61e60cef2bb865c9ec9b738f0d5016cf7f025a35

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyEDM-1.10.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2493d2dbe7112022ff660eb1d72aac941731f56fcfc0e9a3e0e689976a2abb88
MD5 dfa8344b44155d0eb988e77151db5044
BLAKE2b-256 e6aa1b0d2662e1465aafa66e694a2df8cf0c1d361760d1eae2acc91bf92bc3e7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyEDM-1.10.3.0-cp310-cp310-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 433.2 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.3.0-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 1d4079974bd943cee00f664227f71c833d850d0d6e01b4fb566036ab4614c57b
MD5 c575177c508204bde00a2a8ba284203f
BLAKE2b-256 25921d1ccf2be5d3fe6a42f3ce053c63f91ad05ecde87ce186b5d66637635549

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyEDM-1.10.3.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 4.8 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.3.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 434010c73dcdb3468c426572545d4635753e54c9e623baf0c3c402a81658154e
MD5 e9fa8f7435652fd7ca50428a7407516e
BLAKE2b-256 372e414bf020de5777a166ad9e23eaf89fd93fbf158d948dc3659b871b08170e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyEDM-1.10.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bfe58ef7dd394131d8da6fb876d248870c8307bdd79b0fd482e0c87f2542b3e2
MD5 a2d8f90bf7a559886fc2169ce91ef6e0
BLAKE2b-256 a6b844cc1f58d761d40c4c12f89a7f57c80091a5eb6c20b78bc449ff19e6f11e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyEDM-1.10.3.0-cp39-cp39-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 433.4 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.3.0-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 800e0af4d256e0530669674949ae7e87d728dc27d11cb757398add22710aa663
MD5 38bdbc35a9b769d35894942a9397af6b
BLAKE2b-256 772c6941c337331e0f7f2fb067f685000b55c532223a0a8fe216ce1bc5dd0a06

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyEDM-1.10.3.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 4.8 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.3.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 dac1dc04403022adac141e75cc10736c25a2aa6fe2bc5e3c1e8fd65ea3146929
MD5 a197148fe07669e2e92b0fef8360d81c
BLAKE2b-256 e2d130ce600c99b0ba1d878a1dafacc775af77997510e1cb0c78c8cd8743a89e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyEDM-1.10.3.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 18a54f986b6a6c73da805ad72ba0ca7b4152e99a36ff04e84ed099d6116bf2b5
MD5 a299bf1ab387dcb880da2bda9b79e9f6
BLAKE2b-256 c8bb4134fe2e8c664cacfb83e08e1804a5e64859f84a08313d7dd6b6e32f7515

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyEDM-1.10.3.0-cp38-cp38-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 433.1 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.3.0-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 2f456a24233acdc53ff2366855cff6cd852e2d1be5984a9425d3709a6590cc9b
MD5 6d325c34243e6cd4828cb69568d1c071
BLAKE2b-256 a8a81192cccbb8a59a52ad8db05ef03b5aca7ee3e5a91ced90f405ffe4d65fec

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyEDM-1.10.3.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 4.8 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.3.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 fd9fc2a4894db1049c5eedc25ba950598261fe1db61b9bf0f12e36d3a93c04aa
MD5 be23aa4b8752000da0d656bfda12e2a8
BLAKE2b-256 b65fa3cce17bdb8882c2731e15ee65107b69ee772418e0152ab39c23fff093cc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyEDM-1.10.3.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 50d2fadb98d287c41590b89f1ff86cbb226f88da183207483d58d08574306fc9
MD5 f1b0cb4b97e741f170128b8086457ba3
BLAKE2b-256 b2b39f6f7fbc9791e598bffd33bdc789b239e0ef7690b6c4a3ee29c00f850ccb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyEDM-1.10.3.0-cp37-cp37m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 430.1 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.3.0-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 2aba7bf993f32a2fd59ef20af645d6bf1a4c173e8e7a4d5dd11584661280358f
MD5 7b49cbc13779c224e09672583f476d87
BLAKE2b-256 1bda752998a3338fe6e9b066c07740705121ae8bdd07a15a2dff8b791f2b0e35

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