-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
78 lines (69 loc) · 2.11 KB
/
pyproject.toml
File metadata and controls
78 lines (69 loc) · 2.11 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "sharpapi"
version = "0.3.2"
description = "Official Python SDK for the SharpAPI real-time sports betting odds API"
readme = "README.md"
license = "MIT"
requires-python = ">=3.10"
authors = [{ name = "SharpAPI", email = "hello@sharpapi.io" }]
keywords = ["sports-betting", "odds", "arbitrage", "ev", "api", "real-time", "pinnacle"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
dependencies = [
"httpx>=0.25.0",
"pydantic>=2.0.0",
]
[project.optional-dependencies]
pandas = ["pandas>=1.5.0"]
test = ["pytest>=8.0", "pytest-asyncio>=0.23", "respx>=0.21"]
[project.urls]
Homepage = "https://sharpapi.io"
Documentation = "https://docs.sharpapi.io/sdks/python"
Repository = "https://github.com/Sharp-API/SharpAPI-Python"
Changelog = "https://github.com/Sharp-API/SharpAPI-Python/releases"
[tool.hatch.build.targets.wheel]
packages = ["src/sharpapi"]
# Explicit sdist whitelist. Hatchling's default sdist would otherwise
# include everything not gitignored (CI workflows, dependabot config,
# .gitignore itself), all of which would land on PyPI on every release.
# Keep this in sync with what we actually want users who do
# `pip install --no-binary :all: sharpapi` to receive.
[tool.hatch.build.targets.sdist]
include = [
"src/sharpapi",
"README.md",
"LICENSE",
"CHANGELOG.md",
"SECURITY.md",
"pyproject.toml",
]
exclude = [
".gitignore",
".github",
]
[tool.ruff]
target-version = "py310"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "UP"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
[tool.pyright]
pythonVersion = "3.10"
typeCheckingMode = "standard"
venvPath = "."
venv = ".venv"