<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Python ASE &amp; IQ drivers in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/python-ase-iq-drivers/qaa-p/11934161#M4484331</link>
    <description>&lt;P&gt;Hello  &lt;SPAN class="mention-scrubbed"&gt;ryan.hansen&lt;/SPAN&gt;, Python 3.1 is pretty old and deprecated. 3.4 is better but still out of date &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any chance to get a Python 3.7 compatible SAP SDK ?&lt;/P&gt;</description>
    <pubDate>Mon, 05 Aug 2019 07:38:20 GMT</pubDate>
    <dc:creator>pythondev</dc:creator>
    <dc:date>2019-08-05T07:38:20Z</dc:date>
    <item>
      <title>Python ASE &amp; IQ drivers</title>
      <link>https://community.sap.com/t5/technology-q-a/python-ase-iq-drivers/qaq-p/11934158</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
  &lt;P&gt;I would like to execute queries in Python 2 (and 3 if possible) to ASE and IQ Sybase servers.&lt;/P&gt;
  &lt;P&gt;What are the most performant implementations in Python 2/3 ?&lt;/P&gt;
  &lt;P&gt;Best regards,&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 15:52:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/python-ase-iq-drivers/qaq-p/11934158</guid>
      <dc:creator>pythondev</dc:creator>
      <dc:date>2019-03-18T15:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: Python ASE &amp; IQ drivers</title>
      <link>https://community.sap.com/t5/technology-q-a/python-ase-iq-drivers/qaa-p/11934159#M4484329</link>
      <description>&lt;P&gt;Hi Richard,&lt;/P&gt;&lt;P&gt;For ASE we don't have any information about performance about Python version.&lt;BR /&gt;Please check the product manual about &lt;A href="https://help.sap.com/viewer/a1576559612d4e39886fc0ad4e093074/16.0.3.6/en-US"&gt;Programmer's guide for Python&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Jongun&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2019 02:05:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/python-ase-iq-drivers/qaa-p/11934159#M4484329</guid>
      <dc:creator>jong-un_seo</dc:creator>
      <dc:date>2019-03-20T02:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Python ASE &amp; IQ drivers</title>
      <link>https://community.sap.com/t5/technology-q-a/python-ase-iq-drivers/qaa-p/11934160#M4484330</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yes, we support Python 2 and 3 for ASE.&lt;/P&gt;&lt;P&gt;$ pwd
&lt;BR /&gt;/sybase/ase/syb157sp140/OCS-15_0/python&lt;/P&gt;&lt;P&gt;$ ls
&lt;BR /&gt;python26_64r  python26ucs4_64r  python31_64r&lt;/P&gt;&lt;P&gt;Versions supported with these modules. Python 2.6.x and 3.1.x on 15.7.&lt;/P&gt;&lt;P&gt;16.0 Sp03 Pl06 includes:&lt;BR /&gt;python34_64r Python 3.4.x&lt;/P&gt;&lt;P&gt;You can use SDK 16.0 on ASE 15.7 as well.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Ryan&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2019 16:47:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/python-ase-iq-drivers/qaa-p/11934160#M4484330</guid>
      <dc:creator>ryan_hansen</dc:creator>
      <dc:date>2019-04-10T16:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: Python ASE &amp; IQ drivers</title>
      <link>https://community.sap.com/t5/technology-q-a/python-ase-iq-drivers/qaa-p/11934161#M4484331</link>
      <description>&lt;P&gt;Hello  &lt;SPAN class="mention-scrubbed"&gt;ryan.hansen&lt;/SPAN&gt;, Python 3.1 is pretty old and deprecated. 3.4 is better but still out of date &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any chance to get a Python 3.7 compatible SAP SDK ?&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2019 07:38:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/python-ase-iq-drivers/qaa-p/11934161#M4484331</guid>
      <dc:creator>pythondev</dc:creator>
      <dc:date>2019-08-05T07:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Python ASE &amp; IQ drivers</title>
      <link>https://community.sap.com/t5/technology-q-a/python-ase-iq-drivers/qaa-p/11934162#M4484332</link>
      <description>&lt;P&gt;ASE 16.0 SP03 PL07 just introduced support for Python 3.7, which is quite an improvement over 3.4.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 16:55:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/python-ase-iq-drivers/qaa-p/11934162#M4484332</guid>
      <dc:creator>joe_woodhouse</dc:creator>
      <dc:date>2019-08-13T16:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Python ASE &amp; IQ drivers</title>
      <link>https://community.sap.com/t5/technology-q-a/python-ase-iq-drivers/qaa-p/11934163#M4484333</link>
      <description>&lt;P&gt;Hi Joe,&lt;/P&gt;&lt;P&gt;We just finished a feature request of Python for ASE. We support Python 3.7 with ASE/SDK 16.0 SP02 PL09, will be out in the next month or so,  and 16.0 SP03 PL07, which dropped in June 2019.&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Dawn&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 18:28:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/python-ase-iq-drivers/qaa-p/11934163#M4484333</guid>
      <dc:creator>dawn_kim</dc:creator>
      <dc:date>2019-08-13T18:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Python ASE &amp; IQ drivers</title>
      <link>https://community.sap.com/t5/technology-q-a/python-ase-iq-drivers/qaa-p/11934164#M4484334</link>
      <description>&lt;P&gt;Hello  &lt;SPAN class="mention-scrubbed"&gt;joe.woodhouse&lt;/SPAN&gt;, where can I download CPython driver to execute queries ? I've read &lt;A href="https://help.sap.com/doc/4c40a79c93f4485ca2a01c5ba806c2f5/16.0.3.6/en-US/Adaptive_Server_Enterprise_Programmers_Guide_for_Python_en.pdf"&gt;https://help.sap.com/doc/4c40a79c93f4485ca2a01c5ba806c2f5/16.0.3.6/en-US/Adaptive_Server_Enterprise_Programmers_Guide_for_Python_en.pdf&lt;/A&gt; but it seems only Python 2 (released in 2012) is available on SourceForge.&lt;/P&gt;&lt;P&gt;I'm looking for a driver that will run on Python 3, GNU/Linux, Windows, IQ and ASE. Does that driver exist ? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2020 10:42:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/python-ase-iq-drivers/qaa-p/11934164#M4484334</guid>
      <dc:creator>pythondev</dc:creator>
      <dc:date>2020-02-03T10:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: Python ASE &amp; IQ drivers</title>
      <link>https://community.sap.com/t5/technology-q-a/python-ase-iq-drivers/qaa-p/11934165#M4484335</link>
      <description>&lt;P&gt;Also, I've tried using SQL Alchemy to execute queries seemsly on IQ and ASE but it works only for IQ:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;import sqlalchemy
