Python操作PostgreSQL
Project description
连接PostgreSQL
from pgman.connector import PostgreSQL
pg = PostgreSQL(db="test", user="wauo", password="123456")
name = "people"
pg.make_table(name)
res = pg.exe_sql("select * from people limit 10", query_all=True)
print(res)
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
pgman-0.0.1.tar.gz
(3.5 kB
view hashes)