Skip to main content

更新日志

  • 第一版
  • 添加数据时,表名称加入双引号,避免跟关键字冲突
  • getfv方法中也补充双引号,避免冲突
  • 修复BUG,fetchone返回None时不应该进行dict转换
  • 工资的随机数进行向上取证,比如9800=10000、8278=8500
  • 工资的随机数最低为3000

连接PostgreSQL

from pgman 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)

Metadata

Release files for pgman 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pgman 0.0.6
File Size Uploaded Provenance Actions
pgman-0.0.6.tar.gz 4.0 kB Without provenance Details for pgman-0.0.6.tar.gz

Release files / pgman-0.0.6.tar.gz

Download URL pgman-0.0.6.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
eb531918576d5c7b74bf266d2f61b3c763d3374068ff9e01fc8a876eb8a2338d
BLAKE2b-256 checksum
How to use checksums
d0bf5a175cf0f97fb14032fb66362fa899317638030d9db543dd4fec5dd5c6d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.13

Security for pgman 0.0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page