A redis ORM.
Notes
Version 1.0 depends on redis >= 3.0.
Installation
$ pip install coralillo
Usage
from coralillo import Engine, Model, fields
# Create the engine
eng = Engine()
# Declare your models
class User(Model):
name = fields.Text()
last_name = fields.Text()
email = fields.Text(
index=True,
regex='^[\w.%+-]+@[\w.-]+\.[a-zA-Z]{2,}$',
)
class Meta:
engine = eng
# Persist objects to database
john = User(
name='John',
last_name='Doe',
email='john@example.com',
).save()
# Query by index
mary = User.get_by('email', 'mary@example.com')
# Retrieve all objects
users = User.all()
Metadata
Release files for coralillo 2.2.1
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 |
|---|---|---|---|---|
| coralillo-2.2.1.tar.gz | 26.5 kB | Without provenance | Details for coralillo-2.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| coralillo-2.2.1-py3-none-any.whl | Python 3 | none | any | Details for coralillo-2.2.1-py3-none-any.whl |
Total release size: 58.8 kB
Release files / coralillo-2.2.1.tar.gz
| Download URL | coralillo-2.2.1.tar.gz |
|---|---|
| Size | 26.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9d2a6116f3dabb34b668178e6d47ad7857a3c520ab60f50ac1fa0b53534bba49
|
|
BLAKE2b-256 checksum How to use checksums |
f64fe7be53deb4f4e0410e0d4a2960416e4c4e73975c4b183e9fd614a267ff0f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
|
Release files / coralillo-2.2.1-py3-none-any.whl
| Download URL | coralillo-2.2.1-py3-none-any.whl |
|---|---|
| Size | 32.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
34744cc83d72c3bd06beef1d19e3d1d6b127d42bcd32249b7a46e6f59440a4ee
|
|
BLAKE2b-256 checksum How to use checksums |
04623260b8abf7b8c93a586e85c8f5501b74f89253e1dea82b28405e40facf3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
|
Security for coralillo 2.2.1
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.