- Introduce `app.py` as the main application file to handle shitpost scanning. - Create `config.py` for configuration settings including scan paths and file types. - Implement database models in `Models.py` for shitposts, songs, speech outputs, and tags. - Add database creation logic in `db.py`. - Develop various scanners (`OcrScanner.py`, `SongScanner.py`, `SpeechScanner.py`, `TagScanner.py`) for extracting information from shitposts. - Implement utility functions in `dateExtractor.py` and `shitpostFactory.py` for handling file metadata and creating shitpost objects. - Include a `pyproject.toml` for project dependencies and configuration.
34 lines
718 B
TOML
34 lines
718 B
TOML
[project]
|
|
name = "memedb"
|
|
version = "0.1.0"
|
|
description = ""
|
|
authors = [
|
|
{name = "Djalim Simaila",email = "DjalimS.pro@outlook.fr"}
|
|
]
|
|
readme = "README.md"
|
|
requires-python = ">=3.13,<4.0"
|
|
dependencies = [
|
|
"torch (>=2.7.0,<3.0.0)",
|
|
"sqlalchemy (>=2.0.41,<3.0.0)",
|
|
"pillow (>=11.2.1,<12.0.0)",
|
|
"opencv-python (>=4.11.0.86,<5.0.0.0)",
|
|
"faster-whisper (>=1.1.1,<2.0.0)",
|
|
"easyocr (>=1.7.2,<2.0.0)",
|
|
"thumbnail (>=1.5,<2.0)",
|
|
"openai (>=1.84.0,<2.0.0)",
|
|
"lmstudio (>=1.3.1,<2.0.0)"
|
|
]
|
|
package-mode = false
|
|
|
|
|
|
[build-system]
|
|
requires = ["poetry-core>=2.0.0,<3.0.0"]
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
[tool.pyright]
|
|
venvPath = "."
|
|
venv = ".venv"
|
|
|
|
[virtualenvs]
|
|
in-project = true
|