some python util tools in one package
Project description
JC Util
Author: Jochen.He
1. Chalk
『粉笔工具』
用于在console
输出带有颜色和样式的文字
例:
from jcutil.chalk import RedChalk
print(RedChalk('This is a red hello world'))
2. Drivers
一些常用的第三方工具的驱动
2.1 db
数据库链接驱动,推荐使用sqlalchemy
from jcutil.drivers import db
db_url = 'mysql://127.0.0.1:3366/mydatabase?encoding=utf8mb'
conn = db.new_client('mydb', url=db_url)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jcutil-0.0.1b0.tar.gz
(17.6 kB
view hashes)
Built Distribution
jcutil-0.0.1b0-py3-none-any.whl
(22.3 kB
view hashes)