-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
111 lines (94 loc) · 2.43 KB
/
pyproject.toml
File metadata and controls
111 lines (94 loc) · 2.43 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "sec-semantic-search"
version = "0.1.0"
description = "A semantic search system for SEC filings (10-K, 10-Q)"
readme = "README.md"
license = "MIT"
requires-python = ">=3.12"
authors = [
{ name = "Eren Yanic" },
]
keywords = ["sec", "edgar", "semantic-search", "embeddings", "chromadb"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Topic :: Text Processing :: Indexing",
]
dependencies = [
# SEC filing retrieval
"edgartools==5.25.1",
# HTML parsing
"doc2dict==0.7.1",
# Embeddings and ML
"sentence-transformers==5.2.2",
"torch>=2.10.0", # not pinned exactly — local CUDA build suffix varies
# Vector database
"chromadb==1.5.2",
# REST API
"fastapi==0.135.1",
"uvicorn[standard]==0.41.0",
"websockets==16.0",
# CLI framework
"typer==0.24.1",
"rich==14.3.3",
# Configuration
"pydantic-settings==2.13.1",
"python-dotenv==1.2.2",
]
[project.optional-dependencies]
encryption = [
"pysqlcipher3==1.2.0",
]
dev = [
"pytest==9.0.2",
"pytest-cov==7.0.0",
"pytest-asyncio==1.3.0",
"httpx==0.28.1",
"ruff==0.15.5",
"mypy==1.19.1",
]
[project.scripts]
sec-search = "sec_semantic_search.cli.main:app"
sec-search-api = "sec_semantic_search.api.run:main"
[project.urls]
Homepage = "https://github.com/ErenYanic"
Repository = "https://github.com/ErenYanic/SEC-SemanticSearch"
[tool.hatch.build.targets.wheel]
packages = ["src/sec_semantic_search"]
[tool.ruff]
target-version = "py312"
line-length = 100
src = ["src"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # Pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = [
"E501", # line too long (handled by formatter)
"B008", # Depends() in defaults — idiomatic FastAPI pattern
]
[tool.ruff.lint.isort]
known-first-party = ["sec_semantic_search"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
filterwarnings = [
"ignore::DeprecationWarning:edgar",
]
[tool.mypy]
python_version = "3.12"
strict = true
warn_return_any = true
warn_unused_ignores = true