jagomart
digital resources
picture1_Python Pdf 186497 | Adaptive Server Enterprise Programmers Guide For Python En


 146x       Filetype PDF       File size 0.57 MB       Source: help.sap.com


File: Python Pdf 186497 | Adaptive Server Enterprise Programmers Guide For Python En
public sdk for sap adaptive server enterprise 16 0 sp03 pl07 document version 1 0 2019 06 06 programmers guide for python ed v er s e s r all ...

icon picture PDF Filetype PDF | Posted on 02 Feb 2023 | 2 years ago
Partial capture of text on file.
      PUBLIC
      SDK for SAP Adaptive Server Enterprise 16.0 SP03 PL07
      Document Version: 1.0 – 2019-06-06
      Programmers Guide for Python
    ed.
    v
    er
    s
    e
    s r
    . All right
    y
    an
    omp
     c
    e
    affiliat
    AP 
    AP SE or an S
    9 S
    01                                                                              THE BEST RUN  
     2
    ©
                Content
                1      SAP Adaptive Server Enterprise Extension Module for Python..........................3
                1.1    Required Components.........................................................3
                1.2    Version Requirements..........................................................3
                1.3    Extension Module for Python Installation Types........................................4
                1.4    Extension Module for Python Configuration Overview...................................4
                          Python Module Search Path...................................................4
                          Target Server Name and Address...............................................5
                          Security and Directory Services................................................5
                          Runtime Configuration.......................................................6
                1.5    Developing Python Applications...................................................6
                          Thread Safety.............................................................6
                          Parameter Style............................................................7
                          Loading the Extension Module for Python..........................................7
                          Establish and Close a Connection to SAP Adaptive Server Enterprise using DSN-style 
                          Connection String Properties..................................................7
                          Bulk Copy Support.........................................................11
                          Accessing and Updating Data Using Python.......................................11
                          Passing Input and Output Parameters to Stored Procedures............................12
                          Compute Rows Processing...................................................13
                          Parameter Support for Dynamic Statements and Stored Procedures.....................13
                1.6    Extension Module for Python API Reference..........................................14
                          Module Interface Methods...................................................14
                          Module Interface Constants..................................................15
                          Connection Object Methods..................................................15
                          Cursor Object Methods......................................................16
                          Warning and Error Messages..................................................17
                          BulkCursor Object Constructor................................................19
                2      Multiversion Concurrency Control...............................................21
                2.1    Connection Support in Multiversion Concurrency Control................................21
                2.2    Scripting Drivers Support in Multiversion Concurrency Control............................23
                3      Glossary..................................................................24
                                                                                                Programmers Guide for Python
                2     PUBLIC                                                                                 Content
                 1         SAP Adaptive Server Enterprise 
                           Extension Module for Python
                 The extension module for Python, sybpydb, provides an SAP specific Python interface that is used to execute 
                 queries against an SAP Adaptive Server Enterprise (ASE) database.
                 The extension module implements the Python Database API specification version 2.0 with extensions. For 
                 more information about the API specification, see http://www.python.org/dev/peps/pep-0249   .
                 Related Information
                 Required Components [page 3]
                 Version Requirements [page 3]
                 Extension Module for Python Installation Types [page 4]
                 Extension Module for Python Configuration Overview [page 4]
                 Developing Python Applications [page 6]
                 Extension Module for Python API Reference [page 14]
                 1.1       Required Components
                 Access to an SAP Adaptive Server Enterprise database using the Python programming language requires these 
                 components.
                  ● sybpydb – extension module for the Python scripting language.
                  ● Open Client SDK – provides application development tools that allow access to data source, information 
                     application or system service.
                 1.2       Version Requirements
                 SAP Adaptive Server Enterprise Extension Module for Python has these version requirements.
                  ● Adaptive Server Enterprise – version 15.7 or later
                  ● Python installation – version 2.6, 2.7, or 3.1 built-in threaded mod
                  ● Open Client SDK – version 15.7 or later
                 Programmers Guide for Python
                 SAP Adaptive Server Enterprise Extension Module for Python                                  PUBLIC      3
                   Note
                  For information about platform support, see the Software Developers Kit and Open Server Installation Guide 
                  for your platform.
                1.3      Extension Module for Python Installation Types
                The extension module for Python is a component you can install through the SAP Installer.
                The extension module for Python is an optional installation component when you choose Custom as the 
                installation type. If the installation type you choose is Typical or Full, the extension module is installed by 
                default. For complete installation and configuration instructions, see the Software Developers Kit and Open 
                Server Installation Guide for your platform.
                1.4      Extension Module for Python Configuration Overview
                Complete basic configuration tasks for a Python application to make a connection and execute commands.
                ● Python module search path
                ● The name and address of the target server
                ● Security and directory services
                ● Runtime configuration through the ocs.cfg file
                Related Information
                Python Module Search Path [page 4]
                Target Server Name and Address [page 5]
                Security and Directory Services [page 5]
                Runtime Configuration [page 6]
                1.4.1  Python Module Search Path
                Python searches for an imported module in the list of directories given by the Python variable sys.path.
                This variable is initialized from the directory containing the application, and in the list of directories specified by 
                the environment variable , which uses the same syntax as the shell variable , that is, a 
                list of directory names. If you have not set , or if the file is not found, the search continues in an 
                installation-dependent default path.
                                                                                              Programmers Guide for Python
                4     PUBLIC                                              SAP Adaptive Server Enterprise Extension Module for Python
The words contained in this file might help you see if this file matches what you are looking for:

...Public sdk for sap adaptive server enterprise sp pl document version programmers guide python ed v er s e r all right y an omp c affiliat ap se or the best run content extension module required components requirements installation types configuration overview search path target name and address security directory services runtime developing applications thread safety parameter style loading establish close a connection to using dsn string properties bulk copy support accessing updating data passing input output parameters stored procedures compute rows processing dynamic statements api reference interface methods constants object cursor warning error messages bulkcursor constructor multiversion concurrency control in scripting drivers glossary sybpydb provides specific that is used execute queries against ase database implements specification with extensions more information about see http www org dev peps pep related access programming language requires these open client application d...

no reviews yet
Please Login to review.