Current collected state Current
Observed since 20 Oct, 18:15 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
The Alphacruncher python library
aclib - The alphacruncher python library
========================================
Installation
============
.. code:: bash
$ pip install aclib
Usage
=====
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
::
[nuvolos]
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()
'snowflake://<username>:<password>@alphacruncher.eu-central-1/?warehouse=<username>'
>>> get_url("db_name","schema_name")
'snowflake://<username>:<password>@alphacruncher.eu-central-1/?warehouse=<username>&database=db_name&schema=schema_name'
>>> eng = get_engine("db_name","schema_name")
Source: https://github.com/datahub-ac/python-connectorDownload counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.2.4 | 26 Nov 2019 | 0 |
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Observed since 20 Oct, 18:15 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:a9e2469facb3355bdd6af5b193283b4816eb0c7b420b79878173303b23470620