<commit_before>{% set name = "tiled" %}
{% set version = "0.1.0a60" %}

package:
  name: tiled-suite
  version: {{ version }}

source:
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/tiled-{{ version }}.tar.gz
  sha256: 32f3fee3583fe7e899d908d79319c00dd5c20bb5245c44519653c45d20cfc457

build:
  number: 0

outputs:
  # Categorized requirements
  - name: tiled-base
    script: build-tiled.sh  # [unix]
    script: bld-tiled.bat  # [win]
    build:
      entry_points:
        - tiled = tiled.commandline.main:main
    requirements:
      build:
        - python
      host:
        - python
        - pip
      run:
        - python

  - name: tiled-array
    requirements:
      host:
        - python
      run:
        - python
        - dask
        - numpy
        - {{ pin_subpackage('tiled-base', max_pin="x.x.x") }}

  - name: tiled-dataframe
    requirements:
      host:
        - python
      run:
        - python
        - pandas
        - pyarrow
        - {{ pin_subpackage('tiled-base', max_pin="x.x.x") }}
        - {{ pin_subpackage('tiled-array', max_pin="x.x.x") }}

  - name: tiled-xarray
    requirements:
      host:
        - python
      run:
        - python
        - xarray
        - {{ pin_subpackage('tiled-base', max_pin="x.x.x") }}
        - {{ pin_subpackage('tiled-dataframe', max_pin="x.x.x") }}


  - name: tiled-compression
    requirements:
      host:
        - python
      run:
        - python
        - blosc
        - lz4
        - {{ pin_subpackage('tiled-base', max_pin="x.x.x") }}

  - name: tiled-minimal-base
    requirements:
      host:
        - python
      run:
        - python
        - click !=8.1.0
        - jsonschema
        - msgpack-python >=1.0.0
        - pyyaml
        - typer
        - {{ pin_subpackage('tiled-base', max_pin="x.x.x") }}

  - name: tiled-minimal-client
    requirements:
      host:
        - python
      run:
        - python
        - appdirs
        - entrypoints
        - heapdict
        - httpx >=0.20.0
        - {{ pin_subpackage('tiled-minimal-base', max_pin="x.x.x") }}
    test:
      imports:
        - tiled
        - tiled.client
      commands:
        - tiled --help

  - name: tiled-minimal-server
    requirements:
      host:
        - python
      run:
        - python
        - aiofiles
        - alembic
        - anyio
        - cachey
        # TODO: Can be noarch when Python 3.7 is EOL in June 2023
        - cached-property  # [py<38]
        - cachetools
        - dask
        - fastapi
        - jinja2
        - jmespath
        - orjson
        - psutil
        - prometheus_client
        - pydantic >=1.8.2
        - python-dateutil
        - python-jose
        - python-multipart
        - sqlalchemy
        - toolz
        - uvicorn
        - watchgod
        - {{ pin_subpackage('tiled-minimal-base', max_pin="x.x.x") }}
    test:
      imports:
        - tiled
        - tiled.server
      commands:
        - tiled --help

  # End-user packages

  - name: tiled-client
    requirements:
      host:
        - python
      run:
        - python
        - {{ pin_subpackage('tiled-base', max_pin="x.x.x") }}
        - {{ pin_subpackage('tiled-minimal-client', max_pin="x.x.x") }}
        - {{ pin_subpackage('tiled-array', max_pin="x.x.x") }}
        - {{ pin_subpackage('tiled-dataframe', max_pin="x.x.x") }}
        - {{ pin_subpackage('tiled-xarray', max_pin="x.x.x") }}
        - {{ pin_subpackage('tiled-compression', max_pin="x.x.x") }}
    test:
      imports:
        - tiled
        - tiled.client
        - tiled.client._async_bridge
        - tiled.client.array
        - tiled.client.base
        - tiled.client.cache
        - tiled.client.constructors
        - tiled.client.context
        - tiled.client.dataframe
        - tiled.client.node
        - tiled.client.utils
        - tiled.client.xarray
      commands:
        - tiled --help

  - name: tiled-server
    requirements:
      host:
        - python
      run:
        - python
        - {{ pin_subpackage('tiled-base', max_pin="x.x.x") }}
        - {{ pin_subpackage('tiled-minimal-server', max_pin="x.x.x") }}
        - {{ pin_subpackage('tiled-array', max_pin="x.x.x") }}
        - {{ pin_subpackage('tiled-dataframe', max_pin="x.x.x") }}
        - {{ pin_subpackage('tiled-xarray', max_pin="x.x.x") }}
        - {{ pin_subpackage('tiled-compression', max_pin="x.x.x") }}
    test:
      imports:
        - tiled
        - tiled.server<commit_msg>dont add base multiple times<commit_after>{% set name = "tiled" %}
{% set version = "0.1.0a60" %}

