Modern utils library
Project description
How to query database
>>> from zmazino import MySQL
>>> x = MySQL("iotplatform")
>>> x.execute("select * from gps", func = lambda x: print(x))
{'id': 'd0_0', 'timestamp': 1591483446, 'status': 0, 'latitude': 209, 'longtitude': 185}
{'id': 'd0_0', 'timestamp': 1591483450, 'status': 1, 'latitude': 183, 'longtitude': 193}
{'id': 'd0_0', 'timestamp': 1591483483, 'status': 0, 'latitude': 290, 'longtitude': 107}
Author
Khoi Dang Do @ Zalo Group
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
zmazino-0.0.4.tar.gz
(6.3 kB
view hashes)