forked from StellarCN/py-stellar-base
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
114 lines (105 loc) · 3.02 KB
/
pyproject.toml
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
[tool.poetry]
name = "stellar-sdk"
version = "11.0.0"
description = "The Python Stellar SDK library provides APIs to build transactions and connect to Horizon and Soroban-RPC server."
authors = [
"overcat <[email protected]>",
"Eno <[email protected]>"
]
maintainers = ["overcat <[email protected]>"]
readme = "README.rst"
homepage = "https://github.com/StellarCN/py-stellar-base"
repository = "https://github.com/StellarCN/py-stellar-base"
documentation = "https://stellar-sdk.readthedocs.io/"
keywords = [
"stellar-sdk",
"stellar",
"stellar.org",
"lumens",
"xlm",
"blockchain",
"distributed exchange",
"cryptocurrency",
"dex",
"horizon",
"soroban",
"sdex",
"trading",
"soroban",
"soroban-rpc"
]
license = "Apache License 2.0"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Natural Language :: English",
"Operating System :: OS Independent",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed"
]
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/StellarCN/py-stellar-base/issues"
[tool.poetry.dependencies]
python = ">=3.8,<4.0"
PyNaCl = "^1.4.0"
requests = "^2.26.0"
aiohttp = { version = "^3.9.1", optional = true}
aiohttp-sse-client = { version = "^0.2.1", optional = true}
mnemonic = "^0.20"
toml = "^0.10.2"
pydantic = "^2.5.2"
xdrlib3 = "^0.1.1"
requests-sse = "^0.3.0"
[tool.poetry.extras]
aiohttp = ["aiohttp", "aiohttp-sse-client"]
[tool.poetry.dev-dependencies]
pytest = "^8.3.2"
pytest-cov = "^5.0.0"
pytest-timeout = "^2.3.1"
pytest-asyncio = "^0.24.0"
pytest-httpserver = "^1.1.0"
types-toml = {version = "^0.10.8", markers = "platform_python_implementation == 'CPython'"}
types-requests = {version = "^2.32.0", markers = "platform_python_implementation == 'CPython'"}
autoflake = "2.3.1"
isort = "5.13.2"
black = "24.8.0"
# currently, mypy cannot run in pypy https://github.com/python/typed_ast/issues/111
mypy = {version = "1.11.2", markers = "platform_python_implementation == 'CPython'"}
requests-mock = "^1.12.1"
aioresponses = {git = "https://github.com/pnuckowski/aioresponses.git"}
[tool.mypy]
show_error_codes = true
ignore_missing_imports = true
warn_unused_configs = true
no_implicit_optional = false
[tool.coverage.run]
source = [
"stellar_sdk/",
"tests/"
]
[tool.coverage.report]
omit = [
"stellar_sdk/xdr/*",
]
exclude_lines = [
"pragma: no cover",
"raise AssertionError",
"raise NotImplementedError",
"return NotImplemented",
"def __repr__",
"def __str__",
"if self\\.debug",
"if 0:",
"if __name__ == .__main__.:",
"pass"
]
[tool.isort]
profile = "black"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"