Cassondra ORM ( CORM )
Cassandra ORM which uses Python annotations similar to the typing.NamedTuple API
Install
$ pip install -U corm
Usage
import corm
from corm.models import CORMBase
from datetime import datetime
class TestModel(CORMBase):
__keyspace__ = 'mykeyspace'
column_one: str
column_two: int
column_three: datetime
corm.register_table(TestModel)
corm.sync_schema()
first_test = TestModel('one', 'two', datetime.utcnow())
second_test = TestModel('first', 'second', datetime.utcnow())
corm.insert([first_test, second_test])
Metadata
Release files for cassandra-orm 0.0.21
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 |
|---|---|---|---|---|
| cassandra-orm-0.0.21.tar.gz | 12.0 kB | Without provenance | Details for cassandra-orm-0.0.21.tar.gz |
Release files / cassandra-orm-0.0.21.tar.gz
| Download URL | cassandra-orm-0.0.21.tar.gz |
|---|---|
| Size | 12.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5fe3709fb9507d4de9f3e1db702dfad31c876eef0e814fc414ca42c8555d3d13
|
|
BLAKE2b-256 checksum How to use checksums |
e77c406e99017f172bf555ea84f7c16b412e491207b44fab871d43bcb45d56d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9
|
Security for cassandra-orm 0.0.21
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.