diff --git a/recipes/fastembed/recipe.yaml b/recipes/fastembed/recipe.yaml new file mode 100644 index 0000000000000..dc715ee3f477e --- /dev/null +++ b/recipes/fastembed/recipe.yaml @@ -0,0 +1,51 @@ +context: + version: 0.5.1 + +package: + name: fastembed + version: ${{ version }} + +source: + - url: https://pypi.org/packages/source/f/fastembed/fastembed-${{ version }}.tar.gz + sha256: 93ccdbead9daadde6af37862c53b92fd15fa3115d20bbddb258faa0a5eb36718 + +build: + number: 0 + noarch: python + script: ${{ PYTHON }} -m pip install . + +requirements: + host: + - python ${{ python_min }}.* + - poetry-core + - pip + run: + - python >=${{ python_min }} + - huggingface_hub <1.0,>=0.20 + - loguru <0.8.0,>=0.7.2 + - mmh3 <5.0.0,>=4.1.0 + - numpy >=1.26 + - onnxruntime >1.20.0 + - pillow <11.0.0,>=10.3.0 + - py-rust-stemmers <0.2.0,>=0.1.0 + - requests <3.0,>=2.31 + - tokenizers <1.0,>=0.15 + - tqdm <5.0,>=4.66 + +tests: + - python: + python_version: ${{ python_min }} + imports: + - fastembed + pip_check: true + +about: + homepage: https://github.com/qdrant/fastembed + summary: Fast, light, accurate library built for retrieval embedding generation + license: Apache-2.0 + license_file: + - LICENSE + +extra: + recipe-maintainers: + - moritzwilksch diff --git a/recipes/py-rust-stemmers/recipe.yaml b/recipes/py-rust-stemmers/recipe.yaml new file mode 100644 index 0000000000000..c060ef50124b0 --- /dev/null +++ b/recipes/py-rust-stemmers/recipe.yaml @@ -0,0 +1,50 @@ +context: + python_min: "3.10" + version: 0.1.3 + +package: + name: py-rust-stemmers + version: ${{ version }} + +source: + - url: https://pypi.org/packages/source/p/py-rust-stemmers/py_rust_stemmers-${{ version }}.tar.gz + sha256: ad796d47874181a25addb505a04245e34620bd7a0c5055671f52d9ce993253e2 + - url: https://raw.githubusercontent.com/qdrant/py-rust-stemmers/refs/heads/master/LICENSE + sha256: f79ad92c0936186de30f349d55f5e4162845793661e5f8b4d07e8734a92fed6a + +build: + number: 0 + script: + - ${{ PYTHON }} -m pip install . + - cargo-bundle-licenses --format yaml --output THIRDPARTY.yml + +requirements: + build: + - ${{ compiler('rust') }} + - ${{ compiler('c') }} + - ${{ stdlib('c') }} + - cargo-bundle-licenses + host: + - python + - pip + - maturin + run: + - python + +tests: + - python: + imports: + - py_rust_stemmers + pip_check: true + +about: + homepage: https://github.com/qdrant/py-rust-stemmers + summary: Fast and parallel snowball stemmer + license: MIT + license_file: + - LICENSE + - THIRDPARTY.yml + +extra: + recipe-maintainers: + - moritzwilksch