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

Uploaded CPython 3.11Windows x86-64

pyEDM-1.14.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pyEDM-1.14.2.0-cp311-cp311-macosx_10_9_universal2.whl (731.2 kB view details)

Uploaded CPython 3.11macOS 10.9+ universal2 (ARM64, x86-64)

pyEDM-1.14.2.0-cp310-cp310-win_amd64.whl (4.8 MB view details)

Uploaded CPython 3.10Windows x86-64

pyEDM-1.14.2.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.14.2.0-cp310-cp310-macosx_11_0_x86_64.whl (416.1 kB view details)

Uploaded CPython 3.10macOS 11.0+ x86-64

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

Uploaded CPython 3.9Windows x86-64

pyEDM-1.14.2.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.14.2.0-cp39-cp39-macosx_11_0_x86_64.whl (416.3 kB view details)

Uploaded CPython 3.9macOS 11.0+ x86-64

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

Uploaded CPython 3.8Windows x86-64

pyEDM-1.14.2.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.14.2.0-cp38-cp38-macosx_11_0_x86_64.whl (416.1 kB view details)

Uploaded CPython 3.8macOS 11.0+ x86-64

File details

Details for the file pyEDM-1.14.2.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: pyEDM-1.14.2.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 4.8 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for pyEDM-1.14.2.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ed29315df52ace79dd92eb7de1324d262a256871fdad598365eb78a4a941ec55
MD5 be30fa3072cfa2c90b6f527a84e92add
BLAKE2b-256 c77973b240ad9c79d8801a49f2a856d7e28d839a8650c1d66112fc1852b01f8f

See more details on using hashes here.

File details

Details for the file pyEDM-1.14.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyEDM-1.14.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7087e7f8fda7e3d8d437ad3d998ea572a32f91d2b40b4c089192f2e3c8ab7349
MD5 100d0ae497309507f014e92117e3c8cb
BLAKE2b-256 1c0d0680759dc84051d7b956a60182cf9b42a08132fe89e22317f1d531eddd61

See more details on using hashes here.

File details

Details for the file pyEDM-1.14.2.0-cp311-cp311-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for pyEDM-1.14.2.0-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 057e92caa15515cceca204636a409004d7b3b6843d1304b589d3ff894bc5064c
MD5 ecf4ac42fbabc082b4940ab5cff2f718
BLAKE2b-256 bd0d7a7c4750ebd8692f5588aff8d7ca7ed5f98c10c63dcaaef3de82fd247615

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyEDM-1.14.2.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/4.0.2 CPython/3.10.6

File hashes

Hashes for pyEDM-1.14.2.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 48f2674914364008b85e67833449df37f6e1cd36356fc029f318c8078f04aacf
MD5 816efc7c46693f78197ff6ef2a345555
BLAKE2b-256 c8d8e7e7964130eac5af476ea41be0dac5d7a4961aaf7cb4be6a8eba12ddf88e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyEDM-1.14.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a00135f4ac85670ad74070148184adc5a3c2679fa09a7ddfa21eb4890675fba3
MD5 804ba3ece315e4b0015f3ff620016c0c
BLAKE2b-256 7fd2f8f986406b602cc78918c4bb6bd8c7f16332ed74d9e1fb010964589c5301

See more details on using hashes here.

File details

Details for the file pyEDM-1.14.2.0-cp310-cp310-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for pyEDM-1.14.2.0-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 54144d13b5169f6e92132c8817ea849a32dcbbcbfd9959b0728ec7ce26ee310d
MD5 f7aacd5b9cdde9034287ac791e60490c
BLAKE2b-256 0c1b6c8dcedf0353c8e59cb7c4b7b9d58223d0963d13d02fe5ffbe6f6a2e046c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyEDM-1.14.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/4.0.2 CPython/3.10.6

File hashes

Hashes for pyEDM-1.14.2.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 eeea462ca12483f0d983d90faa14e45462693f75aa3dff7bbb07be00ffac2296
MD5 0adcb4b951dc68a22d09587c870c2247
BLAKE2b-256 a85e7cf02cd3813951813ba8fdc2a9a0fd4c91822c8153d15dcbfc329bf0a92a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyEDM-1.14.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ad89c501aa633c3784a73eba666d1319a83bad5ab5ca5bde28924e700ca9866a
MD5 03cd889186cd13c1b0cbb1ddc9a8c1c7
BLAKE2b-256 0ee2aa7e2ea386dde4d618b4b12b9a589b020361557dc705d82e80b002109e79

See more details on using hashes here.

File details

Details for the file pyEDM-1.14.2.0-cp39-cp39-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for pyEDM-1.14.2.0-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 93555e433394e1831cc499f392da636513bb9c67df0fc032cde100183aea2d4f
MD5 7417462db6577d8f903907de2f5c600c
BLAKE2b-256 add91086e0caea4deed2ff57575a2d8e69861c2717f0306e96ab85237cb15c5d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyEDM-1.14.2.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/4.0.2 CPython/3.10.6

File hashes

Hashes for pyEDM-1.14.2.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 59460280677d9f84ba71ada5452649d58b8f217866b2c4d8830e12fb443eedfc
MD5 937cc864893d29a5c15ff1ebbfda1b9f
BLAKE2b-256 58a579d0dc9f27b7c13174a671a16ec51784fb2271c307c7f3e6cd0cb3448293

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyEDM-1.14.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 898a32401bd4bfd7c5693b826d3672fcb6444e46266245ab42aa37683c7f3447
MD5 139bc12bccf75b0e6903236fa9096357
BLAKE2b-256 638d6043c7e586c2cc414012823e4bd84266f7ec96c927664bedb5b4206bbfc9

See more details on using hashes here.

File details

Details for the file pyEDM-1.14.2.0-cp38-cp38-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for pyEDM-1.14.2.0-cp38-cp38-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 2bcf3817d3156e7606ef8f42e1a40f25e61e0a1e1bb544142948e46c34cefe52
MD5 a5ce587185ed03f1db3d3921ef834c79
BLAKE2b-256 b2b4f7ffa2acfedd492e999210f14d3b60b4cebffa13bd73408de9f95812f4ac

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