Skip to main content

数据库连接信息管理

Project description

dbcfg本身

dbcfg的python包。包含python的库以及dbcfg本身。

有关dbcfg的文档请参考

https://gitee.com/chenc224/dbcfg/blob/master/README.md

安装

使用

pip install dbcfg

即可下载安装

使用方法

import dbcfg
dbc=dbcfg.use("xxx")
print(dbc.dbtype)       #输出数据库类型,如mysql
db=dbc.connect()        #返回数据库连接

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

dbcfg-0.0.4.tar.gz (7.1 kB view details)

Uploaded Source

File details

Details for the file dbcfg-0.0.4.tar.gz.

File metadata

  • Download URL: dbcfg-0.0.4.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for dbcfg-0.0.4.tar.gz
Algorithm Hash digest
SHA256 a73fff31e81be49a5fc0508aaad63e6da63240983eff05baed9c0a135b09f6a9
MD5 01c18efa81b209f055aa0f6c75ca3823
BLAKE2b-256 171762ca310a56c7cceedde4cef46a46daf01bce2cfbd1dde877727b30b051b1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page