AWS KEYSPACES connector Package
Project description
PYTHON AWS KEYSPACES CONNECTOR
AWS KEYSPACES Connector Package
Tech Core
What do i need to know before using this code?
TLS always on 9142
Port Authentication Mechanism
9142 TLS client authentication, with certificates
- required aws cert
curl https://www.amazontrust.com/repository/AmazonRootCA1.pem -O
Cassandra Driver Performance
- Linux Like
sudo apt install libev-dev
sudo yum install libev-devel
apk add libev-dev
- MacOS
brew install libev
Compiled is better :)
Env Vars
Load env vars for your cluster connection
REGION=us-east-1
CLUSTER_KSP=my_keyspace
CLUSTER_HOST="cassandra.${REGION}.amazonaws.com"
CLUSTER_PORT=9142
CLUSTER_USER="****************"
CLUSTER_PASS="****************"
export CLUSTER_KSP CLUSTER_HOST CLUSTER_USER CLUSTER_PASS CLUSTER_REGION
How to install
- Load virtual env
python3.8 -m venv venv
. venv/bin/activate
- Install package
pip install -r requirements.txt
# or
make init
# or
python setup.py install
- Why Not?
pip install -e git+https://bitbucket.org/labunix/awskeyspaces.git@master#egg=keyspaces
Connected?
from awskeyspaces.connection import connect
@connect
def dbsetup():
pass
Contribution
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
awskeyspaces-1.0.2.tar.gz
(7.9 kB
view hashes)
Built Distribution
Close
Hashes for awskeyspaces-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57e0fdc5ed9baee3ba871e9f534abae467ea424f2b04167b54b3f8ee00ebfad0 |
|
MD5 | 9058207b7eb64f6c7ee190c50aa5287c |
|
BLAKE2b-256 | a2349d71cd7b3a8e405884da002473dc3ae5403f3c6cdf92ca6556d6786607e9 |