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/da/08/a07583cdb68cbbb0dd1d36424c0a5cc7ea029f79aec94a076fa3e6bc608d/oci-2.143.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.143.0",
"project_urls": {
"Homepage": "https://docs.oracle.com/en-us/iaas/tools/python/latest/index.html"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ea5a3609f4e69740f84c43899a93c222d1b3faeaed7fe8ed0d351f52c52faaf0",
"md5": "805064bef4d543368661dd12c81fb3e9",
"sha256": "29cf5aeb898954e6ae3a7381e1b0ed1037a931f31a90e573d61f218cde8590fc"
},
"downloads": -1,
"filename": "oci-2.143.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "805064bef4d543368661dd12c81fb3e9",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 28732332,
"upload_time": "2025-01-21T07:00:11",
"upload_time_iso_8601": "2025-01-21T07:00:11.715341Z",
"url": "https://files.pythonhosted.org/packages/ea/5a/3609f4e69740f84c43899a93c222d1b3faeaed7fe8ed0d351f52c52faaf0/oci-2.143.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "da08a07583cdb68cbbb0dd1d36424c0a5cc7ea029f79aec94a076fa3e6bc608d",
"md5": "8d46104003996f4755c880994f92a187",
"sha256": "0dd4165a681420c09aeecb65ae6e0540bda4b111fd5afcb04596cf4693278991"
},
"downloads": -1,
"filename": "oci-2.143.0.tar.gz",
"has_sig": false,
"md5_digest": "8d46104003996f4755c880994f92a187",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 14091389,
"upload_time": "2025-01-21T07:00:24",
"upload_time_iso_8601": "2025-01-21T07:00:24.854143Z",
"url": "https://files.pythonhosted.org/packages/da/08/a07583cdb68cbbb0dd1d36424c0a5cc7ea029f79aec94a076fa3e6bc608d/oci-2.143.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-21 07:00:24",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "oci"
}