-
Notifications
You must be signed in to change notification settings - Fork 38
/
pyproject.toml
108 lines (97 loc) · 2.68 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
[build-system]
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2", "sip>=6.7.0"]
build-backend = "setuptools.build_meta"
[project]
name = "llama-assistant"
version = "0.1.41"
authors = [
{name = "Viet-Anh Nguyen", email = "vietanh.dev@gmail.com"},
]
description = "An AI assistant powered by Llama models"
readme = "README.md"
requires-python = ">=3.9"
keywords = ["AI", "assistant", "Llama", "PyQt5"]
license = {text = "MIT"}
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"numpy==1.26.4",
"PyQt5==5.15.11",
"SpeechRecognition==3.10.4",
"markdown==3.7",
"pynput==1.7.7",
"llama-cpp-python==0.3.1",
"huggingface_hub==0.25.1",
"openwakeword==0.6.0",
"pyinstaller==6.10.0",
"ffmpeg-python==0.2.0",
"llama-index-core==0.12.0",
"llama-index-readers-file==0.4.0",
"llama-index-embeddings-huggingface==0.4.0",
"docx2txt==0.8",
"mistune==3.0.2",
"paddlepaddle==2.6.2",
"paddleocr==2.9.1",
"whispercpp @ git+https://github.com/stlukey/whispercpp.py"
]
dynamic = []
[project.urls]
Homepage = "https://github.com/nrl-ai/llama-assistant"
"Bug Tracker" = "https://github.com/nrl-ai/llama-assistant/issues"
[project.scripts]
llama-assistant = "llama_assistant.main:main"
[tool.setuptools_scm]
write_to = "llama_assistant/_version.py"
[tool.setuptools.packages.find]
where = ["."]
include = ["llama_assistant*"]
exclude = ["tests*"]
[tool.setuptools.package-data]
"llama_assistant.resources" = ["*.png", "*.onnx"]
[tool.black]
line-length = 100
target-version = ['py37']
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
)/
'''
[tool.pylint.master]
ignore-patterns = ["test_.*?py"]
[tool.pylint.format]
max-line-length = 100
[tool.pylint.messages_control]
disable = [
"C0114", # missing-module-docstring
"C0116", # missing-function-docstring
"C0103", # invalid-name
"W0611", # unused-import
"W0612", # unused-variable
"W0613", # unused-argument
"W0621", # redefined-outer-name
"W0622", # redefined-builtin
"W0703", # broad-except
"R0801", # duplicate-code
"R0902", # too-many-instance-attributes
"R0903", # too-few-public-methods
"R0904", # too-many-public-methods
"R0913", # too-many-arguments
]