torpeewee:peewee的Tornado和asyncio异步ORM

时间:2021-05-17 23:17:01
【文件属性】:
文件名称:torpeewee:peewee的Tornado和asyncio异步ORM
文件大小:21KB
文件格式:ZIP
更新时间:2021-05-17 23:17:01
mysql orm postgresql tornado peewee 托皮维 peewee的Tornado和asyncio异步ORM 关于 torpeewee-peewee的Tornado和asyncio异步ORM。 安装 pip install torpeewee 例子 # -*- coding: utf-8 -*- # 16/7/7 # create by: snower import datetime import asyncio from torpeewee import * db = MySQLDatabase ( "test" , host = "127.0.0.1" , port = 3306 , user = "root" , passwd = "123456" ) class BaseModel ( Model ): class Meta : database = db class Test ( BaseMod
【文件预览】:
torpeewee-master
----README.rst(4KB)
----demos()
--------demo.py(1KB)
--------aiohttp_demo.py(857B)
----requirements.dev.txt(43B)
----torpeewee()
--------transaction.py(3KB)
--------postgresql.py(11KB)
--------model.py(12KB)
--------mysql.py(7KB)
--------__init__.py(1KB)
--------query.py(7KB)
----.travis.yml(2KB)
----LICENSE(1KB)
----setup.cfg(25B)
----setup.py(733B)
----README.md(3KB)
----tests()
--------test_query.py(2KB)
--------model.py(2KB)
--------__init__.py(251B)
--------test_transaction.py(3KB)
--------test_table.py(553B)
----.gitignore(1KB)
----run-tests(251B)

网友评论