-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
93 lines (81 loc) · 2.38 KB
/
Copy pathpyproject.toml
File metadata and controls
93 lines (81 loc) · 2.38 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
83
84
85
86
87
88
89
90
91
92
93
[project]
name = "polymarket-execution"
version = "0.1.0a0"
description = "Execution utilities for Polymarket: stop-loss, redeem, position sync, order lifecycle, and market discovery."
readme = "README.md"
license = { text = "MIT" }
authors = [{ name = "Eduardo Doege", email = "eduardodoege87@gmail.com" }]
requires-python = ">=3.12"
keywords = [
"polymarket",
"trading",
"clob",
"prediction-markets",
"stop-loss",
"take-profit",
"redeem",
]
classifiers = [
"Development Status :: 3 - Alpha",
"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",
"Topic :: Office/Business :: Financial",
"Typing :: Typed",
]
dependencies = [
"py-clob-client-v2>=1.0.0",
"polymarket-apis>=0.5.0",
"web3>=7.0.0",
"typer>=0.12.0",
"websockets>=14.0",
"httpx>=0.27.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.23",
"pytest-cov>=5.0",
"ruff>=0.5.0",
"mypy>=1.10",
]
[project.urls]
Homepage = "https://github.com/eduardodoege/polymarket-execution"
Issues = "https://github.com/eduardodoege/polymarket-execution/issues"
Repository = "https://github.com/eduardodoege/polymarket-execution"
Sponsor = "https://github.com/sponsors/eduardodoege"
[project.scripts]
polymarket-execution = "polymarket_execution.cli.main:app"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/polymarket_execution"]
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "B", "UP", "N", "SIM"]
[tool.ruff.lint.isort]
known-first-party = ["polymarket_execution"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
pythonpath = ["src"]
[tool.mypy]
python_version = "3.12"
strict = true
warn_unreachable = true
disallow_untyped_decorators = true
# polymarket-apis ships without type stubs; treat as Any for now.
[[tool.mypy.overrides]]
module = "polymarket_apis"
ignore_missing_imports = true
# PyYAML stubs are a separate package (types-PyYAML); not worth pulling in
# just so example_bot/bot.py type-checks cleanly.
[[tool.mypy.overrides]]
module = "yaml"
ignore_missing_imports = true