Oracle Cloud Infrastructure Python SDK
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
=====
About
=====
This is the Python SDK for Oracle Cloud Infrastructure. Supported Python versions are mentioned `here`__.
__ https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/pythonsdk.htm#pythonsdk_topic-supported_python_versions
.. code-block:: pycon
>>> import oci
# Set up config
>>> config = oci.config.from_file(
... "~/.oci/config",
... "DEFAULT")
# Create a service client
>>> identity = oci.identity.IdentityClient(config)
# Get the current user
>>> user = identity.get_user(config["user"]).data
>>> print(user)
{
"compartment_id": "ocid1.tenancy.oc1...",
"description": "Test user",
"id": "ocid1.user.oc1...",
"inactive_status": null,
"lifecycle_state": "ACTIVE",
"name": "test-user@corp.com",
"time_created": "2016-08-30T23:46:44.680000+00:00"
}
The project is open source and maintained by Oracle Corp. The home page for the project is `here`__.
__ https://docs.oracle.com/en-us/iaas/tools/python/latest/index.html
============
Installation
============
It is highly recommended that a Python virtual environment be used when installing oci.
Please consult the `Installing packages using pip and virtualenv`__ guide from the Python Software Foundation for more information about virtual environments.
__ https://packaging.python.org/guides/installing-using-pip-and-virtualenv/
See `the installation guide`__ for installation troubleshooting and alternative install methods.
__ https://docs.oracle.com/en-us/iaas/tools/python/latest/installation.html
Once your virtual environment is active, oci can be installed using pip.
::
pip install oci
============
Development
============
See the `development readme`__ for information on how to make changes, run tests and build the documentation and wheel for the Python SDK.
__ https://github.com/oracle/oci-python-sdk/blob/master/README-development.rst
========
Examples
========
Examples can be found `here`__.
__ https://github.com/oracle/oci-python-sdk/blob/master/examples/
=============
Documentation
=============
Full documentation, including prerequisites and installation and configuration instructions, can be found `here`__.
API reference can be found `here`__.
__ https://docs.oracle.com/en-us/iaas/tools/python/latest/index.html
__ https://docs.oracle.com/en-us/iaas/tools/python/latest/api/landing.html
A downloadable version of the documentation is include with in the release zip, which can be found `here`__.
__ https://github.com/oracle/oci-python-sdk/releases
====
Help
====
See the “Questions or Feedback” section `here`__.
__ https://docs.oracle.com/en-us/iaas/tools/python/latest/feedback.html
=======
Changes
=======
See `CHANGELOG`__.
__ https://github.com/oracle/oci-python-sdk/blob/master/CHANGELOG.rst
============
Contributing
============
oci-python-sdk is an open source project. See `CONTRIBUTING`__ for details.
Oracle gratefully acknowledges the contributions to oci-python-sdk that have been made by the community.
__ https://github.com/oracle/oci-python-sdk/blob/master/CONTRIBUTING.rst
============
Known Issues
============
You can find information on any known issues with the SDK `here`__ and under the “Issues” tab of this
project's `GitHub repository`__.
__ https://docs.cloud.oracle.com/Content/knownissues.htm
__ https://github.com/oracle/oci-python-sdk
=======
Survey
=======
Are you a Developer using the OCI SDK? If so, please fill out our survey to help us make the OCI SDK better for you.
Click `here`__ for the survey page.
__ https://oracle.questionpro.com/t/APeMlZka26?custom3=pypi
=======
License
=======
Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
See `LICENSE`__ for more details.
__ https://github.com/oracle/oci-python-sdk/blob/master/LICENSE.txt
Raw data
{
"_id": null,
"home_page": "https://docs.oracle.com/en-us/iaas/tools/python/latest/index.html",
"name": "oci",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "Oracle",
"author_email": "joe.levy@oracle.com",
"download_url": "https://files.pythonhosted.org/packages/32/50/9c85664e6dcecad685a016da93ffe04ae75219afebbfb82a15b16204460d/oci-2.141.0.tar.gz",
"platform": null,
"description": "Oracle Cloud Infrastructure Python SDK\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n=====\nAbout\n=====\n\nThis is the Python SDK for Oracle Cloud Infrastructure. Supported Python versions are mentioned `here`__.\n\n__ https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/pythonsdk.htm#pythonsdk_topic-supported_python_versions\n\n.. code-block:: pycon\n\n >>> import oci\n # Set up config\n >>> config = oci.config.from_file(\n ... \"~/.oci/config\",\n ... \"DEFAULT\")\n # Create a service client\n >>> identity = oci.identity.IdentityClient(config)\n # Get the current user\n >>> user = identity.get_user(config[\"user\"]).data\n >>> print(user)\n {\n \"compartment_id\": \"ocid1.tenancy.oc1...\",\n \"description\": \"Test user\",\n \"id\": \"ocid1.user.oc1...\",\n \"inactive_status\": null,\n \"lifecycle_state\": \"ACTIVE\",\n \"name\": \"test-user@corp.com\",\n \"time_created\": \"2016-08-30T23:46:44.680000+00:00\"\n }\n\nThe project is open source and maintained by Oracle Corp. The home page for the project is `here`__.\n\n__ https://docs.oracle.com/en-us/iaas/tools/python/latest/index.html\n\n============\nInstallation\n============\n\nIt is highly recommended that a Python virtual environment be used when installing oci.\n\nPlease consult the `Installing packages using pip and virtualenv`__ guide from the Python Software Foundation for more information about virtual environments.\n\n__ https://packaging.python.org/guides/installing-using-pip-and-virtualenv/\n\nSee `the installation guide`__ for installation troubleshooting and alternative install methods.\n\n__ https://docs.oracle.com/en-us/iaas/tools/python/latest/installation.html\n\nOnce your virtual environment is active, oci can be installed using pip.\n\n::\n\n pip install oci\n\n\n============\nDevelopment\n============\n\nSee the `development readme`__ for information on how to make changes, run tests and build the documentation and wheel for the Python SDK.\n\n__ https://github.com/oracle/oci-python-sdk/blob/master/README-development.rst\n\n========\nExamples\n========\n\nExamples can be found `here`__.\n\n__ https://github.com/oracle/oci-python-sdk/blob/master/examples/\n\n=============\nDocumentation\n=============\n\nFull documentation, including prerequisites and installation and configuration instructions, can be found `here`__.\n\nAPI reference can be found `here`__.\n\n__ https://docs.oracle.com/en-us/iaas/tools/python/latest/index.html\n__ https://docs.oracle.com/en-us/iaas/tools/python/latest/api/landing.html\n\nA downloadable version of the documentation is include with in the release zip, which can be found `here`__.\n\n__ https://github.com/oracle/oci-python-sdk/releases\n\n====\nHelp\n====\n\nSee the \u201cQuestions or Feedback\u201d section `here`__.\n\n__ https://docs.oracle.com/en-us/iaas/tools/python/latest/feedback.html\n\n=======\nChanges\n=======\n\nSee `CHANGELOG`__.\n\n__ https://github.com/oracle/oci-python-sdk/blob/master/CHANGELOG.rst\n\n============\nContributing\n============\n\noci-python-sdk is an open source project. See `CONTRIBUTING`__ for details.\n\nOracle gratefully acknowledges the contributions to oci-python-sdk that have been made by the community.\n\n__ https://github.com/oracle/oci-python-sdk/blob/master/CONTRIBUTING.rst\n\n============\nKnown Issues\n============\n\nYou can find information on any known issues with the SDK `here`__ and under the \u201cIssues\u201d tab of this\nproject's `GitHub repository`__.\n\n__ https://docs.cloud.oracle.com/Content/knownissues.htm\n__ https://github.com/oracle/oci-python-sdk\n\n=======\nSurvey\n=======\n\nAre you a Developer using the OCI SDK? If so, please fill out our survey to help us make the OCI SDK better for you.\nClick `here`__ for the survey page.\n\n__ https://oracle.questionpro.com/t/APeMlZka26?custom3=pypi\n\n=======\nLicense\n=======\n\nCopyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.\nThis software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.\n\nSee `LICENSE`__ for more details.\n\n__ https://github.com/oracle/oci-python-sdk/blob/master/LICENSE.txt\n\n\n",
"bugtrack_url": null,
"license": "Universal Permissive License 1.0 or Apache License 2.0",
"summary": "Oracle Cloud Infrastructure Python SDK",
"version": "2.141.0",
"project_urls": {
"Homepage": "https://docs.oracle.com/en-us/iaas/tools/python/latest/index.html"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "41591ed0edf10f99845829640f3e8e50ef2e4539c51a748d29f3ee82df231ca1",
"md5": "c9f664b26ad74e68a6073c44d203fc84",
"sha256": "6a6aea6cd9b401736f894dc246f190a98626b9626a80a1ed912b52cf053e4454"
},
"downloads": -1,
"filename": "oci-2.141.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c9f664b26ad74e68a6073c44d203fc84",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 28608142,
"upload_time": "2024-12-17T04:59:34",
"upload_time_iso_8601": "2024-12-17T04:59:34.264357Z",
"url": "https://files.pythonhosted.org/packages/41/59/1ed0edf10f99845829640f3e8e50ef2e4539c51a748d29f3ee82df231ca1/oci-2.141.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "32509c85664e6dcecad685a016da93ffe04ae75219afebbfb82a15b16204460d",
"md5": "91f3dfb7be14b863c07d96cfa18d4c46",
"sha256": "41fbce1cbabd8810c8267f8fa2a1e591285414b15e11cac2b055db4665042615"
},
"downloads": -1,
"filename": "oci-2.141.0.tar.gz",
"has_sig": false,
"md5_digest": "91f3dfb7be14b863c07d96cfa18d4c46",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 14019629,
"upload_time": "2024-12-17T04:59:43",
"upload_time_iso_8601": "2024-12-17T04:59:43.200052Z",
"url": "https://files.pythonhosted.org/packages/32/50/9c85664e6dcecad685a016da93ffe04ae75219afebbfb82a15b16204460d/oci-2.141.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-17 04:59:43",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "oci"
}