forked from StellarCN/py-stellar-base
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
107 lines (99 loc) · 2.83 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
[tool.poetry]
name = "stellar-sdk"
version = "8.2.1"
description = "The Python Stellar SDK library provides APIs to build transactions and connect to Horizon."
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",
"sdex",
"trading"
]
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.7,<4.0"
PyNaCl = "^1.4.0"
requests = "^2.26.0"
aiohttp = "^3.8.1"
aiohttp-sse-client = "^0.2.1"
stellar-base-sseclient = "^0.0.21"
mnemonic = "^0.20"
toml = "^0.10.2"
typeguard = "^2.13.0"
urllib3 = ">=1.26.7,<3.0.0"
xdrlib3 = "^0.1.1"
[tool.poetry.dev-dependencies]
pytest = "^7.4.2"
pytest-cov = "^4.1.0"
pytest-timeout = "^2.0.1"
pytest-asyncio = "^0.21.1"
pytest-httpserver = "^1.0.6"
# currently, mypy cannot run in pypy https://github.com/python/typed_ast/issues/111
mypy = {version = "^1.0", markers = "platform_python_implementation == 'CPython'"}
types-toml = {version = "^0.10.8", markers = "platform_python_implementation == 'CPython'"}
types-requests = {version = "^2.31.0", markers = "platform_python_implementation == 'CPython'"}
autoflake = "^2.1"
isort = "^5.10.1"
black = "^23.3.0"
[tool.poetry.extras]
docs = ["sphinx", "sphinx-rtd-theme", "sphinx-autodoc-typehints"]
[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"
]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"