Spaces:
Running
Running
paopaoka3325
commited on
Commit
•
03d6f04
1
Parent(s):
088d717
add requiretment
Browse files- pyproject.toml +112 -0
pyproject.toml
CHANGED
@@ -0,0 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[tool.poetry]
|
2 |
+
name = "ontogpt"
|
3 |
+
version = "0.2.10"
|
4 |
+
description = "OntoGPT"
|
5 |
+
authors = ["Chris Mungall <cjmungall@lbl.gov>"]
|
6 |
+
license = "BSD-3"
|
7 |
+
readme = "README.md"
|
8 |
+
|
9 |
+
[tool.poetry.dependencies]
|
10 |
+
python = ">=3.9,<3.9.7 || >3.9.7,<4.0"
|
11 |
+
click = ">=8.1.3"
|
12 |
+
openai = ">=0.27.8"
|
13 |
+
oaklib = ">=0.5.15"
|
14 |
+
gilda = ">=1.0.0"
|
15 |
+
jsonlines = ">=3.1.0"
|
16 |
+
python-multipart = "^0.0.5"
|
17 |
+
beautifulsoup4 = ">=4.11.1"
|
18 |
+
eutils = ">=0.6.0"
|
19 |
+
class-resolver = ">=0.4.2"
|
20 |
+
inflect = ">=6.0.2"
|
21 |
+
bioc = ">=2.0.post5"
|
22 |
+
wikipedia = ">=1.4.0"
|
23 |
+
tiktoken = ">=0.3.3"
|
24 |
+
airium = ">=0.2.5"
|
25 |
+
httpx = ">=0.23.3"
|
26 |
+
aiohttp = ">=3.8.4"
|
27 |
+
inflection = ">=0.5.1"
|
28 |
+
nlpcloud = ">=1.0.39"
|
29 |
+
fastapi = {version = ">=0.88.0", optional = true}
|
30 |
+
uvicorn = {version = ">=0.20.0", optional = true}
|
31 |
+
Jinja2 = {version = ">=3.1.2", optional = true}
|
32 |
+
sphinx = {version = ">=5.3.0", extras = ["docs"], optional = true}
|
33 |
+
sphinx-rtd-theme = {version = ">=1.0.0", extras = ["docs"], optional = true}
|
34 |
+
sphinx-autodoc-typehints = {version = ">=1.19.4", extras = ["docs"], optional = true}
|
35 |
+
sphinx-click = {version = ">=4.3.0", extras = ["docs"], optional = true}
|
36 |
+
myst-parser = {version = ">=0.18.1", extras = ["docs"], optional = true}
|
37 |
+
recipe-scrapers = {version = ">=14.35.0", extras = ["recipes"], optional = true}
|
38 |
+
textract = {version = "*", extras = ["textract"], optional = true}
|
39 |
+
cachier = ">=2.1.0"
|
40 |
+
wikipedia-api = ">=0.5.8"
|
41 |
+
pystow = "^0.5.0"
|
42 |
+
requests-cache = ">=1.0.1"
|
43 |
+
streamlit = ">=1.22.0"
|
44 |
+
gpt4 = ">=0.0.1"
|
45 |
+
"ruamel.yaml" = ">=0.17.31"
|
46 |
+
requests = "^2.31.0"
|
47 |
+
huggingface_hub = {version = ">=0.15.1", extras = ["huggingface"], optional = true}
|
48 |
+
llm = "^0.6.1"
|
49 |
+
llm-gpt4all = "^0.1.1"
|
50 |
+
linkml = "^1.5.6"
|
51 |
+
linkml-owl = "^0.3.0"
|
52 |
+
|
53 |
+
[tool.poetry.dev-dependencies]
|
54 |
+
pytest = ">=7.1.2"
|
55 |
+
setuptools = ">=65.5.0"
|
56 |
+
tox = ">=3.25.1"
|
57 |
+
mkdocs-mermaid2-plugin = ">=0.6.0"
|
58 |
+
|
59 |
+
[tool.poetry.scripts]
|
60 |
+
ontogpt = "ontogpt.cli:main"
|
61 |
+
web-ontogpt = "ontogpt.webapp.main:start"
|
62 |
+
|
63 |
+
[tool.poetry.extras]
|
64 |
+
docs = [
|
65 |
+
"sphinx",
|
66 |
+
"sphinx-rtd-theme",
|
67 |
+
"sphinx-autodoc-typehints",
|
68 |
+
"sphinx-click",
|
69 |
+
"myst-parser"
|
70 |
+
]
|
71 |
+
web = [
|
72 |
+
"fastapi",
|
73 |
+
"uvicorn",
|
74 |
+
"Jinja2"
|
75 |
+
]
|
76 |
+
recipes = [
|
77 |
+
"recipe-scrapers"
|
78 |
+
]
|
79 |
+
gpt4all = [
|
80 |
+
"gpt4all"
|
81 |
+
]
|
82 |
+
textract = [
|
83 |
+
"textract"
|
84 |
+
]
|
85 |
+
huggingface = [
|
86 |
+
"huggingface_hub"
|
87 |
+
]
|
88 |
+
|
89 |
+
[tool.poetry.group.dev.dependencies]
|
90 |
+
jupyter = "^1.0.0"
|
91 |
+
seaborn = "^0.12.2"
|
92 |
+
papermill = "^2.4.0"
|
93 |
+
|
94 |
+
[tool.poetry-dynamic-versioning]
|
95 |
+
enable = false
|
96 |
+
vcs = "git"
|
97 |
+
style = "pep440"
|
98 |
+
|
99 |
+
[tool.black]
|
100 |
+
line-length = 100
|
101 |
+
target-version = ["py38", "py39", "py310"]
|
102 |
+
|
103 |
+
[tool.isort]
|
104 |
+
profile = "black"
|
105 |
+
multi_line_output = 3
|
106 |
+
line_length = 100
|
107 |
+
include_trailing_comma = true
|
108 |
+
reverse_relative = true
|
109 |
+
|
110 |
+
[build-system]
|
111 |
+
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
|
112 |
+
build-backend = "poetry_dynamic_versioning.backend"
|