Skip to main content

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

Project description

一些常用的类、方法

介绍

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

软件架构

 db 数据库操作模块
 timeHelper 时间相关方法
 file 文件操作相关方法
 common 一些常用的方法
 feishuRobot 飞书机器人发送消息

安装教程

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

使用说明

from jyhelper import db
from jyhelper import timeHelper
from jyhelper import common
from jyhelper import file
from jyhelper import feishuRobot

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())

file.readTxtFile(filePath='')

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.2.3.tar.gz (10.3 kB view hashes)

Uploaded Source

Built Distribution

jyhelper-1.2.3-py3-none-any.whl (11.6 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