-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
160 lines (138 loc) · 3.94 KB
/
pyproject.toml
File metadata and controls
160 lines (138 loc) · 3.94 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
[build-system]
requires = ["hatchling", "hatch-fancy-pypi-readme", "toml"]
build-backend = "hatchling.build"
[project]
name = "pawnlib"
description = "pawnlib: A versatile Python library for Infrastructure as Code (IaC), offering tools for SSH monitoring, WebSocket connections, and more."
license = { text = "MIT License" }
keywords = ["Python IaC", "SSH monitoring Python", "pawnlib tools"]
requires-python = ">=3.7"
authors = [
{ name = "Jinwoo", email = "jinwoo@parametacorp.com" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Plugins",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Monitoring",
]
dependencies = [
"asttokens>=2.0.5",
"certifi>=2020.12.15",
"charset-normalizer>=2.1.0",
"devtools>=0.8.0",
"executing>=0.8.3",
"idna>=2.5",
"parameterized>=0.8.1",
"PyYAML>=5.3.1",
"urllib3~=1.26.0",
# "requests~=2.29.0",
"requests>=2.25.0",
"six>=1.15.0",
"termcolor>=1.1.0",
"asyncio>=3.4.3",
"aiometer>=0.3.0",
"pyfiglet>=0.8.post1",
"deprecated~=1.2.13",
"argparse>=1.4.0",
"Jinja2>=3.0.3",
"rich>=12.0.1",
"Pygments>=2.14.0",
"inquirerpy==0.3.4",
"httpx~=0.25.0",
"websocket-client>=0.59.0",
"tabulate>=0.8.7",
"aiohttp>=3.8.6",
"aiofiles>=22.1.0",
"python-dotenv~=0.21.1",
"tqdm~=4.65.0",
"psutil~=5.9.8",
"dnspython~=2.7.0",
]
dynamic = ["readme", "version"]
[project.optional-dependencies]
brotli = [
"brotli; platform_python_implementation == 'CPython'",
"brotlicffi; platform_python_implementation != 'CPython'",
]
wallet = [
"eth_keyfile>=0.6.1",
"coincurve~=18.0.0",
"rich>=10,<14",
]
docker = [
"aiodocker~=0.21.0",
]
full = [
"eth_keyfile>=0.6.1",
"coincurve~=18.0.0",
"rich>=10,<14",
"aiodocker~=0.21.0",
"boto3>=1.28.3",
"redis~=4.5.1",
"aioboto3~=11.3.1",
"xxhash~=3.5.0",
]
[project.scripts]
pawns = "pawnlib.cli.main_cli:main"
[project.urls]
Changelog = "https://github.com/jinwoo-j/pawnlib"
Documentation = "https://pawnlib.readthedocs.io"
Homepage = "https://pawnlib.readthedocs.io"
Source = "https://github.com/jinwoo-j/pawnlib"
[tool.hatch.version]
path = "pawnlib/__version__.py"
[tool.hatch.build.targets.sdist]
include = [
"/pawnlib",
"/README.md",
]
#
#[tool.hatch.metadata.hooks.custom]
#module = "hatch_build:CustomDepsHook"
[tool.hatch.metadata.hooks.fancy-pypi-readme]
content-type = "text/markdown"
[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
path = "README.md"
[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
text = "\n## Release Information\n\n"
[tool.ruff]
select = ["E", "F", "I", "B", "PIE"]
ignore = ["B904", "B028"]
line-length = 120
[tool.ruff.isort]
combine-as-imports = true
[tool.mypy]
ignore_missing_imports = true
strict = true
[[tool.mypy.overrides]]
module = "tests.*"
disallow_untyped_defs = false
check_untyped_defs = true
[tool.pytest.ini_options]
addopts = "-rxXs"
filterwarnings = [
"error",
]
markers = [
"copied_from(source, changes=None): mark test as copied from somewhere else, along with a description of changes made to accodomate e.g. our test setup",
"network: marks tests which require network connection. Used in 3rd-party build environments that have network disabled."
]
[tool.coverage.run]
omit = ["venv/*", "pawnlib/_compat.py"]
include = ["pawnlib/*", "tests/*"]
[tool.pyright]
include = ["pawnlib", "tests"]
pythonPath = "."
reportMissingImports = false