Skip to main content

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


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)

Uploaded Source

Built Distribution

jcutil-0.0.1b0-py3-none-any.whl (22.3 kB view hashes)

Uploaded Python 3

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