-
-
Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy pathpyproject.toml
More file actions
67 lines (57 loc) · 2.02 KB
/
pyproject.toml
File metadata and controls
67 lines (57 loc) · 2.02 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
[build-system]
requires = ["setuptools>=82.0.1", "wheel>=0.46.3"]
build-backend = "setuptools.build_meta"
[project]
name = "python-sec"
version = "0.2.0"
description = "A client library for collecting and scraping SEC filings."
readme = "README.md"
license = "MIT"
requires-python = ">=3.10"
authors = [{ name = "Alex Reed", email = "coding.sigma@gmail.com" }]
keywords = ["finance", "sec", "api", "web scraping", "financial disclosures"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Financial and Insurance Industry",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"requests>=2.33.1",
"urllib3>=2.6.3",
"beautifulsoup4>=4.14.3",
"defusedxml>=0.7.1",
]
[project.optional-dependencies]
pandas = ["pandas>=3.0.2"]
async = ["httpx>=0.28"]
[project.urls]
Homepage = "https://github.com/areed1192/python-sec"
Repository = "https://github.com/areed1192/python-sec"
[tool.setuptools.packages.find]
include = ["edgar*"]
[tool.setuptools.package-data]
edgar = ["parsing/*", "py.typed"]
[tool.pylint.main]
# Only lint source and test directories.
ignore-paths = ["resources", "samples"]
[tool.pylint.format]
max-line-length = 120
[tool.pylint."messages_control"]
disable = [
"missing-module-docstring", # Enforced by convention, not pylint.
"missing-class-docstring", # Many small dataclasses don't need one.
"too-few-public-methods", # Dataclasses and service wrappers trigger this.
"too-many-arguments", # Some SEC endpoints have many parameters.
"too-many-instance-attributes", # Session and client objects need many attrs.
"import-error", # Handled by the build system, not pylint.
]
[tool.pylint.design]
max-args = 8
[tool.pylint.similarities]
min-similarity-lines = 6