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.3.tar.gz (7.0 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: dbcfg-0.0.3.tar.gz
  • Upload date:
  • Size: 7.0 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.3.tar.gz
Algorithm Hash digest
SHA256 6f3f9f054f88e3ca3eae5d5fc4f02d1c813257894e6fe2cc6930e26cf5e77a00
MD5 fe3b33a078e0107395ca620363ad6ed6
BLAKE2b-256 f95a002e869611dd3b8c8527df729daf981a9fa3955b151ee82cbd10bf6c0f5d

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