Skip to main content

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

Project description

一些常用的类、方法

介绍

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

软件架构

 db/mysql 数据库操作
 timeHelper 时间相关
 fileHelper 文件操作
 common 一些常用的方法
 feishuRobot 飞书机器人发送消息
 sysHelper 系统相关
 strHelper 字符串相关
 listHelper 列表相关
 dictHelper 字典相关

安装教程

安装
pip install jyhelper
python3 -m pip install jyhelper
更新
pip install jyhelper -U
pip install  --upgrade jyhelper -i https://pypi.org/simple
python3 -m pip install jyhelper --upgrade -i https://pypi.org/simple

使用说明

from jyhelper import db
from jyhelper import timeHelper
from jyhelper import common
from jyhelper import fileHelper
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())

fileHelper.read(file_path='')

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

jyhelper-26.7.9.6.tar.gz (58.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jyhelper-26.7.9.6-py3-none-any.whl (66.8 kB view details)

Uploaded Python 3

File details

Details for the file jyhelper-26.7.9.6.tar.gz.

File metadata

  • Download URL: jyhelper-26.7.9.6.tar.gz
  • Upload date:
  • Size: 58.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.11

File hashes

Hashes for jyhelper-26.7.9.6.tar.gz
Algorithm Hash digest
SHA256 ed2c3ddcf2e2f11b5266924a6be33eade9e8256bd1a5b89a47a947a49ecb1d86
MD5 243ef2446336f0fc2b1a6ab697faee5b
BLAKE2b-256 587b1402f4f9e82fef15e7e5fb7a13bd1b5a566c0380eeaa51263b05a2bbf2ff

See more details on using hashes here.

File details

Details for the file jyhelper-26.7.9.6-py3-none-any.whl.

File metadata

  • Download URL: jyhelper-26.7.9.6-py3-none-any.whl
  • Upload date:
  • Size: 66.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.11

File hashes

Hashes for jyhelper-26.7.9.6-py3-none-any.whl
Algorithm Hash digest
SHA256 caccc3dd394e3bb0f0d57a4f7301f052fedff9b763b910206e353ac358cedf16
MD5 da04b51c5c04c5fcfe7b4f3cb6f049ba
BLAKE2b-256 65728794b4b30eeebbaff32c16f14694a53e0b16692c21a80e529c818b242dec

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page