-
-
Notifications
You must be signed in to change notification settings - Fork 106
/
pyproject.toml
127 lines (115 loc) · 2.72 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
[build-system]
requires = ["hatchling>=1.26.3"]
build-backend = "hatchling.build"
[project]
name = "edgartools"
description = 'Navigate Edgar filings with ease'
readme = "README.md"
requires-python = ">=3.9"
license = "MIT"
keywords = ["sec", "edgar", "filings", "company", "python", "finance", "financial", "reports"]
authors = [
{ name = "Dwight Gunning", email = "dgunning@gmail.com" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"License :: OSI Approved :: MIT License",
]
dependencies = [
"httpx>=0.25.0",
"pandas>=2.0.0",
"tabulate>=0.9.0",
"pyarrow>=14.0.0",
"beautifulsoup4>=4.10.0",
"lxml>=4.4",
"rich>=13.0.0",
"fastcore>=1.5.29",
"humanize>=4.0.0",
"tenacity==8.3.0",
"stamina>=24.2.0",
"orjson>=3.6.0",
"textdistance>=4.5.0",
"rank_bm25>=0.2.1",
"rapidfuzz>=3.5.0",
"unidecode>=1.2.0",
"pydantic>=2.0.0",
"tqdm>=4.62.0",
"nest-asyncio>=1.5.1"
]
dynamic = ["version"]
[project.urls]
Documentation = "https://dgunning.github.io/edgartools/"
Issues = "https://github.com/dgunning/edgartools/issues"
Source = "https://github.com/dgunning/edgartools"
[tool.hatch.version]
path = "edgar/__about__.py"
[tool.hatch.build]
include = [
"edgar/**/*.py",
"edgar/reference/data/*",
"LICENSE.txt"
]
artifacts = [
"LICENSE.txt" # And this line
]
[tool.hatch.envs.default]
dependencies = [
"pytest",
"pytest-cov",
"pytest-env",
"pytest-xdist",
"pytest-asyncio",
"pyinstrument",
"pyright",
"ruff",
"tqdm",
"xlsxwriter",
"openpyxl",
"jupyter",
"freezegun==1.5.1",
"mkdocs",
"mkdocstrings[python]",
"mkdocs-material"
]
[tool.hatch.envs.default.scripts]
cov = "pytest --cov-report=term-missing --cov-config=pyproject.toml --cov=edgar --cov=tests {args}"
no-cov = "cov --no-cov {args}"
lint = "ruff check edgar"
smoke-filings = "python tests/batch/batch_filings.py {args}"
[tool.hatch.envs.test]
dependencies = [
"pytest",
"pytest-cov",
"pytest-env",
"pytest-asyncio"
]
[[tool.hatch.envs.test.matrix]]
python = ["39", "310", "311", "312"]
[tool.coverage.run]
branch = true
parallel = true
omit = [
"edgar/__about__.py",
"tests/perf/*"
]
[tool.coverage.report]
exclude_lines = [
"no cov",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
[tool.ruff]
line-length = 150
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.pytest.ini_options]
env = [
"EDGAR_IDENTITY=Dev Gunning developer-gunning@gmail.com",
]