-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
82 lines (74 loc) · 2.05 KB
/
pyproject.toml
File metadata and controls
82 lines (74 loc) · 2.05 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "tcgapi"
version = "0.1.0"
description = "Official Python SDK for tcgapi.dev — pricing data for Pokemon, Magic: The Gathering, Yu-Gi-Oh!, Lorcana, One Piece, and 80+ more trading card games."
readme = "README.md"
requires-python = ">=3.9"
license = { text = "MIT" }
authors = [{ name = "tcgapi.dev" }]
keywords = [
"tcg",
"tcgplayer",
"pokemon",
"pokemon-tcg",
"pokemon-prices",
"magic-the-gathering",
"mtg",
"yugioh",
"lorcana",
"one-piece-tcg",
"flesh-and-blood",
"card-prices",
"tcg-api",
"tcgapi",
"trading-cards",
"sdk",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Games/Entertainment",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
dependencies = [
"httpx>=0.25",
"pydantic>=2.0",
]
[project.urls]
Homepage = "https://tcgapi.dev"
Documentation = "https://tcgapi.dev/api/"
Source = "https://github.com/gordy-ftw/tcgapi-python"
Issues = "https://github.com/gordy-ftw/tcgapi-python/issues"
Quickstart = "https://tcgapi.dev/quickstart/"
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-asyncio>=0.21",
"ruff>=0.1",
"mypy>=1.0",
]
[tool.hatch.build.targets.wheel]
packages = ["tcgapi"]
[tool.hatch.build.targets.sdist]
include = ["/tcgapi", "/README.md", "/LICENSE"]
[tool.ruff]
line-length = 110
target-version = "py39"
[tool.ruff.lint]
select = ["E", "F", "I", "W", "B", "UP"]
# UP037: keep string-quoted TYPE_CHECKING refs even with `from __future__ import annotations`
# UP006/UP035: keep typing.List/Dict generic forms readable on 3.9
ignore = ["E501", "UP037", "UP006", "UP035"]
[tool.pytest.ini_options]
asyncio_mode = "auto"