types-python-jenkins 1.8.0.20240921__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- types-python-jenkins-1.8.0.20240921/CHANGELOG.md +6 -0
- types-python-jenkins-1.8.0.20240921/MANIFEST.in +1 -0
- types-python-jenkins-1.8.0.20240921/PKG-INFO +38 -0
- types-python-jenkins-1.8.0.20240921/jenkins-stubs/METADATA.toml +3 -0
- types-python-jenkins-1.8.0.20240921/jenkins-stubs/__init__.pyi +239 -0
- types-python-jenkins-1.8.0.20240921/jenkins-stubs/plugins.pyi +15 -0
- types-python-jenkins-1.8.0.20240921/jenkins-stubs/py.typed +0 -0
- types-python-jenkins-1.8.0.20240921/jenkins-stubs/version.pyi +3 -0
- types-python-jenkins-1.8.0.20240921/setup.cfg +4 -0
- types-python-jenkins-1.8.0.20240921/setup.py +52 -0
- types-python-jenkins-1.8.0.20240921/types_python_jenkins.egg-info/PKG-INFO +38 -0
- types-python-jenkins-1.8.0.20240921/types_python_jenkins.egg-info/SOURCES.txt +13 -0
- types-python-jenkins-1.8.0.20240921/types_python_jenkins.egg-info/dependency_links.txt +1 -0
- types-python-jenkins-1.8.0.20240921/types_python_jenkins.egg-info/requires.txt +1 -0
- types-python-jenkins-1.8.0.20240921/types_python_jenkins.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
include CHANGELOG.md
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: types-python-jenkins
|
|
3
|
+
Version: 1.8.0.20240921
|
|
4
|
+
Summary: Typing stubs for python-jenkins
|
|
5
|
+
Home-page: https://github.com/python/typeshed
|
|
6
|
+
License: Apache-2.0
|
|
7
|
+
Project-URL: GitHub, https://github.com/python/typeshed
|
|
8
|
+
Project-URL: Changes, https://github.com/typeshed-internal/stub_uploader/blob/main/data/changelogs/python-jenkins.md
|
|
9
|
+
Project-URL: Issue tracker, https://github.com/python/typeshed/issues
|
|
10
|
+
Project-URL: Chat, https://gitter.im/python/typing
|
|
11
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Typing :: Stubs Only
|
|
14
|
+
Requires-Python: >=3.8
|
|
15
|
+
Description-Content-Type: text/markdown
|
|
16
|
+
|
|
17
|
+
## Typing stubs for python-jenkins
|
|
18
|
+
|
|
19
|
+
This is a [PEP 561](https://peps.python.org/pep-0561/)
|
|
20
|
+
type stub package for the [`python-jenkins`](https://opendev.org/jjb/python-jenkins) package.
|
|
21
|
+
It can be used by type-checking tools like
|
|
22
|
+
[mypy](https://github.com/python/mypy/),
|
|
23
|
+
[pyright](https://github.com/microsoft/pyright),
|
|
24
|
+
[pytype](https://github.com/google/pytype/),
|
|
25
|
+
PyCharm, etc. to check code that uses
|
|
26
|
+
`python-jenkins`.
|
|
27
|
+
|
|
28
|
+
This version of `types-python-jenkins` aims to provide accurate annotations
|
|
29
|
+
for `python-jenkins==1.8.*`.
|
|
30
|
+
The source for this package can be found at
|
|
31
|
+
https://github.com/python/typeshed/tree/main/stubs/python-jenkins. All fixes for
|
|
32
|
+
types and metadata should be contributed there.
|
|
33
|
+
|
|
34
|
+
See https://github.com/python/typeshed/blob/main/README.md for more details.
|
|
35
|
+
This package was generated from typeshed commit
|
|
36
|
+
[`bde71c575f33fddcb71bbe0550facbfd08b5a6ae`](https://github.com/python/typeshed/commit/bde71c575f33fddcb71bbe0550facbfd08b5a6ae) and was tested
|
|
37
|
+
with mypy 1.11.1, pyright 1.1.381, and
|
|
38
|
+
pytype 2024.9.13.
|
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
|
+
from collections.abc import Mapping, MutableMapping, Sequence
|
|
3
|
+
from re import Pattern
|
|
4
|
+
from typing import Any, Final, Literal, overload
|
|
5
|
+
from typing_extensions import TypeAlias
|
|
6
|
+
|
|
7
|
+
import requests
|
|
8
|
+
from requests.models import Request, Response
|
|
9
|
+
from requests.sessions import _Auth
|
|
10
|
+
|
|
11
|
+
LAUNCHER_SSH: Final[str]
|
|
12
|
+
LAUNCHER_COMMAND: Final[str]
|
|
13
|
+
LAUNCHER_JNLP: Final[str]
|
|
14
|
+
LAUNCHER_WINDOWS_SERVICE: Final[str]
|
|
15
|
+
DEFAULT_HEADERS: Final[dict[str, str]]
|
|
16
|
+
DEFAULT_TIMEOUT: Final[float]
|
|
17
|
+
INFO: Final[str]
|
|
18
|
+
PLUGIN_INFO: Final[str]
|
|
19
|
+
CRUMB_URL: Final[str]
|
|
20
|
+
WHOAMI_URL: Final[str]
|
|
21
|
+
JOBS_QUERY: Final[str]
|
|
22
|
+
JOBS_QUERY_TREE: Final[str]
|
|
23
|
+
JOB_INFO: Final[str]
|
|
24
|
+
JOB_NAME: Final[str]
|
|
25
|
+
ALL_BUILDS: Final[str]
|
|
26
|
+
Q_INFO: Final[str]
|
|
27
|
+
Q_ITEM: Final[str]
|
|
28
|
+
CANCEL_QUEUE: Final[str]
|
|
29
|
+
CREATE_JOB: Final[str]
|
|
30
|
+
CONFIG_JOB: Final[str]
|
|
31
|
+
DELETE_JOB: Final[str]
|
|
32
|
+
ENABLE_JOB: Final[str]
|
|
33
|
+
DISABLE_JOB: Final[str]
|
|
34
|
+
CHECK_JENKINSFILE_SYNTAX: Final[str]
|
|
35
|
+
SET_JOB_BUILD_NUMBER: Final[str]
|
|
36
|
+
COPY_JOB: Final[str]
|
|
37
|
+
RENAME_JOB: Final[str]
|
|
38
|
+
BUILD_JOB: Final[str]
|
|
39
|
+
STOP_BUILD: Final[str]
|
|
40
|
+
BUILD_WITH_PARAMS_JOB: Final[str]
|
|
41
|
+
BUILD_INFO: Final[str]
|
|
42
|
+
BUILD_CONSOLE_OUTPUT: Final[str]
|
|
43
|
+
BUILD_ENV_VARS: Final[str]
|
|
44
|
+
BUILD_TEST_REPORT: Final[str]
|
|
45
|
+
BUILD_ARTIFACT: Final[str]
|
|
46
|
+
BUILD_STAGES: Final[str]
|
|
47
|
+
DELETE_BUILD: Final[str]
|
|
48
|
+
WIPEOUT_JOB_WORKSPACE: Final[str]
|
|
49
|
+
NODE_LIST: Final[str]
|
|
50
|
+
CREATE_NODE: Final[str]
|
|
51
|
+
DELETE_NODE: Final[str]
|
|
52
|
+
NODE_INFO: Final[str]
|
|
53
|
+
NODE_TYPE: Final[str]
|
|
54
|
+
TOGGLE_OFFLINE: Final[str]
|
|
55
|
+
CONFIG_NODE: Final[str]
|
|
56
|
+
VIEW_NAME: Final[str]
|
|
57
|
+
VIEW_JOBS: Final[str]
|
|
58
|
+
CREATE_VIEW: Final[str]
|
|
59
|
+
CONFIG_VIEW: Final[str]
|
|
60
|
+
DELETE_VIEW: Final[str]
|
|
61
|
+
SCRIPT_TEXT: Final[str]
|
|
62
|
+
NODE_SCRIPT_TEXT: Final[str]
|
|
63
|
+
PROMOTION_NAME: Final[str]
|
|
64
|
+
PROMOTION_INFO: Final[str]
|
|
65
|
+
DELETE_PROMOTION: Final[str]
|
|
66
|
+
CREATE_PROMOTION: Final[str]
|
|
67
|
+
CONFIG_PROMOTION: Final[str]
|
|
68
|
+
LIST_CREDENTIALS: Final[str]
|
|
69
|
+
CREATE_CREDENTIAL: Final[str]
|
|
70
|
+
CONFIG_CREDENTIAL: Final[str]
|
|
71
|
+
CREDENTIAL_INFO: Final[str]
|
|
72
|
+
QUIET_DOWN: Final[str]
|
|
73
|
+
EMPTY_CONFIG_XML: Final[str]
|
|
74
|
+
EMPTY_FOLDER_XML: Final[str]
|
|
75
|
+
RECONFIG_XML: Final[str]
|
|
76
|
+
EMPTY_VIEW_CONFIG_XML: Final[str]
|
|
77
|
+
EMPTY_PROMO_CONFIG_XML: Final[str]
|
|
78
|
+
PROMO_RECONFIG_XML: Final[str]
|
|
79
|
+
|
|
80
|
+
class JenkinsException(Exception): ...
|
|
81
|
+
class NotFoundException(JenkinsException): ...
|
|
82
|
+
class EmptyResponseException(JenkinsException): ...
|
|
83
|
+
class BadHTTPException(JenkinsException): ...
|
|
84
|
+
class TimeoutException(JenkinsException): ...
|
|
85
|
+
|
|
86
|
+
class WrappedSession(requests.Session):
|
|
87
|
+
# merge_environment_settings wraps requests.Session.merge_environment_settings
|
|
88
|
+
# w/o changing the type signature
|
|
89
|
+
...
|
|
90
|
+
|
|
91
|
+
_JSONValue: TypeAlias = Any # too many possibilities to express
|
|
92
|
+
_JSON: TypeAlias = dict[str, _JSONValue]
|
|
93
|
+
|
|
94
|
+
class Jenkins:
|
|
95
|
+
server: str
|
|
96
|
+
auth: _Auth | None
|
|
97
|
+
crumb: Mapping[str, Incomplete] | bool | Incomplete
|
|
98
|
+
timeout: int
|
|
99
|
+
def __init__(self, url: str, username: str | None = None, password: str | None = None, timeout: int = ...) -> None: ...
|
|
100
|
+
def maybe_add_crumb(self, req: Request) -> None: ...
|
|
101
|
+
def get_job_info(self, name: str, depth: int = 0, fetch_all_builds: bool = False) -> _JSON: ...
|
|
102
|
+
def get_job_info_regex(
|
|
103
|
+
self, pattern: str | Pattern[str], depth: int = 0, folder_depth: int = 0, folder_depth_per_request: int = 10
|
|
104
|
+
) -> list[_JSON]: ...
|
|
105
|
+
def get_job_name(self, name: str) -> str | None: ...
|
|
106
|
+
def debug_job_info(self, job_name: str) -> None: ...
|
|
107
|
+
def jenkins_open(self, req: Request, add_crumb: bool = True, resolve_auth: bool = True) -> str: ...
|
|
108
|
+
def jenkins_open_stream(self, req: Request, add_crumb: bool = True, resolve_auth: bool = True) -> Response: ...
|
|
109
|
+
def jenkins_request(
|
|
110
|
+
self, req: Request, add_crumb: bool = True, resolve_auth: bool = True, stream: bool | None = None
|
|
111
|
+
) -> Response: ...
|
|
112
|
+
def get_queue_item(self, number: int, depth: int = 0) -> _JSON: ...
|
|
113
|
+
def get_build_info(self, name: str, number: int, depth: int = 0) -> _JSON: ...
|
|
114
|
+
def get_build_env_vars(self, name: str, number: int, depth: int = 0) -> _JSON | None: ...
|
|
115
|
+
def get_build_test_report(self, name: str, number: int, depth: int = 0) -> _JSON | None: ...
|
|
116
|
+
def get_build_artifact(self, name: str, number: int, artifact: str) -> _JSON: ...
|
|
117
|
+
def get_build_artifact_as_bytes(self, name: str, number: int, artifact: str) -> bytes: ...
|
|
118
|
+
def get_build_stages(self, name: str, number: int) -> _JSON: ...
|
|
119
|
+
def get_queue_info(self) -> _JSON: ...
|
|
120
|
+
def cancel_queue(self, id: int) -> None: ...
|
|
121
|
+
def get_info(self, item: str = "", query: str | None = None) -> _JSON: ...
|
|
122
|
+
def get_whoami(self, depth: int = 0) -> _JSON: ...
|
|
123
|
+
def get_version(self) -> str: ...
|
|
124
|
+
def get_plugins_info(self, depth: int = 2) -> _JSON: ...
|
|
125
|
+
def get_plugin_info(self, name: str, depth: int = 2) -> _JSON: ...
|
|
126
|
+
def get_plugins(self, depth: int = 2) -> _JSON: ...
|
|
127
|
+
def get_jobs(
|
|
128
|
+
self, folder_depth: int = 0, folder_depth_per_request: int = 10, view_name: str | None = None
|
|
129
|
+
) -> list[dict[str, str]]: ...
|
|
130
|
+
def get_all_jobs(self, folder_depth: int | None = None, folder_depth_per_request: int = 10) -> list[dict[str, str]]: ...
|
|
131
|
+
def copy_job(self, from_name: str, to_name: str) -> None: ...
|
|
132
|
+
def rename_job(self, from_name: str, to_name: str) -> None: ...
|
|
133
|
+
def delete_job(self, name: str) -> None: ...
|
|
134
|
+
def enable_job(self, name: str) -> None: ...
|
|
135
|
+
def disable_job(self, name: str) -> None: ...
|
|
136
|
+
def set_next_build_number(self, name: str, number: int) -> None: ...
|
|
137
|
+
def job_exists(self, name: str) -> bool: ...
|
|
138
|
+
def jobs_count(self) -> int: ...
|
|
139
|
+
def assert_job_exists(self, name: str, exception_message: str = "job[%s] does not exist") -> None: ...
|
|
140
|
+
def create_folder(self, folder_name: str, ignore_failures: bool = False) -> None: ...
|
|
141
|
+
def upsert_job(self, name: str, config_xml: str) -> None: ...
|
|
142
|
+
def check_jenkinsfile_syntax(self, jenkinsfile: str) -> list[str]: ...
|
|
143
|
+
def create_job(self, name: str, config_xml: str) -> None: ...
|
|
144
|
+
def get_job_config(self, name: str) -> str: ...
|
|
145
|
+
def reconfig_job(self, name: str, config_xml: str) -> None: ...
|
|
146
|
+
@overload
|
|
147
|
+
def build_job_url(
|
|
148
|
+
self,
|
|
149
|
+
name: str,
|
|
150
|
+
parameters: Mapping[str, Incomplete] | Sequence[tuple[str, Incomplete]] | None = None,
|
|
151
|
+
token: Literal[""] | None = None,
|
|
152
|
+
) -> str: ...
|
|
153
|
+
@overload
|
|
154
|
+
def build_job_url(
|
|
155
|
+
self, name: str, parameters: dict[str, Incomplete] | list[tuple[str, Incomplete]] | None, token: str
|
|
156
|
+
) -> str: ...
|
|
157
|
+
@overload
|
|
158
|
+
def build_job_url(
|
|
159
|
+
self, name: str, parameters: dict[str, Incomplete] | list[tuple[str, Incomplete]] | None = None, *, token: str
|
|
160
|
+
) -> str: ...
|
|
161
|
+
@overload
|
|
162
|
+
def build_job(
|
|
163
|
+
self,
|
|
164
|
+
name: str,
|
|
165
|
+
parameters: Mapping[str, Incomplete] | Sequence[tuple[str, Incomplete]] | None = None,
|
|
166
|
+
token: Literal[""] | None = None,
|
|
167
|
+
) -> int: ...
|
|
168
|
+
@overload
|
|
169
|
+
def build_job(
|
|
170
|
+
self, name: str, parameters: dict[str, Incomplete] | list[tuple[str, Incomplete]] | None, token: str
|
|
171
|
+
) -> int: ...
|
|
172
|
+
@overload
|
|
173
|
+
def build_job(
|
|
174
|
+
self, name: str, parameters: dict[str, Incomplete] | list[tuple[str, Incomplete]] | None = None, *, token: str
|
|
175
|
+
) -> int: ...
|
|
176
|
+
def run_script(self, script: str, node: str | None = None) -> str: ...
|
|
177
|
+
def install_plugin(self, name: str, include_dependencies: bool = True) -> bool: ...
|
|
178
|
+
def stop_build(self, name: str, number: int) -> None: ...
|
|
179
|
+
def delete_build(self, name: str, number: int) -> None: ...
|
|
180
|
+
def wipeout_job_workspace(self, name: str) -> None: ...
|
|
181
|
+
def get_running_builds(self) -> list[_JSON]: ...
|
|
182
|
+
def get_nodes(self, depth: int = 0) -> list[_JSON]: ...
|
|
183
|
+
def get_node_info(self, name: str, depth: int = 0) -> _JSON: ...
|
|
184
|
+
def node_exists(self, name: str) -> bool: ...
|
|
185
|
+
def assert_node_exists(self, name: str, exception_message: str = "node[%s] does not exist") -> None: ...
|
|
186
|
+
def delete_node(self, name: str) -> None: ...
|
|
187
|
+
def disable_node(self, name: str, msg: str = "") -> None: ...
|
|
188
|
+
def enable_node(self, name: str) -> None: ...
|
|
189
|
+
def create_node(
|
|
190
|
+
self,
|
|
191
|
+
name: str,
|
|
192
|
+
numExecutors: int = 2,
|
|
193
|
+
nodeDescription: str | None = None,
|
|
194
|
+
remoteFS: str = "/var/lib/jenkins",
|
|
195
|
+
labels: str | None = None,
|
|
196
|
+
exclusive: bool = False,
|
|
197
|
+
launcher: str = "hudson.slaves.CommandLauncher",
|
|
198
|
+
launcher_params: MutableMapping[str, Incomplete] = {},
|
|
199
|
+
) -> None: ...
|
|
200
|
+
def get_node_config(self, name: str) -> str: ...
|
|
201
|
+
def reconfig_node(self, name: str, config_xml: str) -> None: ...
|
|
202
|
+
def get_build_console_output(self, name: str, number: int) -> str: ...
|
|
203
|
+
def get_view_name(self, name: str) -> str | None: ...
|
|
204
|
+
def assert_view_exists(self, name: str, exception_message: str = "view[%s] does not exist") -> None: ...
|
|
205
|
+
def view_exists(self, name: str) -> bool: ...
|
|
206
|
+
def get_views(self) -> list[_JSON]: ...
|
|
207
|
+
def delete_view(self, name: str) -> None: ...
|
|
208
|
+
def create_view(self, name: str, config_xml: str) -> None: ...
|
|
209
|
+
def reconfig_view(self, name: str, config_xml: str) -> None: ...
|
|
210
|
+
def get_view_config(self, name: str) -> str: ...
|
|
211
|
+
def get_promotion_name(self, name: str, job_name: str) -> str | None: ...
|
|
212
|
+
def assert_promotion_exists(
|
|
213
|
+
self, name: str, job_name: str, exception_message: str = "promotion[%s] does not exist for job[%s]"
|
|
214
|
+
) -> None: ...
|
|
215
|
+
def promotion_exists(self, name: str, job_name: str) -> bool: ...
|
|
216
|
+
def get_promotions_info(self, job_name: str, depth: int = 0) -> _JSON: ...
|
|
217
|
+
def get_promotions(self, job_name: str) -> list[_JSON]: ...
|
|
218
|
+
def delete_promotion(self, name: str, job_name: str) -> None: ...
|
|
219
|
+
def create_promotion(self, name: str, job_name: str, config_xml: str) -> None: ...
|
|
220
|
+
def reconfig_promotion(self, name: str, job_name: str, config_xml: str) -> None: ...
|
|
221
|
+
def get_promotion_config(self, name: str, job_name: str) -> str: ...
|
|
222
|
+
def assert_folder(self, name: str, exception_message: str = "job[%s] is not a folder") -> None: ...
|
|
223
|
+
def is_folder(self, name: str) -> bool: ...
|
|
224
|
+
def assert_credential_exists(
|
|
225
|
+
self,
|
|
226
|
+
name: str,
|
|
227
|
+
folder_name: str,
|
|
228
|
+
domain_name: str = "_",
|
|
229
|
+
exception_message: str = "credential[%s] does not exist in the domain[%s] of [%s]", # noqa: Y053
|
|
230
|
+
) -> None: ...
|
|
231
|
+
def credential_exists(self, name: str, folder_name: str, domain_name: str = "_") -> bool: ...
|
|
232
|
+
def get_credential_info(self, name: str, folder_name: str, domain_name: str = "_") -> _JSON: ...
|
|
233
|
+
def get_credential_config(self, name: str, folder_name: str, domain_name: str = "_") -> str: ...
|
|
234
|
+
def create_credential(self, folder_name: str, config_xml: str, domain_name: str = "_") -> None: ...
|
|
235
|
+
def delete_credential(self, name: str, folder_name: str, domain_name: str = "_") -> None: ...
|
|
236
|
+
def reconfig_credential(self, folder_name: str, config_xml: str, domain_name: str = "_") -> None: ...
|
|
237
|
+
def list_credentials(self, folder_name: str, domain_name: str = "_") -> list[Incomplete]: ...
|
|
238
|
+
def quiet_down(self) -> None: ...
|
|
239
|
+
def wait_for_normal_op(self, timeout: int) -> bool: ...
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
from typing import Any
|
|
2
|
+
|
|
3
|
+
# Any: Union of possible plugin values is too complex
|
|
4
|
+
class Plugin(dict[str, Any]):
|
|
5
|
+
# __init__ wraps dict.__init__ w/o changing the type signature
|
|
6
|
+
def __setitem__(self, key: str, value: Any) -> None: ...
|
|
7
|
+
|
|
8
|
+
class PluginVersion(str):
|
|
9
|
+
def __init__(self, version: str) -> None: ...
|
|
10
|
+
def __le__(self, version: object) -> bool: ...
|
|
11
|
+
def __lt__(self, version: object) -> bool: ...
|
|
12
|
+
def __ge__(self, version: object) -> bool: ...
|
|
13
|
+
def __gt__(self, version: object) -> bool: ...
|
|
14
|
+
def __eq__(self, version: object) -> bool: ...
|
|
15
|
+
def __ne__(self, version: object) -> bool: ...
|
|
File without changes
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
from setuptools import setup
|
|
2
|
+
|
|
3
|
+
name = "types-python-jenkins"
|
|
4
|
+
description = "Typing stubs for python-jenkins"
|
|
5
|
+
long_description = '''
|
|
6
|
+
## Typing stubs for python-jenkins
|
|
7
|
+
|
|
8
|
+
This is a [PEP 561](https://peps.python.org/pep-0561/)
|
|
9
|
+
type stub package for the [`python-jenkins`](https://opendev.org/jjb/python-jenkins) package.
|
|
10
|
+
It can be used by type-checking tools like
|
|
11
|
+
[mypy](https://github.com/python/mypy/),
|
|
12
|
+
[pyright](https://github.com/microsoft/pyright),
|
|
13
|
+
[pytype](https://github.com/google/pytype/),
|
|
14
|
+
PyCharm, etc. to check code that uses
|
|
15
|
+
`python-jenkins`.
|
|
16
|
+
|
|
17
|
+
This version of `types-python-jenkins` aims to provide accurate annotations
|
|
18
|
+
for `python-jenkins==1.8.*`.
|
|
19
|
+
The source for this package can be found at
|
|
20
|
+
https://github.com/python/typeshed/tree/main/stubs/python-jenkins. All fixes for
|
|
21
|
+
types and metadata should be contributed there.
|
|
22
|
+
|
|
23
|
+
See https://github.com/python/typeshed/blob/main/README.md for more details.
|
|
24
|
+
This package was generated from typeshed commit
|
|
25
|
+
[`bde71c575f33fddcb71bbe0550facbfd08b5a6ae`](https://github.com/python/typeshed/commit/bde71c575f33fddcb71bbe0550facbfd08b5a6ae) and was tested
|
|
26
|
+
with mypy 1.11.1, pyright 1.1.381, and
|
|
27
|
+
pytype 2024.9.13.
|
|
28
|
+
'''.lstrip()
|
|
29
|
+
|
|
30
|
+
setup(name=name,
|
|
31
|
+
version="1.8.0.20240921",
|
|
32
|
+
description=description,
|
|
33
|
+
long_description=long_description,
|
|
34
|
+
long_description_content_type="text/markdown",
|
|
35
|
+
url="https://github.com/python/typeshed",
|
|
36
|
+
project_urls={
|
|
37
|
+
"GitHub": "https://github.com/python/typeshed",
|
|
38
|
+
"Changes": "https://github.com/typeshed-internal/stub_uploader/blob/main/data/changelogs/python-jenkins.md",
|
|
39
|
+
"Issue tracker": "https://github.com/python/typeshed/issues",
|
|
40
|
+
"Chat": "https://gitter.im/python/typing",
|
|
41
|
+
},
|
|
42
|
+
install_requires=['types-requests'],
|
|
43
|
+
packages=['jenkins-stubs'],
|
|
44
|
+
package_data={'jenkins-stubs': ['__init__.pyi', 'plugins.pyi', 'version.pyi', 'METADATA.toml', 'py.typed']},
|
|
45
|
+
license="Apache-2.0",
|
|
46
|
+
python_requires=">=3.8",
|
|
47
|
+
classifiers=[
|
|
48
|
+
"License :: OSI Approved :: Apache Software License",
|
|
49
|
+
"Programming Language :: Python :: 3",
|
|
50
|
+
"Typing :: Stubs Only",
|
|
51
|
+
]
|
|
52
|
+
)
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: types-python-jenkins
|
|
3
|
+
Version: 1.8.0.20240921
|
|
4
|
+
Summary: Typing stubs for python-jenkins
|
|
5
|
+
Home-page: https://github.com/python/typeshed
|
|
6
|
+
License: Apache-2.0
|
|
7
|
+
Project-URL: GitHub, https://github.com/python/typeshed
|
|
8
|
+
Project-URL: Changes, https://github.com/typeshed-internal/stub_uploader/blob/main/data/changelogs/python-jenkins.md
|
|
9
|
+
Project-URL: Issue tracker, https://github.com/python/typeshed/issues
|
|
10
|
+
Project-URL: Chat, https://gitter.im/python/typing
|
|
11
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Typing :: Stubs Only
|
|
14
|
+
Requires-Python: >=3.8
|
|
15
|
+
Description-Content-Type: text/markdown
|
|
16
|
+
|
|
17
|
+
## Typing stubs for python-jenkins
|
|
18
|
+
|
|
19
|
+
This is a [PEP 561](https://peps.python.org/pep-0561/)
|
|
20
|
+
type stub package for the [`python-jenkins`](https://opendev.org/jjb/python-jenkins) package.
|
|
21
|
+
It can be used by type-checking tools like
|
|
22
|
+
[mypy](https://github.com/python/mypy/),
|
|
23
|
+
[pyright](https://github.com/microsoft/pyright),
|
|
24
|
+
[pytype](https://github.com/google/pytype/),
|
|
25
|
+
PyCharm, etc. to check code that uses
|
|
26
|
+
`python-jenkins`.
|
|
27
|
+
|
|
28
|
+
This version of `types-python-jenkins` aims to provide accurate annotations
|
|
29
|
+
for `python-jenkins==1.8.*`.
|
|
30
|
+
The source for this package can be found at
|
|
31
|
+
https://github.com/python/typeshed/tree/main/stubs/python-jenkins. All fixes for
|
|
32
|
+
types and metadata should be contributed there.
|
|
33
|
+
|
|
34
|
+
See https://github.com/python/typeshed/blob/main/README.md for more details.
|
|
35
|
+
This package was generated from typeshed commit
|
|
36
|
+
[`bde71c575f33fddcb71bbe0550facbfd08b5a6ae`](https://github.com/python/typeshed/commit/bde71c575f33fddcb71bbe0550facbfd08b5a6ae) and was tested
|
|
37
|
+
with mypy 1.11.1, pyright 1.1.381, and
|
|
38
|
+
pytype 2024.9.13.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
CHANGELOG.md
|
|
2
|
+
MANIFEST.in
|
|
3
|
+
setup.py
|
|
4
|
+
jenkins-stubs/METADATA.toml
|
|
5
|
+
jenkins-stubs/__init__.pyi
|
|
6
|
+
jenkins-stubs/plugins.pyi
|
|
7
|
+
jenkins-stubs/py.typed
|
|
8
|
+
jenkins-stubs/version.pyi
|
|
9
|
+
types_python_jenkins.egg-info/PKG-INFO
|
|
10
|
+
types_python_jenkins.egg-info/SOURCES.txt
|
|
11
|
+
types_python_jenkins.egg-info/dependency_links.txt
|
|
12
|
+
types_python_jenkins.egg-info/requires.txt
|
|
13
|
+
types_python_jenkins.egg-info/top_level.txt
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
types-requests
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
jenkins-stubs
|