from sqlalchemy.dialects import registry

registry.register('sqlalchemy_sqlany', 'sqlalchemy_sqlany.base', 'SQLAnyDialect')
engine = sqlalchemy.create_engine("sqlalchemy_sqlany://{}:{}@{}:{}".format(usr, pwd, host, port), echo=True)
engine.connect()
metadata = sqlalchemy.MetaData()
table = sqlalchemy.Table("MY_TABLE", metadata, autoload=True, autoload_with=engine)
result = sqlalchemy.select([table]).where(table.columns.MY_COLUMN == "MY_VALUE")&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 03 Feb 2020 10:43:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/python-ase-iq-drivers/qaa-p/11934165#M4484335</guid>
      <dc:creator>pythondev</dc:creator>
      <dc:date>2020-02-03T10:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Python ASE &amp; IQ drivers</title>
      <link>https://community.sap.com/t5/technology-q-a/python-ase-iq-drivers/qaa-p/11934166#M4484336</link>
      <description>&lt;P&gt;Hi Richard,&lt;/P&gt;&lt;P&gt;Here is the setup
using the SAP driver.&lt;/P&gt;&lt;P&gt;SDK 16.0 SP03 PL07:&lt;BR /&gt;$ source
$SYBASE/SYBASE.csh&lt;BR /&gt;$ setenv PYTHONPATH
$SYBASE/$SYBASE_OCS/python/python37_64r/lib&lt;BR /&gt;$ setenv PATH
/pse/hansenr/python37/bin:$PATH&lt;BR /&gt;&lt;BR /&gt;$ cat firstapp.py&lt;BR /&gt;import sybpydb&lt;BR /&gt;conn =
sybpydb.connect(user='DBA', password='sql')&lt;BR /&gt;cur = conn.cursor()&lt;BR /&gt;cur.execute("select
* from mytable")&lt;BR /&gt;while True:&lt;BR /&gt;     row = cur.fetchone()&lt;BR /&gt;     if (not row):&lt;BR /&gt;          break&lt;BR /&gt;     print("%s: %s" % (row[0],
row[1]))&lt;BR /&gt;cur.close()&lt;BR /&gt;conn.close()&lt;/P&gt;&lt;P&gt;$ cat
$SYBASE/interfaces&lt;BR /&gt;ASE&lt;BR /&gt;     query tcp ether ASEHOST ASEPORT&lt;BR /&gt;IQ&lt;BR /&gt;     query tcp ether IQHOST IQPORT&lt;/P&gt;&lt;P&gt;isql -UDBA -Psql
-SIQ&lt;BR /&gt;1&amp;gt;create table
mytable (c1 int, c2 varchar(50))&lt;BR /&gt;2&amp;gt;go&lt;BR /&gt;1&amp;gt; insert into
mytable values (1, "test")&lt;BR /&gt;2&amp;gt; go&lt;BR /&gt;(1 row affected)&lt;/P&gt;&lt;P&gt;isql -Usa -Ppassword
-SASE&lt;BR /&gt;1&amp;gt; create table
mytable (c1 int, c2 varchar(50))&lt;BR /&gt;2&amp;gt; go&lt;BR /&gt;1&amp;gt; insert into
mytable values (2, "test2")&lt;BR /&gt;2&amp;gt; go&lt;BR /&gt;(1 row affected)&lt;/P&gt;&lt;P&gt;$ setenv DSQUERY ASE&lt;BR /&gt;$ python3
firstapp.py&lt;BR /&gt;2: test2&lt;/P&gt;&lt;P&gt;$ setenv DSQUERY IQ&lt;BR /&gt;Modify username and
password&lt;BR /&gt;$ python3
firstapp.py&lt;BR /&gt;1: test&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Ryan&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 21:24:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/python-ase-iq-drivers/qaa-p/11934166#M4484336</guid>
      <dc:creator>ryan_hansen</dc:creator>
      <dc:date>2020-02-06T21:24:16Z</dc:date>
    </item>
  </channel>
</rss>

