diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..eb610bd --- /dev/null +++ b/.dockerignore @@ -0,0 +1,15 @@ +.git +.direnv +.mypy_cache +.pytest_cache +.ruff_cache +__pycache__ +**/__pycache__ +*.pyc +*.pyo +.ebook_search_bm25 +result +result-* +*.egg-info +dist +build diff --git a/pyproject.toml b/pyproject.toml index 83fae49..e422151 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,9 +12,14 @@ dependencies = [ "alembic", "apprise", "apscheduler", + "beautifulsoup4", + "bm25s", + "ebooklib", "fastapi", "fastapi-cli", "httpx", + "jinja2", + "pgvector", "polars", "psycopg[binary]", "pydantic", @@ -22,9 +27,12 @@ dependencies = [ "python-multipart", "sqlalchemy", "tenacity", + "tiktoken", "tinytuya", "typer", + "uvicorn", "websockets", + "yake", ] [project.scripts] diff --git a/python/ebook_search/protected_phrases/__init__.py b/python/ebook_search/protected_phrases/__init__.py index e69de29..14e8999 100644 --- a/python/ebook_search/protected_phrases/__init__.py +++ b/python/ebook_search/protected_phrases/__init__.py @@ -0,0 +1 @@ +"""Init."""