Skip to main content

An Object-Redis Mapping

Project description

Build Status

A redis ORM.


Version 1.0 depends on redis >= 3.0.


$ pip install coralillo


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(

    class Meta:
        engine = eng

# Persist objects to database
john = User(

# Query by index
mary = User.get_by('email', '')

# Retrieve all objects
users = User.all()

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

coralillo-2.2.1.tar.gz (26.5 kB view hashes)

Uploaded source

Built Distribution

coralillo-2.2.1-py3-none-any.whl (32.3 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page