<commit_before>{% set name = "nsbm" %}
{% set version = "0.3.3" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  url: https://github.com/fvalle1/trisbm/archive/refs/tags/{{ version }}.tar.gz
  sha256: 99981f5a96c579999011301c163dff92c86209ed4929bc8ba721c919099002db

build:
  skip: true  # [win]
  number: 0
  #script: "{{ PYTHON }} -m pip install . -vv"

requirements:
  build:
    - {{ compiler('c') }}
  host:
    - python
    - pip
    - numpy
    - boost-cpp
    - boost
    - expat
    - scipy >=1.0
    - gmp
    - cgal-cpp 5.0*
    - sparsehash 2.0*
    - cairomm
    - pycairo
    - glib
    - graph-tool
    - matplotlib
    - pandas
    - cloudpickle
  run:
    - python
    - llvm-openmp  # [osx]
    - boost-cpp
    - boost
    - expat
    - scipy >=1.0
    - {{ pin_compatible('numpy') }}
    - gmp
    - sparsehash >=2.0
    - cairomm
    - pycairo
    - gdk-pixbuf
    - librsvg
    - gtk3
    - pygobject
    - matplotlib-base
    - zstandard
    - matplotlib
    - pandas
    - cloudpickle
    - graph-tool

test:
  imports:
    - trisbm
  commands:
     python3 -c "from trisbm import trisbm; model=trisbm()"

about:
  home: https://github.com/fvalle1/trisbm
  license: AGPL-3.0-only
  license_family: AGPL
  license_file: LICENSE.txt
  summary: 'nSBM, keyword informed topic modeling'
  description: |
    Package to run n-partite Stocastich Block Modeling.
  doc_url: https://fvalle1.github.io/trisbm/
  dev_url: https://github.com/fvalle1/trisbm<commit_msg>fix dependencies and add tests<commit_after>{% set name = "nsbm" %}
{% set version = "0.3.4" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  url: https://github.com/fvalle1/trisbm/archive/refs/tags/{{ version }}.tar.gz
  sha256: 268897a510cd0de903f8069376e4124544c515b1c070af6af31fea0b0ef7628c

build:
  skip: true  # [win]
  number: 0
  script: "{{ PYTHON }} -m pip install . -vv"

requirements:
  build:
    - python
    - pip
  run:
    - python
    - llvm-openmp  # [osx]
    - {{ pin_compatible('numpy') }}
    - matplotlib
    - pandas
    - cloudpickle
    - graph-tool

test:
  imports:
    - trisbm
  source_files:
    - tests
  commands:
    - python3 -c "from trisbm import trisbm; model=trisbm()"
    - python3 tests/run_tests.py

about:
  home: https://github.com/fvalle1/trisbm
  license: AGPL-3.0-only
  license_family: AGPL
  license_file: LICENSE.txt
  summary: 'nSBM, keyword informed topic modeling'
  description: |
    Package to run n-partite Stocastich Block Modeling.
  doc_url: https://fvalle1.github.io/trisbm/
  dev_url: https://github.com/fvalle1/trisbm
{'fraction_non_alphanumeric': 0.13213328226733054, 'fraction_numerical': 0.0497893527384144, 'mean_word_length': 2.41437908496732, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7024672', 'n_tokens_mistral': 1105, 'n_tokens_neox': 1036, 'n_words': 207}