Skip to main content

各种实用、常用的小函数、类

Project description

一些常用的类、方法

介绍

一些常用的类、方法,不定时更新

软件架构

 db 是数据库此操作模块
 timeHelper 是和时间相关函数
 common是 一些常用的方法

安装教程

安装
pip install jyhelper
更新
pip install jyhelper -U

使用说明

from jyhelper import db
from jyhelper import timeHelper
from jyhelper import common

dbIns = db(host='',user='root',password='',port=3306,db='')
for row in dbIns.table('table').select():
    print(row)

print(common.explodeList([1,2,3],2))

print(timeHelper.getDate())

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

jyhelper-1.0.9.tar.gz (7.3 kB view hashes)

Uploaded Source

Built Distribution

jyhelper-1.0.9-py3-none-any.whl (7.8 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