AWS Quantum Ledger Database python wrapper
Project description
DGTL Health AWS Quantum Ledger Database Wrapper
Use this code to access the ledger based databases.
As of writing, 2022-04-07
, the pyqldb library has a dependency that doesn't
compile on Apple ARM-processors. For local development make a venv
with the intel64-python to use Rosetta2 emulation.
Compiling with --platform linux/arm64 using docker will work normally.
Installation
- (Optional) Create venv:
python3 -m venv venv
or on Apple Silicon:python3-intel64 -m venv venv
- (Optional) Activate venv:
source venv/bin/activate
- Install:
python -m pip install dgtl-pyqldb
Usage
- Make sure your AWS credentials are set-up using
aws-config
from dgtl_pyqldb.ledger_helper import LedgerHelper
lh = LedgerHelper(ledger_name="pyqldb_tests", table="test_ledger", index="PID", region="eu-central-1")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dgtl_pyqldb-0.1.0.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for dgtl_pyqldb-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6a187cb4155cc1cfaf7d1f0725b2c350c7616c458b1554dfece486ab0a3efdc |
|
MD5 | f7c77aadb8b7b2d8f01be731aed96a26 |
|
BLAKE2b-256 | 98352cd7e64f76c625cf2c55d5bb5da73248bee60f130cb97f6715243f9903eb |