-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpyproject.toml
More file actions
96 lines (83 loc) · 2.35 KB
/
Copy pathpyproject.toml
File metadata and controls
96 lines (83 loc) · 2.35 KB
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
[build-system]
requires = ["setuptools>=68.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.uv]
# Configuration for UV package build
package = true
[project]
name = "reddacted"
dynamic = ["version"]
description = "Analyze Reddit comments for PII and other sensitive information using local or OpenAI API compatible LLMs and perform sentiment analysis, edit and remove comments."
readme = "README.md"
requires-python = ">=3.11"
license = {file = "LICENSE"}
authors = [
{name = "Taylor Wilsdon", email = "taylor@taylorwilsdon.com"}
]
keywords = ["reddact", "reddacted", "reddit", "llm", "pii", "sentiment", "analysis", "nlp"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Environment :: Console",
"Topic :: Text Processing :: Linguistic",
"Topic :: Scientific/Engineering :: Artificial Intelligence"
]
dependencies = [
"autopage>=0.5.2",
"praw>=7.7.1",
"nltk>=3.8.1",
"requests>=2.31.0",
"six>=1.16.0",
"httpx==0.27.2",
"openai>=1.3.7",
"rich>=13.7.0",
"textual==2.1.2",
"urllib3==2.3.0",
"pytest-asyncio>=1.1.0",
]
[project.urls]
"Bug Tracker" = "https://github.com/taylorwilsdon/reddacted/issues"
[project.entry-points."reddacted.commands"]
listing = "reddacted.cli:Listing"
user = "reddacted.cli:User"
[project.optional-dependencies]
dev = [
"pytest",
"black",
"mypy",
"ruff",
"uv",
"tomli>=2.0.0" # Required for Homebrew formula generation
]
[project.scripts]
reddacted = "reddacted.cli:main"
[tool.setuptools]
packages = ["reddacted", "reddacted.ui", "reddacted.api", "reddacted.utils"]
[tool.setuptools.dynamic]
version = {attr = "reddacted.version.__version__"}
[tool.black]
line-length = 100
target-version = ['py311']
[tool.ruff]
line-length = 100
target-version = "py311"
select = ["E", "F", "B", "I"]
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
python_files = "test_*.py"
python_classes = "Test*"
python_functions = "test_*"
addopts = "-v --tb=short"
markers = [
"asyncio: mark test as async/await test",
]
asyncio_default_fixture_loop_scope = "function"