文件名称:porm:Python Redis ORM
文件大小:8KB
文件格式:ZIP
更新时间:2024-07-20 02:12:24
Python
Python Redis ORM 设置: pip install -r requirements.txt python setup.py install 使用示例 >> > from porm . model import Model >> > from porm . validators import StringValidator , RegexValidator , EmailValidator , NumberValidator , LengthValidator >> > from porm . fields import StringField >> > class User ( Model ): >> > name = StringField ( index = True , >> > validators =
【文件预览】:
porm-master
----.travis.yml(142B)
----requeriments.txt(14B)
----tests()
--------__init__.py(0B)
--------test_orm.py(9KB)
----LICENSE(1KB)
----setup.py(294B)
----.gitignore(675B)
----porm()
--------validators.py(3KB)
--------__init__.py(0B)
--------model.py(5KB)
--------fields.py(848B)
----README.md(3KB)