skip to navigation
skip to content

sqlanydb 1.0.6

pure Python SQL Anywhere database interface

Latest Version: 1.0.9

This package provides a python interface to the SQL Anywhere database server. This interface conforms to PEP 249.


Before installing the sqlanydb interface please make sure the following components are installed on your system.

  • Python 2.4 or greater
  • Python ctypes module if missing
  • SQL Anywhere 10 or higher

Installing the sqlanydb module

Run the following command as an administrative user to install sqlanydb:

python install

Alternatively, you can use pip:

pip install sqlanydb

Testing the sqlanydb module

To test that the Python interface to SQL Anywhere is working correctly first start the demo database included with your SQL Anywhere installation and then create a file named with the following contents:

import sqlanydb
conn = sqlanydb.connect(uid='dba', pwd='sql', eng='demo', dbn='demo' )
curs = conn.cursor()
curs.execute("select 'Hello, world!'")
print "SQL Anywhere says: %s" % curs.fetchone()

Run the test script and ensure that you get the expected output:

> python
SQL Anywhere says: Hello, world!


This package is licensed under the terms of the Apache License, Version 2.0. See the LICENSE file for details.

Feedback and Questions

For feedback on this project, or for general questions about using SQL Anywhere please use the SQL Anywhere Forum at

File Type Py Version Uploaded on Size
sqlanydb-1.0.6-py2.py3-none-any.whl (md5) Python Wheel 2.7 2014-06-26 9KB