use python parse database uri ,return format
Project description
# dburi
### 安装
` pip install dburi `
### 方法
` from dburi import parse_db_str print parse_db_str('mysql://buzz:123@localhost/buzz_master?option=open&charset=utf8&table=test') print parse_db_str('mysql://buzz:123@localhost/buzz_master') print parse_db_str("mongo://127.0.0.1:27017/buzz_master") print parse_db_str('redis://127.0.0.1:6379') print parse_db_str('elasticsearch://127.0.0.1:9200') print parse_db_str('hbase://127.0.0.1:9090/buzz') print parse_db_str('memcached://127.0.0.1:11211') `
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
dburi-1.0.tar.gz
(2.2 kB
view hashes)