This repository has been archived by the owner on Jan 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 95
/
pyproject.toml
142 lines (119 loc) · 3.01 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
[tool]
# ==== Poetry ====
[tool.poetry]
name = "frogbase"
version = "2.0.0a4"
description = "FrogBase simplifies the download-transcribe-embed-index workflow for multi-media content. It does so by linking content from various platforms with speech-to-text models, image & text encoders and embedding stores."
homepage = "https://hayabhay.github.io/frogbase"
repository = "https://github.com/hayabhay/frogbase"
documentation = "https://hayabhay.github.io/frogbase"
authors = ["Abhay Kashyap"]
readme = "README.md"
license = "MIT"
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Topic :: Software Development :: Libraries :: Python Modules',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
]
packages = [
{ include = "frogbase" },
{ include = "tests", format = "sdist" },
]
[tool.poetry.urls]
Changelog = "https://github.com/hayabhay/frogbase/releases"
[tool.poetry.dependencies]
python = ">=3.8.1,<3.9.7 || >3.9.7,<=3.11.4"
yt-dlp = "^2023.3.4"
loguru = "^0.7.0"
tinydb = "^4.8.0"
humanize = "^4.6.0"
webvtt-py = "^0.4.6"
pydantic = "^2.0"
torch = ">=2.0.0, !=2.0.1"
openai-whisper = "^20230314"
sentence-transformers = "^2.2.2"
hnswlib = "^0.7.0"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
tox = "^4.6.2"
pre-commit = "^3.3.3"
virtualenv = "^20.23.1"
pip = "^23.1.2"
twine = "^4.0.2"
toml = "^0.10.2"
[tool.poetry.group.test]
optional = true
[tool.poetry.group.test.dependencies]
pytest = "^7.3.2"
black = "^23.3.0"
isort = "^5.12.0"
flake8 = "^6.0.0"
flake8-docstrings = "^1.7.0"
pytest-cov = "^4.1.0"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
mkdocs = "^1.4.3"
mkdocs-include-markdown-plugin = "^4.0.4"
mkdocs-material = "^9.1.16"
mkdocs-video = "^1.5.0"
mkdocstrings = "^0.22.0"
mkdocs-autorefs = "^0.4.1"
mike = "^1.1.2"
[tool.poetry.group.ui]
optional = true
[tool.poetry.group.ui.dependencies]
streamlit = "^1.23.1"
python-dotenv = "^1.0.0"
openai = "^0.27.8"
[tool.poetry.scripts]
frogbase = "frogbase.__main__:ui"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
# ==== Coverage ====
[tool.coverage.paths]
source = ["src", "*/site-packages"]
tests = ["tests", "*/tests"]
[tool.coverage.run]
branch = true
source = ["frogbase", "tests"]
# ==== black ====
[tool.black]
line-length = 119
target-version = ['py311']
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
# ==== isort ====
[tool.isort]
profile = "black"
line_length = 119
# ==== mypy ====
[tool.mypy]
python_version = "3.11"
check_untyped_defs = true
ignore_missing_imports = true
warn_unused_ignores = true
warn_redundant_casts = true
warn_unused_configs = true