-
Notifications
You must be signed in to change notification settings - Fork 40
/
pyproject.toml
56 lines (49 loc) · 1.64 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
[tool.poetry]
name = "code2prompt"
version = "0.9.0"
description = "A tool to convert code snippets into AI prompts for documentation or explanation purposes."
authors = ["Raphael MANSUY <raphael.mansuy@gmail.com>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/raphaelmansuy/code2prompt"
repository = "https://github.com/raphaelmansuy/code2prompt"
keywords = ["ai", "prompt", "code", "documentation","llm"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
include = [
"code2prompt/templates/**/*",
]
[tool.poetry.dependencies]
python = "^3.8,<4.0"
rich = "^13.7.1" # For rich text and beautiful formatting
click = "^8.1.7" # For creating beautiful command line interfaces
jinja2 = "^3.1.4" # For template rendering
tiktoken = "^0.7.0" # For tokenization tasks
pyperclip = "^1.9.0" # For clipboard operations
colorama = "^0.4.6" # For colored terminal text output
tqdm = "^4.66.4"
tabulate = "^0.9.0"
pydantic = "^2.8.2"
prompt-toolkit = "^3.0.47"
colorlog = "^6.8.2"
[tool.poetry.scripts]
code2prompt = "code2prompt.main:cli"
[tool.poetry.group.dev.dependencies]
pytest = "^8.1.1"
ipykernel = "^6.29.4"
vulture = "^2.11"
pylint = "^3.2.6"
ruff = "^0.5.5"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.setuptools]
package-data = {"code2prompt" = ["templates/**/*","data/**/*"]}