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/d9/4b/4edda6d36db872feae47c428164d647cd21df62b5f82a608a345fde74b18/oci-2.139.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.139.0",
"project_urls": {
"Homepage": "https://docs.oracle.com/en-us/iaas/tools/python/latest/index.html"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "51efa9fda45d9c87326e45e7fc33ae1c133bf8f630f46b74d753ce0a4b4dca4f",
"md5": "e6f1ebf18b2518bb9fb35941c5a5e62b",
"sha256": "4ac4c271d9c28f25ed8251d526a6baf1194cbec810141155c7003613aea8320e"
},
"downloads": -1,
"filename": "oci-2.139.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e6f1ebf18b2518bb9fb35941c5a5e62b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 28417591,
"upload_time": "2024-11-19T04:05:26",
"upload_time_iso_8601": "2024-11-19T04:05:26.888716Z",
"url": "https://files.pythonhosted.org/packages/51/ef/a9fda45d9c87326e45e7fc33ae1c133bf8f630f46b74d753ce0a4b4dca4f/oci-2.139.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d94b4edda6d36db872feae47c428164d647cd21df62b5f82a608a345fde74b18",
"md5": "7a455a436ecffb184a96f8fe06d43418",
"sha256": "72bb03e13e169b0bc3b19cd4e9d07b00d53acec92baa969d161235a38026f48e"
},
"downloads": -1,
"filename": "oci-2.139.0.tar.gz",
"has_sig": false,
"md5_digest": "7a455a436ecffb184a96f8fe06d43418",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 13933939,
"upload_time": "2024-11-19T04:05:34",
"upload_time_iso_8601": "2024-11-19T04:05:34.838195Z",
"url": "https://files.pythonhosted.org/packages/d9/4b/4edda6d36db872feae47c428164d647cd21df62b5f82a608a345fde74b18/oci-2.139.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-19 04:05:34",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "oci"
}