package:
  name: tiled-suite
  version: {{ version }}

source:
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/tiled-{{ version }}.tar.gz
  sha256: 32f3fee3583fe7e899d908d79319c00dd5c20bb5245c44519653c45d20cfc457

build:
  number: 0

outputs:
  # Categorized requirements
  - name: tiled-base
    script: build-tiled.sh  # [unix]
    script: bld-tiled.bat  # [win]
    build:
      entry_points:
        - tiled = tiled.commandline.main:main
    requirements:
      build:
        - python
      host:
        - python
        - pip
      run:
        - python

  - name: tiled-array
    requirements:
      host:
        - python
      run:
        - python
        - dask
        - numpy
        - {{ pin_subpackage('tiled-base', max_pin="x.x.x") }}

  - name: tiled-dataframe
    requirements:
      host:
        - python
      run:
        - python
        - pandas
        - pyarrow
        - {{ pin_subpackage('tiled-array', max_pin="x.x.x") }}

  - name: tiled-xarray
    requirements:
      host:
        - python
      run:
        - python
        - xarray
        - {{ pin_subpackage('tiled-dataframe', max_pin="x.x.x") }}


  - name: tiled-compression
    requirements:
      host:
        - python
      run:
        - python
        - blosc
        - lz4
        - {{ pin_subpackage('tiled-base', max_pin="x.x.x") }}

  - name: tiled-minimal-base
    requirements:
      host:
        - python
      run:
        - python
        - click !=8.1.0
        - jsonschema
        - msgpack-python >=1.0.0
        - pyyaml
        - typer
        - {{ pin_subpackage('tiled-base', max_pin="x.x.x") }}

  - name: tiled-minimal-client
    requirements:
      host:
        - python
      run:
        - python
        - appdirs
        - entrypoints
        - heapdict
        - httpx >=0.20.0
        - {{ pin_subpackage('tiled-minimal-base', max_pin="x.x.x") }}
    test:
      imports:
        - tiled
        - tiled.client
      commands:
        - tiled --help

  - name: tiled-minimal-server
    requirements:
      host:
        - python
      run:
        - python
        - aiofiles
        - alembic
        - anyio
        - cachey
        # TODO: Can be noarch when Python 3.7 is EOL in June 2023
        - cached-property  # [py<38]
        - cachetools
        - dask
        - fastapi
        - jinja2
        - jmespath
        - orjson
        - psutil
        - prometheus_client
        - pydantic >=1.8.2
        - python-dateutil
        - python-jose
        - python-multipart
        - sqlalchemy
        - toolz
        - uvicorn
        - watchgod
        - {{ pin_subpackage('tiled-minimal-base', max_pin="x.x.x") }}
    test:
      imports:
        - tiled
        - tiled.server
      commands:
        - tiled --help

  # End-user packages

  - name: tiled-client
    requirements:
      host:
        - python
      run:
        - python
        - {{ pin_subpackage('tiled-minimal-client', max_pin="x.x.x") }}
        - {{ pin_subpackage('tiled-array', max_pin="x.x.x") }}
        - {{ pin_subpackage('tiled-dataframe', max_pin="x.x.x") }}
        - {{ pin_subpackage('tiled-xarray', max_pin="x.x.x") }}
        - {{ pin_subpackage('tiled-compression', max_pin="x.x.x") }}
    test:
      imports:
        - tiled
        - tiled.client
        - tiled.client._async_bridge
        - tiled.client.array
        - tiled.client.base
        - tiled.client.cache
        - tiled.client.constructors
        - tiled.client.context
        - tiled.client.dataframe
        - tiled.client.node
        - tiled.client.utils
        - tiled.client.xarray
      commands:
        - tiled --help

  - name: tiled-server
    requirements:
      host:
        - python
      run:
        - python
        - {{ pin_subpackage('tiled-minimal-server', max_pin="x.x.x") }}
        - {{ pin_subpackage('tiled-array', max_pin="x.x.x") }}
        - {{ pin_subpackage('tiled-dataframe', max_pin="x.x.x") }}
        - {{ pin_subpackage('tiled-xarray', max_pin="x.x.x") }}
        - {{ pin_subpackage('tiled-compression', max_pin="x.x.x") }}
    test:
      imports:
        - tiled
        - tiled.server
{'fraction_non_alphanumeric': 0.13827954519352245, 'fraction_numerical': 0.017457218330079245, 'mean_word_length': 1.4802050697806892, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 2, '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': '3590416', 'n_tokens_mistral': 3086, 'n_tokens_neox': 2997, 'n_words': 483}