ibm-cloud-sdk-core 3.20.6__py3-none-any.whl → 3.22.0__py3-none-any.whl
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.
- ibm_cloud_sdk_core/__init__.py +2 -0
- ibm_cloud_sdk_core/authenticators/__init__.py +1 -0
- ibm_cloud_sdk_core/authenticators/authenticator.py +1 -0
- ibm_cloud_sdk_core/authenticators/basic_authenticator.py +7 -1
- ibm_cloud_sdk_core/authenticators/bearer_token_authenticator.py +6 -1
- ibm_cloud_sdk_core/authenticators/container_authenticator.py +1 -0
- ibm_cloud_sdk_core/authenticators/cp4d_authenticator.py +5 -2
- ibm_cloud_sdk_core/authenticators/iam_assume_authenticator.py +146 -0
- ibm_cloud_sdk_core/authenticators/iam_request_based_authenticator.py +5 -1
- ibm_cloud_sdk_core/authenticators/mcsp_authenticator.py +5 -1
- ibm_cloud_sdk_core/authenticators/vpc_instance_authenticator.py +5 -1
- ibm_cloud_sdk_core/base_service.py +28 -10
- ibm_cloud_sdk_core/get_authenticator.py +22 -1
- ibm_cloud_sdk_core/logger.py +85 -0
- ibm_cloud_sdk_core/token_managers/container_token_manager.py +3 -3
- ibm_cloud_sdk_core/token_managers/cp4d_token_manager.py +5 -0
- ibm_cloud_sdk_core/token_managers/iam_assume_token_manager.py +150 -0
- ibm_cloud_sdk_core/token_managers/iam_request_based_token_manager.py +8 -1
- ibm_cloud_sdk_core/token_managers/mcsp_token_manager.py +7 -1
- ibm_cloud_sdk_core/token_managers/token_manager.py +7 -0
- ibm_cloud_sdk_core/token_managers/vpc_instance_token_manager.py +4 -5
- ibm_cloud_sdk_core/utils.py +6 -2
- ibm_cloud_sdk_core/version.py +1 -1
- ibm_cloud_sdk_core-3.22.0.dist-info/METADATA +160 -0
- ibm_cloud_sdk_core-3.22.0.dist-info/RECORD +37 -0
- {ibm_cloud_sdk_core-3.20.6.dist-info → ibm_cloud_sdk_core-3.22.0.dist-info}/WHEEL +1 -1
- ibm_cloud_sdk_core-3.20.6.dist-info/METADATA +0 -124
- ibm_cloud_sdk_core-3.20.6.dist-info/RECORD +0 -34
- {ibm_cloud_sdk_core-3.20.6.dist-info → ibm_cloud_sdk_core-3.22.0.dist-info}/LICENSE +0 -0
- {ibm_cloud_sdk_core-3.20.6.dist-info → ibm_cloud_sdk_core-3.22.0.dist-info}/top_level.txt +0 -0
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: ibm-cloud-sdk-core
|
|
3
|
-
Version: 3.20.6
|
|
4
|
-
Summary: Core library used by SDKs for IBM Cloud Services
|
|
5
|
-
Author-email: IBM <devxsdk@us.ibm.com>
|
|
6
|
-
Project-URL: Repository, https://github.com/IBM/python-sdk-core
|
|
7
|
-
Project-URL: Documentation, https://github.com/IBM/python-sdk-core/blob/main/README.md
|
|
8
|
-
Project-URL: Issues, https://github.com/IBM/python-sdk-core/issues
|
|
9
|
-
Project-URL: Changelog, https://github.com/IBM/python-sdk-core/blob/main/CHANGELOG.md
|
|
10
|
-
Project-URL: Contributing, https://github.com/IBM/python-sdk-core/blob/main/CONTRIBUTING.md
|
|
11
|
-
Project-URL: License, https://github.com/IBM/python-sdk-core/blob/main/LICENSE
|
|
12
|
-
Keywords: ibm,cloud,ibm cloud services
|
|
13
|
-
Classifier: Programming Language :: Python
|
|
14
|
-
Classifier: Programming Language :: Python :: 3
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
17
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
18
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
20
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
21
|
-
Classifier: Environment :: Console
|
|
22
|
-
Classifier: Intended Audience :: Developers
|
|
23
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
24
|
-
Classifier: Operating System :: OS Independent
|
|
25
|
-
Classifier: Topic :: Software Development :: Libraries
|
|
26
|
-
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
27
|
-
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
|
|
28
|
-
Requires-Python: >=3.8
|
|
29
|
-
Description-Content-Type: text/markdown
|
|
30
|
-
License-File: LICENSE
|
|
31
|
-
Requires-Dist: requests <3.0.0,>=2.31.0
|
|
32
|
-
Requires-Dist: urllib3 <3.0.0,>=2.1.0
|
|
33
|
-
Requires-Dist: python-dateutil <3.0.0,>=2.8.2
|
|
34
|
-
Requires-Dist: PyJWT <3.0.0,>=2.8.0
|
|
35
|
-
Provides-Extra: dev
|
|
36
|
-
Requires-Dist: coverage <8.0.0,>=7.3.2 ; extra == 'dev'
|
|
37
|
-
Requires-Dist: pylint <4.0.0,>=3.0.0 ; extra == 'dev'
|
|
38
|
-
Requires-Dist: pytest <8.0.0,>=7.4.2 ; extra == 'dev'
|
|
39
|
-
Requires-Dist: pytest-cov <5.0.0,>=4.1.0 ; extra == 'dev'
|
|
40
|
-
Requires-Dist: responses <1.0.0,>=0.23.3 ; extra == 'dev'
|
|
41
|
-
Requires-Dist: black <25.0.0,>=24.0.0 ; extra == 'dev'
|
|
42
|
-
Provides-Extra: publish
|
|
43
|
-
Requires-Dist: build ; extra == 'publish'
|
|
44
|
-
Requires-Dist: twine ; extra == 'publish'
|
|
45
|
-
|
|
46
|
-
[](https://app.travis-ci.com/IBM/python-sdk-core)
|
|
47
|
-
[](https://pypi.org/project/ibm-cloud-sdk-core/)
|
|
48
|
-
[](https://pypi.python.org/pypi/ibm-cloud-sdk-core)
|
|
49
|
-
[](https://cla-assistant.io/ibm/python-sdk-core)
|
|
50
|
-
[](https://github.com/semantic-release/semantic-release)
|
|
51
|
-
|
|
52
|
-
# IBM Python SDK Core Version 3.20.6
|
|
53
|
-
This project contains core functionality required by Python code generated by the IBM Cloud OpenAPI SDK Generator
|
|
54
|
-
(openapi-sdkgen).
|
|
55
|
-
|
|
56
|
-
# Python Version
|
|
57
|
-
The current minimum Python version supported is 3.8.
|
|
58
|
-
|
|
59
|
-
## Installation
|
|
60
|
-
|
|
61
|
-
To install, use `pip`:
|
|
62
|
-
|
|
63
|
-
```bash
|
|
64
|
-
python -m pip install --upgrade ibm-cloud-sdk-core
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
## Authentication
|
|
68
|
-
The python-sdk-core project supports the following types of authentication:
|
|
69
|
-
- Basic Authentication
|
|
70
|
-
- Bearer Token Authentication
|
|
71
|
-
- Identity and Access Management (IAM) Authentication
|
|
72
|
-
- Container Authentication
|
|
73
|
-
- VPC Instance Authentication
|
|
74
|
-
- Cloud Pak for Data Authentication
|
|
75
|
-
- No Authentication (for testing)
|
|
76
|
-
|
|
77
|
-
For more information about the various authentication types and how to use them with your services, click [here](Authentication.md).
|
|
78
|
-
|
|
79
|
-
## Issues
|
|
80
|
-
|
|
81
|
-
If you encounter an issue with this project, you are welcome to submit a [bug report](https://github.com/IBM/python-sdk-core/issues).
|
|
82
|
-
Before opening a new issue, please search for similar issues. It's possible that someone has already reported it.
|
|
83
|
-
|
|
84
|
-
## Logging
|
|
85
|
-
|
|
86
|
-
### Enable logging
|
|
87
|
-
|
|
88
|
-
```python
|
|
89
|
-
import logging
|
|
90
|
-
logging.basicConfig(level=logging.DEBUG)
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
This would show output of the form:
|
|
94
|
-
```
|
|
95
|
-
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): iam.cloud.ibm.com:443
|
|
96
|
-
DEBUG:urllib3.connectionpool:https://iam.cloud.ibm.com:443 "POST /identity/token HTTP/1.1" 200 1809
|
|
97
|
-
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): gateway.watsonplatform.net:443
|
|
98
|
-
DEBUG:urllib3.connectionpool:https://gateway.watsonplatform.net:443 "POST /assistant/api/v1/workspaces?version=2018-07-10 HTTP/1.1" 201 None
|
|
99
|
-
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): gateway.watsonplatform.net:443
|
|
100
|
-
DEBUG:urllib3.connectionpool:https://gateway.watsonplatform.net:443 "GET /assistant/api/v1/workspaces/883a2a44-eb5f-4b1a-96b0-32a90b475ea8?version=2018-07-10&export=true HTTP/1.1" 200 None
|
|
101
|
-
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): gateway.watsonplatform.net:443
|
|
102
|
-
DEBUG:urllib3.connectionpool:https://gateway.watsonplatform.net:443 "DELETE /assistant/api/v1/workspaces/883a2a44-eb5f-4b1a-96b0-32a90b475ea8?version=2018-07-10 HTTP/1.1" 200 28
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
### Low level request and response dump
|
|
106
|
-
To get low level information of the requests/ responses:
|
|
107
|
-
|
|
108
|
-
```python
|
|
109
|
-
from http.client import HTTPConnection
|
|
110
|
-
HTTPConnection.debuglevel = 1
|
|
111
|
-
```
|
|
112
|
-
|
|
113
|
-
## Open source @ IBM
|
|
114
|
-
|
|
115
|
-
Find more open source projects on the [IBM Github Page](http://github.com/IBM)
|
|
116
|
-
|
|
117
|
-
## License
|
|
118
|
-
|
|
119
|
-
This library is licensed under Apache 2.0. Full license text is
|
|
120
|
-
available in [LICENSE](LICENSE).
|
|
121
|
-
|
|
122
|
-
## Contributing
|
|
123
|
-
|
|
124
|
-
See [CONTRIBUTING.md](CONTRIBUTING.md).
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
ibm_cloud_sdk_core/__init__.py,sha256=Ef7P3r-KmVwoYQV9bP0zvaDSlgJtjaTcDYQXmVvm0Zs,2853
|
|
2
|
-
ibm_cloud_sdk_core/api_exception.py,sha256=YNd7Dg_yiwcHk-AA-suNlivgyrA9A32Do1qtYeKzuWc,3654
|
|
3
|
-
ibm_cloud_sdk_core/base_service.py,sha256=GmvE4yCGHP1LXLsOnj1Q_GoizIsLrHU2YJPShZNbMRM,21056
|
|
4
|
-
ibm_cloud_sdk_core/detailed_response.py,sha256=agLMQ-Mh3bU_lLnSnSO1SwjuNBPQj8plO8ew2xXWL6I,3101
|
|
5
|
-
ibm_cloud_sdk_core/get_authenticator.py,sha256=GcKk8LI1xX1AC0S5x3SQxoaQJne4K0ae_KPf8bNgi50,4577
|
|
6
|
-
ibm_cloud_sdk_core/http_adapter.py,sha256=nRUvt7hbSC8Vyhqe_oA5k_NKoRMM-S4VCSAZVQ-AHQU,1075
|
|
7
|
-
ibm_cloud_sdk_core/private_helpers.py,sha256=5ei9gNwuN-inNJ2WqMXcXEPfLM1NALOLi4ucLMcYohY,1181
|
|
8
|
-
ibm_cloud_sdk_core/utils.py,sha256=caUFQWS06nzVW9ooU7ZG2pEJol-jjZ53JiLnLkQT_6k,15636
|
|
9
|
-
ibm_cloud_sdk_core/version.py,sha256=rHqvR40CBAKEsUqfGKCi0eEi3aO5lGioNtRWEfFuylY,23
|
|
10
|
-
ibm_cloud_sdk_core/authenticators/__init__.py,sha256=Ze_ArDqMWk1Xr311dXpHTtJUJYN2u8jCphoGTLBow9M,2133
|
|
11
|
-
ibm_cloud_sdk_core/authenticators/authenticator.py,sha256=dyTQDEAhlcN4y-wybTgMycSO5dC2pLntx3KCJTJGHdQ,1979
|
|
12
|
-
ibm_cloud_sdk_core/authenticators/basic_authenticator.py,sha256=moHfqmI0Lekgsrl0kjLvhyUbcMhh7tPPZArKn9OW_gQ,3129
|
|
13
|
-
ibm_cloud_sdk_core/authenticators/bearer_token_authenticator.py,sha256=KtoN4lgEIIbRiWLJHftPjK_CLQj_sx5lmrc2xm1E7mk,2623
|
|
14
|
-
ibm_cloud_sdk_core/authenticators/container_authenticator.py,sha256=GKYHTflLiKhm9xF5KZAcjYXPN3yE2PztdEr2bOZUwKE,7042
|
|
15
|
-
ibm_cloud_sdk_core/authenticators/cp4d_authenticator.py,sha256=9xaoEbqQqFVO1DdYDPMTMyIlrAAS8TrTSKxqOh4hHfI,6752
|
|
16
|
-
ibm_cloud_sdk_core/authenticators/iam_authenticator.py,sha256=ozrFBdVah1y8gcLL68fmReXCFEAltOGLCIuA6PuWLSY,4597
|
|
17
|
-
ibm_cloud_sdk_core/authenticators/iam_request_based_authenticator.py,sha256=JUUZF_UgWQmA9U6WxsdSHzuL3R6fxEDdC0VgHHt1Ygk,4515
|
|
18
|
-
ibm_cloud_sdk_core/authenticators/mcsp_authenticator.py,sha256=F6b4s7QXkqWP_5ls21jZPquxIz7HfFm7MTotVtVY3fA,5179
|
|
19
|
-
ibm_cloud_sdk_core/authenticators/no_auth_authenticator.py,sha256=dzuU6IJC19SocVHy7Fyln6xrfGvlqnXGeUNR9llspYo,979
|
|
20
|
-
ibm_cloud_sdk_core/authenticators/vpc_instance_authenticator.py,sha256=xdWHjGWFoSzf0bB0fnnT9fTs-N708cnUxRJ2I-kUQME,5243
|
|
21
|
-
ibm_cloud_sdk_core/token_managers/__init__.py,sha256=NEiims6qB8doxq6wtlTBYCIdwf2wRiMTrV0bgfv7WAg,606
|
|
22
|
-
ibm_cloud_sdk_core/token_managers/container_token_manager.py,sha256=jkOJoy9SutIvYrwoQfm9OQ4lfn0lI4jJNfcIFiAqh9M,9505
|
|
23
|
-
ibm_cloud_sdk_core/token_managers/cp4d_token_manager.py,sha256=EeE7EZtwAIVYCcnlTdbWU1U77PFbmZLgHL9LuCDJy_Q,4948
|
|
24
|
-
ibm_cloud_sdk_core/token_managers/iam_request_based_token_manager.py,sha256=KOz5aXjHfYWCQWqSpvf7vNLEzZq0ZKLAHVtHzcnQKfY,8314
|
|
25
|
-
ibm_cloud_sdk_core/token_managers/iam_token_manager.py,sha256=bG94h0Io6XaneLUcSuJzLlKSpFLdKH49TieRNAY7fvA,4358
|
|
26
|
-
ibm_cloud_sdk_core/token_managers/jwt_token_manager.py,sha256=FDBdvirmUcJu5vIb5pdhqoQeFS6j0GBSDsF0HtLjg48,3785
|
|
27
|
-
ibm_cloud_sdk_core/token_managers/mcsp_token_manager.py,sha256=qo2slOLUfxZ296iO6flQEbJZtYKTD9XXhuHKCvBesJM,3992
|
|
28
|
-
ibm_cloud_sdk_core/token_managers/token_manager.py,sha256=ve83zlER6TiflGha6qo_DXyku6b2xoeMT4PBpENBeco,7715
|
|
29
|
-
ibm_cloud_sdk_core/token_managers/vpc_instance_token_manager.py,sha256=hZP-0H9YPoB6R4mTJZ0zZBxMCJhMUSrvVfzVZXVdti8,6998
|
|
30
|
-
ibm_cloud_sdk_core-3.20.6.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
31
|
-
ibm_cloud_sdk_core-3.20.6.dist-info/METADATA,sha256=tK0mVDJDcPS37D1ILTH-qH5kSdRDqh7ZqTLwDyfGFH4,5509
|
|
32
|
-
ibm_cloud_sdk_core-3.20.6.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
|
|
33
|
-
ibm_cloud_sdk_core-3.20.6.dist-info/top_level.txt,sha256=otLtvxe-8ugPRmPqeSnbaOjnAl0qjDRZ1HSkC3aeLpI,19
|
|
34
|
-
ibm_cloud_sdk_core-3.20.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|