-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
184 lines (169 loc) · 5.81 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
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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
[project]
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
build-backend = "poetry_dynamic_versioning.backend"
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
style = "pep440"
latest-tag = true
metadata = true
pattern = "((?P<epoch>\\d+)!)?(?P<base>\\d+(\\.\\d+)*)([-._]?((?P<stage>[a-zA-Z]+)[-._]?(?P<revision>\\d+)?))?"
format-jinja = """
{%- if distance == 0 -%}
{{ serialize_pep440(base, stage, revision) }}
{%- elif revision is not none -%}
{{ serialize_pep440(base, stage, revision + 1, dev=distance, metadata=[commit]) }}
{%- else -%}
{{ serialize_pep440(bump_version(base), stage, revision, dev=distance, metadata=[commit]) }}
{%- endif -%}
"""
[tool.poetry-dynamic-versioning.files."psec/_version.py"]
persistent-substitution = true
initial-content = """
# These version placeholders will be replaced later during substitution.
__version__ = "0.0.0"
__version_tuple__ = (0, 0, 0)
"""
[tool.poetry]
name = "python-secrets"
package-mode = true
version = "0.1.0"
description = "Python CLI for decoupling secrets (passwords, API keys, etc.) from source code"
license = "Apache-2.0"
authors = [
"Dave Dittrich <dave.dittrich@gmail.com>"
]
maintainers = [
"Dave Dittrich <dave.dittrich@gmail.com>"
]
readme = "README.rst"
homepage = "https://github.com/davedittrich/python_secrets"
repository = "https://github.com/davedittrich/python_secrets"
documentation = "https://github.com/davedittrich/python_secrets"
keywords = [
"cliff",
"cli",
"secrets",
"environment",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Information Technology",
"Intended Audience :: Other Audience",
"Intended Audience :: Science/Research",
"Intended Audience :: System Administrators",
"Natural Language :: English",
"Operating System :: POSIX",
"Operating System :: MacOS",
"Operating System :: OS Independent",
"Operating System :: Microsoft :: Windows",
"Operating System :: Unix",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Unix Shell",
"Topic :: Security",
"Topic :: Software Development",
"Topic :: Software Development :: Build Tools",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Installation/Setup",
"Topic :: System :: Systems Administration",
"Topic :: Utilities"
]
include = [
{ path = "psec/_version.py" },
]
packages = [
{include = "psec"}
]
[tool.poetry.scripts]
psec = "psec.__main__:main"
[tool.poetry.plugins.psec]
about = "psec.about:About"
environments_create = "psec.cli.environments.create:EnvironmentsCreate"
environments_default = "psec.cli.environments.default:EnvironmentsDefault"
environments_delete = "psec.cli.environments.delete:EnvironmentsDelete"
environments_list = "psec.cli.environments.list:EnvironmentsList"
environments_path = "psec.cli.environments.path:EnvironmentsPath"
environments_rename = "psec.cli.environments.rename:EnvironmentsRename"
environments_tree = "psec.cli.environments.tree:EnvironmentsTree"
init = "psec.cli.init:Init"
groups_create = "psec.cli.groups.create:GroupsCreate"
groups_delete = "psec.cli.groups.delete:GroupsDelete"
groups_list = "psec.cli.groups.list:GroupsList"
groups_path = "psec.cli.groups.path:GroupsPath"
groups_show = "psec.cli.groups.show:GroupsShow"
run = "psec.cli.run:Run"
secrets_backup = "psec.cli.secrets.backup:SecretsBackup"
secrets_create = "psec.cli.secrets.create:SecretsCreate"
secrets_delete = "psec.cli.secrets.delete:SecretsDelete"
secrets_describe = "psec.cli.secrets.describe:SecretsDescribe"
secrets_find = "psec.cli.secrets.find:SecretsFind"
secrets_generate = "psec.cli.secrets.generate:SecretsGenerate"
secrets_get = "psec.cli.secrets.get:SecretsGet"
secrets_path = "psec.cli.secrets.path:SecretsPath"
secrets_restore = "psec.cli.secrets.restore:SecretsRestore"
secrets_send = "psec.cli.secrets.send:SecretsSend"
secrets_set = "psec.cli.secrets.set:SecretsSet"
secrets_show = "psec.cli.secrets.show:SecretsShow"
secrets_tree = "psec.cli.secrets.tree:SecretsTree"
ssh_config = "psec.cli.ssh:SSHConfig"
ssh_known-hosts_add = "psec.cli.ssh:SSHKnownHostsAdd"
ssh_known-hosts_extract = "psec.cli.ssh:SSHKnownHostsExtract"
ssh_known-hosts_remove = "psec.cli.ssh:SSHKnownHostsRemove"
template = "psec.cli.template:Template"
utils_myip = "psec.cli.utils.myip:MyIP"
utils_myip_methods = "psec.cli.utils.myip:MyIPMethods"
utils_netblock = "psec.cli.utils.netblock:Netblock"
utils_set-aws-credentials = "psec.cli.utils.set_aws_credentials:SetAWSCredentials"
utils_tfstate_backend = "psec.cli.utils.tfbackend:TfBackend"
utils_tfstate_output = "psec.cli.utils.tfoutput:TfOutput"
utils_yaml-to-json = "psec.cli.utils.yaml_to_json:YAMLToJSON"
[tool.poetry.dependencies]
python = ">=3.10,<4.0"
ansible = "^10.4.0"
anytree = "^2.12.1"
beautifulsoup4 = "^4.12.3"
bullet = "^2.2.0"
cliff = "^4.7.0"
configobj = "^5.0.8"
gnupg = "^2.3.1"
ipwhois = "^1.2.0"
jinja2 = "^3.1.4"
lxml = "^5.3.0"
pexpect = "^4.9.0"
poetry = ">=1.8.3"
poetry-dynamic-versioning = "^1.4.1"
psutil = "^6.0.0"
requests = ">=2.31.0"
xkcdpass ="^1.19.9"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
sphinx = ">=4.0"
sphinx-autobuild = ">=2021.0"
sphinx-rtd-theme = ">=1.0"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
tox = "^4.8.1"
bandit = "^1.7.9"
ruff = "^0.6.9"
[tool.poetry.group.test]
optional = true
[tool.poetry.group.test.dependencies]
pytest = "^8.3.3"
pytest-cov = "^5.0.0"
pytest-cookies = "^0.6.1"
twine = "^5.1.1"
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
]
pythonpath = "psec"
# EOF