File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,8 +9,12 @@ Tornado-MySQL
99
1010This package contains a fork of PyMySQL supporting Tornado.
1111
12- **THIS PROJECT is WORK IN PROGRESS. ** You can't use it for now.
13- Stay tuned.
12+ Example
13+ -------
14+
15+ .. include :: example.py
16+ :code: python
17+
1418
1519Requirements
1620-------------
@@ -27,6 +31,7 @@ Requirements
2731
2832.. _CPython : http://www.python.org/
2933.. _PyPy : http://pypy.org/
34+ .. _MySQL : http://www.mysql.com/
3035.. _MariaDB : https://mariadb.org/
3136
3237
Original file line number Diff line number Diff line change @@ -10,11 +10,9 @@ def main():
1010 cur = conn .cursor ()
1111 yield cur .execute ("SELECT Host,User FROM user" )
1212 print (cur .description )
13- print ()
1413 for row in cur :
1514 print (row )
1615 cur .close ()
1716 conn .close ()
1817
19-
2018ioloop .IOLoop .current ().run_sync (main )
Original file line number Diff line number Diff line change 2626 'Programming Language :: Python :: 3.4' ,
2727 'Programming Language :: Python :: Implementation :: CPython' ,
2828 'Programming Language :: Python :: Implementation :: PyPy' ,
29- 'Development Status :: 4 - Beta ' ,
29+ 'Development Status :: 3 - Alpha ' ,
3030 'Intended Audience :: Developers' ,
3131 'License :: OSI Approved :: MIT License' ,
3232 'Topic :: Database' ,
You can’t perform that action at this time.
0 commit comments