-
-
Notifications
You must be signed in to change notification settings - Fork 86
Expand file tree
/
Copy pathpyproject.toml
More file actions
119 lines (106 loc) · 2.83 KB
/
pyproject.toml
File metadata and controls
119 lines (106 loc) · 2.83 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
[project]
name = "pycardano"
version = "0.19.2"
description = "A Cardano library in Python"
requires-python = ">=3.9.1"
dynamic = ["dependencies"]
[tool.poetry]
name = "pycardano"
version = "0.19.2"
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
description = "A Cardano library in Python"
homepage = "https://github.com/Python-Cardano/pycardano"
documentation = "https://pycardano.readthedocs.io/en/latest/"
keywords = ["python", "cardano", "blockchain", "crypto"]
authors = ["Jerry <jerrycgh@gmail.com>"]
readme = "README.md"
repository = "https://github.com/Python-Cardano/pycardano"
license = "MIT"
[tool.poetry.dependencies]
python = "^3.9.1"
PyNaCl = ">=1.5.0"
cbor2 = ">=5.6.5"
typeguard = ">=4.3.0"
blockfrost-python = ">=0.6.0"
websocket-client = ">=1.4.1"
cose = ">=0.9.dev8"
pprintpp = ">=0.4.0"
mnemonic = ">=0.21"
ECPy = ">=1.2.5"
frozendict = ">=2.3.8"
frozenlist = ">=1.3.3"
cachetools = ">=5.3.0"
docker = ">=7.1.0"
ogmios = ">=1.4.2"
requests = ">=2.32.3"
websockets = ">=13.0"
base58 = ">=2.1.0"
cbor2pure = ">=5.7.2"
# NOTE: Keep [tool.poetry.group.dev.dependencies] and [dependency-groups.dev] in sync.
[tool.poetry.group.dev.dependencies]
pytest = ">=8.2.0"
pytest-cov = ">=5.0.0"
flake8 = ">=7.0.0"
isort = ">=5.11.4"
black = {version = ">=26.1.0", python = ">=3.10"}
sphinx-copybutton = ">=0.5.0"
retry = ">=0.9.2"
Flask = ">=2.0.3"
pytest-xdist = ">=3.5.0"
mypy = "1.14.1"
[dependency-groups]
dev = [
"pytest>=8.2.0",
"pytest-cov>=5.0.0",
"flake8>=7.0.0",
"isort>=5.11.4",
"black>=26.1.0; python_version>='3.10'",
"sphinx-copybutton>=0.5.0",
"retry>=0.9.2",
"Flask>=2.0.3",
"pytest-xdist>=3.5.0",
"mypy==1.14.1",
]
docs = [
"sphinx>=7.2.3",
"sphinx-rtd-theme>=3.0.2",
]
# NOTE: Keep [tool.poetry.group.docs.dependencies] and [dependency-groups.docs] in sync.
[tool.poetry.group.docs.dependencies]
sphinx = ">=7.2.3"
sphinx-rtd-theme = ">=3.0.2"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.uv]
seed = true
[tool.pytest.ini_options]
addopts = "--doctest-modules --ignore=examples --ignore=integration-test --ignore=test/resources/haskell"
minversion = "6.0"
markers = [
"post_alonzo",
"single",
"CardanoCLI",
"post_chang"
]
[tool.black]
target-version = ["py39", "py310", "py311", "py312", "py313"]
[tool.isort]
profile = "black"
[tool.mypy]
ignore_missing_imports = true
disable_error_code = ["str-bytes-safe"]
python_version = 3.9
exclude = [
'^pycardano/crypto/bech32.py$',
]