forked from harsh-kumar-rai/nsefetch
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (71 loc) · 2.21 KB
/
Copy pathpyproject.toml
File metadata and controls
80 lines (71 loc) · 2.21 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
[build-system]
requires = ["setuptools>=69", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "nsefetch"
version = "0.1.0"
description = "Production-grade NSE data engine for Python. Cache-first, circuit-protected, async-ready."
readme = "README.md"
requires-python = ">=3.12"
license = {text = "MIT"}
authors = [
{name = "Harsh Kumar Rai", email = "harshkumarrai@protonmail.com"},
]
keywords = [
"nse", "nse-india", "stock", "market", "india", "finance",
"trading", "options", "derivatives", "equity", "algotrading",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Financial and Insurance Industry",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Office/Business :: Financial :: Investment",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
dependencies = [
"curl-cffi>=0.11,<1",
"httpx>=0.27,<1",
"pydantic>=2,<3",
"pydantic-settings>=2,<3",
"redis>=5,<7",
]
[project.optional-dependencies]
dev = [
"pytest>=8,<9",
"pytest-asyncio>=0.23,<1",
"ruff>=0.4,<1",
"build>=1.0",
]
[project.urls]
Homepage = "https://github.com/harsh-kumar-rai/nsefetch"
Repository = "https://github.com/harsh-kumar-rai/nsefetch"
Issues = "https://github.com/harsh-kumar-rai/nsefetch/issues"
Changelog = "https://github.com/harsh-kumar-rai/nsefetch/blob/main/CHANGELOG.md"
[tool.pytest.ini_options]
pythonpath = ["src"]
testpaths = ["tests"]
asyncio_mode = "auto"
[tool.setuptools.package-dir]
"" = "src"
[tool.setuptools.packages.find]
where = ["src"]
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B", "SIM"]
ignore = [
"E501", # line length handled by formatter
"UP042", # StrEnum migration — behaviour change, not a bug
"UP046", # Generic[T] syntax — Python 3.12 only, keep compatible
"SIM102", # nested if — readability preference, not a bug
"SIM108", # ternary operator — readability preference
]
[tool.ruff.lint.isort]
known-first-party = ["nsefetch"]