pyoocass
Python Obect Oriented approach to Cassandra compliant document stores
Classes
Database
This class represents the Database object, meaning a cluster or serverles service from a cloud provider.
Attributes
| Attribute Name | Type | Default Value | Description |
|---|---|---|---|
| nodes | list | empty list | List of nodes/endpoints to connect to |
| port | int | 9042 | Port to connect to Cassandra/Keyspaces |
| user | str | "" | Username to connect (can be ommited if auth_provider is provided in the Constructor) |
| password | str | "" | Password to connect (can be ommited if auth_provider is provided in the Constructor) |
| cert | str | None | Path to certificate if SSL is required |
| auth_provider | Class | None | An instance of any cassandra.auth classes or SigV4AuthProvider from cassandra_sigv4.auth |
| retries | int | 5 | Internal retries value for improved reconnections policy |
| timeout | int | 15 | Internal retries value for custom timeout times in the policy |
Methods
__init__
| Parameter name | Type | Required | Default Value | Description |
|---|---|---|---|---|
| nodes | list | Yes | None | List of cassandra cluster nodes/endpoints |
| port | int | No | 9042 | Port to connect to Cassandra/Keyspaces |
| user | str | No | None | Username to connect (can be ommited if auth_provider is provided in the Constructor) |
| password | str | No | None | Password to connect (can be ommited if auth_provider is provided in the Constructor) |
| cert | str | No | None | Path to certificate if SSL is required |
| auth_provider | Class | No | None | An instance of any cassandra.auth classes or SigV4AuthProvider from cassandra_sigv4.auth |
connect
Keysapce
NOT IMPLEMENTED YET
Attributes
| Attribute Name | Type | Default Value | Description |
|---|---|---|---|
| database | Class | None | A pyoocass.Database instance |
| name | str | "" | Name for the keyspace within the Cassandra DB |
Methods
Table
NOT IMPLEMENTED YET
Attributes
| Attribute Name | Type | Default Value | Description |
|---|---|---|---|
| keyspace | Class | None | A pyoocass.Keyspace instance |
| name | str | "" | Name for the keyspace within the Cassandra DB |
Methods
Code Examples
Metadata
Release files for pyoocass 0.0.5
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 |
|---|---|---|---|---|
| pyoocass-0.0.5.tar.gz | 5.0 kB | Without provenance | Details for pyoocass-0.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyoocass-0.0.5-py3-none-any.whl | Python 3 | none | any | Details for pyoocass-0.0.5-py3-none-any.whl |
Total release size: 10.9 kB
Release files / pyoocass-0.0.5.tar.gz
| Download URL | pyoocass-0.0.5.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1a893499569335e9cb4d73d7ee2c1e72dff53946155e477bdc36c303e8745745
|
|
BLAKE2b-256 checksum How to use checksums |
d192df9bd622be077ce640b9709c63ecc18de012aef79ac965aeb853f844cb99
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
|
Release files / pyoocass-0.0.5-py3-none-any.whl
| Download URL | pyoocass-0.0.5-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
073ea4f8619cbff0cfed2360afbed7472c319e3a149e380cc843795212e5ddd5
|
|
BLAKE2b-256 checksum How to use checksums |
30e1dd8863e945ae4416b380a44e1d5999d4f9c6aa9728adb4dd92f184d92901
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
|
Security for pyoocass 0.0.5
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.