Skip to main content

Actian Analytics ODBC

Project description

Actian Analytics ODBC: Connect pyodbc applications to Actian Ingres/Vector/Analytics databases

What is it?

Actian Analytics ODBC is a Python package that provides a fast installation of Actian Client for ODBC and easy connections between pyodbc applications and Actian databases such as Ingres, Vector, and Actian Analytics Engine.

Main Features

  • Contains the Actian Client SDK, no need to download it separately
  • Automates installation of Actian Analytics SDK package
  • Provides a simple API that extends pyodbc to provide a Python Database API 2.0 standard database connection to Actian databases.

Prerequisites

OS

Linux-x64 is supported at this time.

Python

Python 3.9 or higher is required to install and run.

ODBC Manager

You need an ODBC manager before installing this package. The simplest option on Linux is to run.

$ sudo apt install unixodbc

If you do not have an ODBC manager installed, importing the actiandb package will fail with an error.

Where to get it

The latest released version are available at the Python Package Index (PyPI).

# PyPI
pip install actian-analytics-odbc

Dependencies

Platform Support

Currently only Linux x64 environments are supported.

License

[Commercial] See license inside of package

Example Usage

import actiandb
conn = actiandb.connect(
    database='databaseName',
    hostname='host-or-ip',
    port='port-or-service',
    username='username',
    password='password'
)
cur = conn.execute("SELECT * FROM region")
for row in cur:
  print(row)
conn.close()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file actian_analytics_odbc-1.0.0-py3-none-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for actian_analytics_odbc-1.0.0-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ce27089dce88e6d7309d7c621b6984fe424a296aa4a5089840ef1f8373eb460e
MD5 308c263531847ab592e8c25f44936fdb
BLAKE2b-256 a4c7091ff7b1079afb63cd2e609756ce61fe831454e457a51b3c267c6b1ef88d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page