![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Limpyd provides an easy way to store objects in Redis, without losing the power and the control of the Redis API, in a limpid way, with just as abstraction as needed.
|PyPI Version| |Build Status| |Doc Status|
Limpyd
provides an easy way to store objects in Redis_, without losing the power and the control of the Redis API, in a limpid way, with just as abstraction as needed.
Featuring:
limpyd
do it for youRedis data types <http://redis.io/topics/data-types>
_ in your own codeExample of configuration:
.. code:: python
from limpyd import model
main_database = model.RedisDatabase(
host="localhost",
port=6379,
db=0
)
class Bike(model.RedisModel):
database = main_database
name = model.InstanceHashField(indexable=True, unique=True)
color = model.InstanceHashField()
wheels = model.StringField(default=2)
So you can use it like this:
.. code:: python
>>> mountainbike = Bike(name="mountainbike")
>>> mountainbike.wheels.get()
'2'
>>> mountainbike.wheels.incr()
>>> mountainbike.wheels.get()
'3'
>>> mountainbike.name.set("tricycle")
>>> tricycle = Bike.collection(name="tricycle")[0]
>>> tricycle.wheels.get()
'3'
>>> tricycle.hmset(color="blue")
True
>>> tricycle.hmget('color')
['blue']
>>> tricycle.hmget('color', 'name')
['blue', 'tricycle']
>>> tricycle.color.hget()
'blue'
>>> tricycle.color.hset('yellow')
True
>>> tricycle.hmget('color')
['yellow']
Python versions 2.7
and 3.5
to 3.8
are supported (CPython and PyPy).
Redis-py_ versions >= 3
are supported, with redis-server versions >= 3
.
.. code:: bash
pip install redis-limpyd
For Redis-py_ versions < 3, please use limpyd version 1.3.1
(or later in 1.x
versions)
See https://redis-limpyd.readthedocs.io/ for a full documentation
See CHANGELOG.rst <CHANGELOG.rst>
_
Stéphane «Twidi» Angel <https://github.com/twidi/>
_Yohan Boniface <https://github.com/yohanboniface/>
_Limpyd-extensions <https://github.com/limpyd/redis-limpyd-extensions>
_Limpyd-jobs <https://github.com/limpyd/redis-limpyd-jobs>
_.. |PyPI Version| image:: https://img.shields.io/pypi/v/redis-limpyd.png :target: https://pypi.python.org/pypi/redis-limpyd .. |Build Status| image:: https://travis-ci.org/limpyd/redis-limpyd.png?branch=master :target: https://travis-ci.org/limpyd/redis-limpyd .. |Doc Status| image:: https://readthedocs.org/projects/redis-limpyd/badge/ :target: http://redis-limpyd.readthedocs.io/en/latest/ .. _Redis: http://redis.io .. _Redis-py: https://github.com/andymccurdy/redis-py
FAQs
Limpyd provides an easy way to store objects in Redis, without losing the power and the control of the Redis API, in a limpid way, with just as abstraction as needed.
We found that redis-limpyd demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.