book search engine #18
+28
-1
@@ -17,15 +17,41 @@
|
|||||||
|
|
||||||
python-env = final: _prev: {
|
python-env = final: _prev: {
|
||||||
my_python = final.python314.withPackages (
|
my_python = final.python314.withPackages (
|
||||||
ps: with ps; [
|
ps:
|
||||||
|
let
|
||||||
|
bm25s = ps.buildPythonPackage rec {
|
||||||
|
pname = "bm25s";
|
||||||
|
version = "0.3.9";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
|
src = final.fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
hash = "sha256-iVxnnZUrfeg1XttfPhpiCh4vKU0dQrkZvwghzOLi9Zc=";
|
||||||
|
};
|
||||||
|
|
||||||
|
build-system = [ ps.setuptools ];
|
||||||
|
dependencies = with ps; [
|
||||||
|
numpy
|
||||||
|
scipy
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "bm25s" ];
|
||||||
|
};
|
||||||
|
in
|
||||||
|
with ps;
|
||||||
|
[
|
||||||
alembic
|
alembic
|
||||||
apprise
|
apprise
|
||||||
apscheduler
|
apscheduler
|
||||||
|
beautifulsoup4
|
||||||
|
ebooklib
|
||||||
fastapi
|
fastapi
|
||||||
fastapi-cli
|
fastapi-cli
|
||||||
httpx
|
httpx
|
||||||
mypy
|
mypy
|
||||||
|
numpy
|
||||||
orjson
|
orjson
|
||||||
|
pgvector
|
||||||
polars
|
polars
|
||||||
psycopg
|
psycopg
|
||||||
pydantic
|
pydantic
|
||||||
@@ -39,6 +65,7 @@
|
|||||||
scalene
|
scalene
|
||||||
sqlalchemy
|
sqlalchemy
|
||||||
sqlalchemy
|
sqlalchemy
|
||||||
|
bm25s
|
||||||
tenacity
|
tenacity
|
||||||
textual
|
textual
|
||||||
tiktoken
|
tiktoken
|
||||||
|
|||||||
Reference in New Issue
Block a user