[![Build Status](https://app.travis-ci.com/IBM/python-sdk-core.svg?branch=main)](https://app.travis-ci.com/IBM/python-sdk-core)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/ibm-cloud-sdk-core)](https://pypi.org/project/ibm-cloud-sdk-core/)
[![Latest Stable Version](https://img.shields.io/pypi/v/ibm-cloud-sdk-core.svg)](https://pypi.python.org/pypi/ibm-cloud-sdk-core)
[![CLA assistant](https://cla-assistant.io/readme/badge/ibm/python-sdk-core)](https://cla-assistant.io/ibm/python-sdk-core)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
# IBM Python SDK Core Version 3.20.0
This project contains core functionality required by Python code generated by the IBM Cloud OpenAPI SDK Generator
(openapi-sdkgen).
# Python Version
The current minimum Python version supported is 3.8.
## Installation
To install, use `pip`:
```bash
python -m pip install --upgrade ibm-cloud-sdk-core
```
## Authentication
The python-sdk-core project supports the following types of authentication:
- Basic Authentication
- Bearer Token Authentication
- Identity and Access Management (IAM) Authentication
- Container Authentication
- VPC Instance Authentication
- Cloud Pak for Data Authentication
- No Authentication (for testing)
For more information about the various authentication types and how to use them with your services, click [here](Authentication.md).
## Issues
If you encounter an issue with this project, you are welcome to submit a [bug report](https://github.com/IBM/python-sdk-core/issues).
Before opening a new issue, please search for similar issues. It's possible that someone has already reported it.
## Logging
### Enable logging
```python
import logging
logging.basicConfig(level=logging.DEBUG)
```
This would show output of the form:
```
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): iam.cloud.ibm.com:443
DEBUG:urllib3.connectionpool:https://iam.cloud.ibm.com:443 "POST /identity/token HTTP/1.1" 200 1809
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): gateway.watsonplatform.net:443
DEBUG:urllib3.connectionpool:https://gateway.watsonplatform.net:443 "POST /assistant/api/v1/workspaces?version=2018-07-10 HTTP/1.1" 201 None
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): gateway.watsonplatform.net:443
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
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): gateway.watsonplatform.net:443
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
```
### Low level request and response dump
To get low level information of the requests/ responses:
```python
from http.client import HTTPConnection
HTTPConnection.debuglevel = 1
```
## Open source @ IBM
Find more open source projects on the [IBM Github Page](http://github.com/IBM)
## License
This library is licensed under Apache 2.0. Full license text is
available in [LICENSE](LICENSE).
## Contributing
See [CONTRIBUTING.md](CONTRIBUTING.md).
Raw data
{
"_id": null,
"home_page": "https://github.com/IBM/python-sdk-core",
"name": "ibm-cloud-sdk-core",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "ibm, cloud, ibm cloud services",
"author": "IBM",
"author_email": "devxsdk@us.ibm.com",
"download_url": "https://files.pythonhosted.org/packages/51/c5/ea2b54d4d2d669bdcd31f3a033b665e3165f9a5815672c643934f0553797/ibm-cloud-sdk-core-3.20.0.tar.gz",
"platform": null,
"description": "[![Build Status](https://app.travis-ci.com/IBM/python-sdk-core.svg?branch=main)](https://app.travis-ci.com/IBM/python-sdk-core)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/ibm-cloud-sdk-core)](https://pypi.org/project/ibm-cloud-sdk-core/)\n[![Latest Stable Version](https://img.shields.io/pypi/v/ibm-cloud-sdk-core.svg)](https://pypi.python.org/pypi/ibm-cloud-sdk-core)\n[![CLA assistant](https://cla-assistant.io/readme/badge/ibm/python-sdk-core)](https://cla-assistant.io/ibm/python-sdk-core)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n\n# IBM Python SDK Core Version 3.20.0\nThis project contains core functionality required by Python code generated by the IBM Cloud OpenAPI SDK Generator\n(openapi-sdkgen).\n\n# Python Version\nThe current minimum Python version supported is 3.8.\n\n## Installation\n\nTo install, use `pip`:\n\n```bash\npython -m pip install --upgrade ibm-cloud-sdk-core\n```\n\n## Authentication\nThe python-sdk-core project supports the following types of authentication:\n- Basic Authentication\n- Bearer Token Authentication\n- Identity and Access Management (IAM) Authentication\n- Container Authentication\n- VPC Instance Authentication\n- Cloud Pak for Data Authentication\n- No Authentication (for testing)\n\nFor more information about the various authentication types and how to use them with your services, click [here](Authentication.md).\n\n## Issues\n\nIf you encounter an issue with this project, you are welcome to submit a [bug report](https://github.com/IBM/python-sdk-core/issues).\nBefore opening a new issue, please search for similar issues. It's possible that someone has already reported it.\n\n## Logging\n\n### Enable logging\n\n```python\nimport logging\nlogging.basicConfig(level=logging.DEBUG)\n```\n\nThis would show output of the form:\n```\nDEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): iam.cloud.ibm.com:443\nDEBUG:urllib3.connectionpool:https://iam.cloud.ibm.com:443 \"POST /identity/token HTTP/1.1\" 200 1809\nDEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): gateway.watsonplatform.net:443\nDEBUG:urllib3.connectionpool:https://gateway.watsonplatform.net:443 \"POST /assistant/api/v1/workspaces?version=2018-07-10 HTTP/1.1\" 201 None\nDEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): gateway.watsonplatform.net:443\nDEBUG: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\nDEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): gateway.watsonplatform.net:443\nDEBUG: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\n```\n\n### Low level request and response dump\nTo get low level information of the requests/ responses:\n\n```python\nfrom http.client import HTTPConnection\nHTTPConnection.debuglevel = 1\n```\n\n## Open source @ IBM\n\nFind more open source projects on the [IBM Github Page](http://github.com/IBM)\n\n## License\n\nThis library is licensed under Apache 2.0. Full license text is\navailable in [LICENSE](LICENSE).\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md).\n\n\n",
"bugtrack_url": null,
"license": "Apache 2.0",
"summary": "Core library used by SDKs for IBM Cloud Services",
"version": "3.20.0",
"project_urls": {
"Homepage": "https://github.com/IBM/python-sdk-core"
},
"split_keywords": [
"ibm",
" cloud",
" ibm cloud services"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "51c5ea2b54d4d2d669bdcd31f3a033b665e3165f9a5815672c643934f0553797",
"md5": "e8b4e6f2edd234cb11f3698de0d0ab64",
"sha256": "0aa6d97043f589a9ef451a71e76eca0634138ef181ce54a6a0a6353dee4c5d10"
},
"downloads": -1,
"filename": "ibm-cloud-sdk-core-3.20.0.tar.gz",
"has_sig": false,
"md5_digest": "e8b4e6f2edd234cb11f3698de0d0ab64",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 62079,
"upload_time": "2024-04-17T19:50:25",
"upload_time_iso_8601": "2024-04-17T19:50:25.824415Z",
"url": "https://files.pythonhosted.org/packages/51/c5/ea2b54d4d2d669bdcd31f3a033b665e3165f9a5815672c643934f0553797/ibm-cloud-sdk-core-3.20.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-17 19:50:25",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "IBM",
"github_project": "python-sdk-core",
"travis_ci": true,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "requests",
"specs": [
[
"<",
"3.0.0"
],
[
">=",
"2.31.0"
]
]
},
{
"name": "urllib3",
"specs": [
[
"<",
"3.0.0"
],
[
">=",
"2.1.0"
]
]
},
{
"name": "python_dateutil",
"specs": [
[
"<",
"3.0.0"
],
[
">=",
"2.8.2"
]
]
},
{
"name": "PyJWT",
"specs": [
[
"<",
"3.0.0"
],
[
">=",
"2.8.0"
]
]
}
],
"lcname": "ibm-cloud-sdk-core"
}