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 :)
pip install cassandra-driver==3.29.0 --no-binary=cassandra-driver
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=awskeyspaces
Connected?
from awskeyspaces.connection import connect
@connect
def dbsetup():
pass
Contribution
twine upload package
python3 -m pip install --upgrade build
python3 -m build
python3 -m pip install --user --upgrade twine
python3 -m twine upload dist/*
Metadata
Release files for awskeyspaces 1.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| awskeyspaces-1.0.8.tar.gz | 10.5 kB | Without provenance | Details for awskeyspaces-1.0.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| awskeyspaces-1.0.8-py3-none-any.whl | Python 3 | none | any | Details for awskeyspaces-1.0.8-py3-none-any.whl |
Total release size: 17.7 kB
Release files / awskeyspaces-1.0.8.tar.gz
| Download URL | awskeyspaces-1.0.8.tar.gz |
|---|---|
| Size | 10.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bf3049bdc11401cee1936c169e79cd4947e8c0c53c5f21e9c7f4312c61bed73e
|
|
BLAKE2b-256 checksum How to use checksums |
a0449b10337a634d007d7f4194ad8ed04651a4814e159e80c3d506e6d050fc35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.13
|
Release files / awskeyspaces-1.0.8-py3-none-any.whl
| Download URL | awskeyspaces-1.0.8-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f2794ed29d7eefee1dd5d3f48569347cc243d9007a08eb673c93067c4e8afe21
|
|
BLAKE2b-256 checksum How to use checksums |
e740a5bcdaee382af54e79ecd21de451a23fc0c50e9b63ae2dbc45a5492717e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.13
|
Security for awskeyspaces 1.0.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.