Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

The Alphacruncher python library

Project description

aclib - The alphacruncher python library


$ pip install aclib


The library provides 2 convenience functions for connecting to the remote database with your credentials. It assumes that you have a credential file ~/.odbc.ini in the following format

uid = <username>
pwd = <password>

The library will also look for a special /lifecycle/.dbpath file. When used inside an Alphacruncher application, this file is populated by the platfrom with the db and schema name of the application, and the library will pick these up automatically.

You can then get the SQLAlchemy connection string, or create an SQLAlchemy engine directly:

>>> from aclib import get_url, get_engine
>>> get_url()
>>> get_url("db_name","schema_name")
>>> eng = get_engine("db_name","schema_name")


Project details

Download files

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

Files for aclib, version 0.2.4
Filename, size File type Python version Upload date Hashes
Filename, size aclib-0.2.4.tar.gz (2.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page