12 Embedded Python Execution
Embedded Python Execution is a feature of Oracle Machine Learning for Python that allows you to invoke user-defined Python functions directly in an Oracle database instance.
Embedded Python Execution is available on:
-
Oracle Autonomous Database, where pre-installed Python packages can be used, via Python, REST and SQL APIs.
-
Oracle Database on premises, ExaCS, ExaC@C, DBCS, and Oracle Database deployed in a compute instance, where the user can custom install third-party packages to use with EPE, via Python and SQL APIs.
Topics:
Embedded Python Execution is described in the following topics:
- About Embedded Python Execution
With Embedded Python Execution, you can invoke user-defined Python functions in Python engines spawned and managed by the Oracle database instance. - Parallelism with OML4Py Embedded Python Execution
OML4Py embedded Python execution allows users to invoke user-defined functions from Python, SQL, and REST interfaces using Python engines spawned and controlled by the Oracle Autonomous Database environment. - Datastores Supporting Embedded Python Execution
OML4Py includes the datastore views supporting Embedded Python Execution. You can use these datastore views with the Embedded Python Execution APIs to work with the datastores and their contents. - Script repository for user-defined Python functions supporting EPE
OML4Py includes the script repository views supporting Embedded Python Execution. You can use these script repository views with the Embedded Python Execution APIs to work with the script repository and their contents. - Python API for Embedded Python Execution
You can invoke user-defined Python functions directly in an Oracle database instance by using Embedded Python Execution functions. - SQL API for Embedded Python Execution with On-premises Database
SQL API for Embedded Python Execution with On-premises Database has SQL interfaces for Embedded Python Execution and for datastore and script repository management. - SQL API for Embedded Python Execution with Autonomous Database
The SQL API for Embedded Python Execution with Autonomous Database provides SQL interfaces for setting authorization tokens, managing access control list (ACL) privileges, executing Python scripts, and synchronously and asynchronously running jobs.