Metadata-Version: 2.5
Name: redisext-ng
Version: 3.0.0
Summary: Data models for Redis
Project-URL: Homepage, https://github.com/kkszysiu/redisext
Project-URL: Documentation, https://pythonhosted.org/redisext/
Project-URL: Repository, https://github.com/kkszysiu/redisext
Project-URL: Changelog, https://github.com/kkszysiu/redisext/blob/master/CHANGELOG.rst
Author-email: Andrey Gubarev <mylokin@me.com>
Maintainer-email: Krzysztof Klinikowski <kkszysiu@gmail.com>
License: MIT
License-File: LICENSE
Keywords: models,orm,redis
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Database
Classifier: Topic :: Database :: Database Engines/Servers
Requires-Python: >=3.10
Requires-Dist: redis<7,>=6.4.0
Provides-Extra: dev
Requires-Dist: build; extra == 'dev'
Requires-Dist: coverage>=7.0; extra == 'dev'
Requires-Dist: ruff>=0.8.0; extra == 'dev'
Requires-Dist: twine; extra == 'dev'
Provides-Extra: docs
Requires-Dist: sphinx-rtd-theme>=2.0; extra == 'docs'
Requires-Dist: sphinx>=7.0; extra == 'docs'
Provides-Extra: test
Requires-Dist: coverage>=7.0; extra == 'test'
Description-Content-Type: text/x-rst

Redisext
========

.. image:: https://travis-ci.org/mylokin/redisext.svg?branch=master
   :target: https://travis-ci.org/mylokin/redisext

.. image:: https://coveralls.io/repos/mylokin/redisext/badge.svg?branch=master
   :target: https://coveralls.io/r/mylokin/redisext?branch=master

.. image:: https://img.shields.io/pypi/wheel/redisext-ng.svg
   :target: https://pypi.org/project/redisext-ng/

.. image:: https://img.shields.io/pypi/dm/redisext-ng.svg
   :target: https://pypi.org/project/redisext-ng/

Documentation
-------------

Documentation is available at https://pythonhosted.org/redisext/.

Example
-------

Data model example:

.. code-block:: python

   import redisext.backend.redis
   import redisext.hashmap
   import redisext.serializer


   class Connection(redisext.backend.redis.Connection):
       MASTER = {'host': 'localhost', 'port': 6379, 'db': 0}


   class SeriousStats(redisext.hashmap.Map):
       CONNECTION = Connection
       SERIALIZER = redisext.serializer.Numeric
