Did you know that GitHub supports table of contents by default 🤔
This is repository for our machine learning experiments for search engine.
- Python 3.12 & Poetry
- Formatting and linting: Ruff, pre-commit
- Deployment: Docker, Docker Compose, GitHub Actions
-
Install Python 3.12
-
Install Poetry
-
Install project dependencies with Poetry.
poetry install
-
Set up pre-commit hooks:
poetry run pre-commit install --install-hooks -t pre-commit -t commit-msg
Set up PyCharm integrations
- Ruff (plugin).
It will lint and format your code. Make sure to enable
Use ruff format
option in plugin settings. - Pydantic (plugin). It will fix PyCharm issues with type-hinting.
- Conventional commits (plugin). It will help you to write conventional commits.
Project dependencies
- Run
poetry update
to update all dependencies - Run
poetry show --outdated
to check for outdated dependencies - Run
poetry add <package>@latest
to add a new dependency if needed
Pre-commit hooks
- Run
poetry run pre-commit autoupdate
We are open to contributions of any kind. You can help us with code, bugs, design, documentation, media, new ideas, etc. If you are interested in contributing, please read our contribution guide.