From 8dcd3c323aa5fd7860292c4be3f7472400b27c26 Mon Sep 17 00:00:00 2001 From: Hui Date: Sun, 16 Feb 2025 05:32:36 +1100 Subject: [PATCH] Add pattern-causality --- recipes/pattern-causality/meta.yaml | 81 +++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 recipes/pattern-causality/meta.yaml diff --git a/recipes/pattern-causality/meta.yaml b/recipes/pattern-causality/meta.yaml new file mode 100644 index 0000000000000..3acd2bfa786c0 --- /dev/null +++ b/recipes/pattern-causality/meta.yaml @@ -0,0 +1,81 @@ +{% set name = "pattern-causality" %} +{% set version = "1.0.3" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://github.com/skstavroglou/pattern_causality_py/releases/download/v{{ version }}/pattern_causality-{{ version }}.tar.gz + sha256: 99d42253d559992eb0137356ad52036789f00dd87ee7f5b1e4e6ebbad5e55141 + +build: + number: 0 + script: {{ PYTHON }} -m pip install . -vv + skip: true # [win32 or py<38] + features: + - vc14 # [win] + +requirements: + build: + - {{ compiler('cxx') }} + - python + - pip + - numpy >=1.19.0 + - setuptools >=45 + - wheel + - llvm-openmp # [osx] + - vs2017_win-64 # [win] + - m2w64-toolchain # [win] + host: + - python >=3.8 + - pip + - numpy >=1.19.0 + - pandas >=1.0.0 + - setuptools >=45 + - wheel + - llvm-openmp # [osx] + run: + - python >=3.8 + - {{ pin_compatible('numpy', min_pin='x.x', max_pin='x.x') }} + - pandas >=1.0.0 + - llvm-openmp # [osx] + +test: + source_files: + - tests/ + - setup.py + - pyproject.toml + imports: + - pattern_causality + requires: + - pytest >=6.0 + - pytest-cov >=2.0 + commands: + - pip check + - pytest tests -v + +about: + home: https://github.com/skstavroglou/pattern_causality_py + license: BSD-3-Clause + license_family: BSD + license_file: LICENSE + summary: Pattern Causality Algorithm in Python + description: | + A comprehensive Python library that implements the Pattern Causality algorithm + for analyzing causal relationships in time series data. This package provides + efficient tools for detecting and quantifying causality patterns between + multiple time series, with a particular focus on nonlinear complex systems. + doc_url: https://github.com/skstavroglou/pattern_causality_py#readme + dev_url: https://github.com/skstavroglou/pattern_causality_py + +extra: + recipe-maintainers: + - wanghui5801 + - skstavroglou + maintainers: + - Hui Wang + authors: + - Stavros Stavroglou + - Athanasios Pantelous + - Hui Wang \ No newline at end of file