Skip to main content

SomeTools 一些常用工具

MIT licensed pypi wheel pyversions Downloads


一些方便日常使用的工具

  • 将输入的任何类型的日期字符串类型转化为datetime.datetime类型的日期对象

  • 移除一个字符串中的回车换行空格制表符等内容

  • 将中文字符转为其拼音的首字母

  • 更加方便的日志记录工具

  • 繁体简体中文汉字转换工具

  • url编码解码

  • 正则表达式提取字符串中的中文内容工具

  • 检测 bytes 编码

  • 查看硬件信息

  • 获取本月的中国法定节假日和工作日

  • redis创建连接同步、异步工具

  • 异步布隆过滤工具

  • 异步 MySql orm

  • 同步 MySql 连接池

  • 图片处理

  • 进程池

  • 查看操作系统信息

  • 获取本机ip地址

  • AES、RSA加密解密

  • base64、md5封装

安装

$ python -m pip install --upgrade pip
$ pip install SomeTools -i https://pypi.python.org/simple

使用

1.同步工具使用参考demo.py

2.异步工具使用参考async_demo.py

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

SomeTools-0.1.44.tar.gz (26.4 kB view details)

Uploaded Source

Built Distribution

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

SomeTools-0.1.44-py3-none-any.whl (38.7 kB view details)

Uploaded Python 3

File details

Details for the file SomeTools-0.1.44.tar.gz.

File metadata

  • Download URL: SomeTools-0.1.44.tar.gz
  • Upload date:
  • Size: 26.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for SomeTools-0.1.44.tar.gz
Algorithm Hash digest
SHA256 c53649e6a402ae327d1b48fb774ae496a441164f5a2250db65971471626482cb
MD5 10e1617974eff15bca6437b875e3615a
BLAKE2b-256 3abc1cef48a2eeb8c58657a4ccc47a3fa77e0a023c8e6dd2746c7986c33cff27

See more details on using hashes here.

File details

Details for the file SomeTools-0.1.44-py3-none-any.whl.

File metadata

  • Download URL: SomeTools-0.1.44-py3-none-any.whl
  • Upload date:
  • Size: 38.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for SomeTools-0.1.44-py3-none-any.whl
Algorithm Hash digest
SHA256 54ee9ee7ed7455933a8cbea1f68e8ab40149cf2f34c3c73c6101712ef9cf6363
MD5 c2a9151ffd11ea6139b8e371643e605f
BLAKE2b-256 6940085ac6346a1d4db96c01b645d1fb66ad72633a10420b00a54b084e49f5b7

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.44 This release

2 files

0.1.43

2 files

0.1.41

2 files

0.1.40

2 files

0.1.39

2 files

0.1.38

2 files

0.1.37

2 files

0.1.34

2 files

0.1.33

2 files

0.1.32

2 files

0.1.31

2 files

0.1.30

2 files

0.1.29

2 files

0.1.28

2 files

0.1.27

2 files

0.1.25

2 files

0.1.24

2 files

0.1.23

2 files

0.1.22

2 files

0.1.21

2 files

0.1.20

2 files

0.1.19

2 files

0.1.18

2 files

0.1.17

2 files

0.1.16

2 files

0.1.15

2 files

0.1.14

2 files

0.1.13

2 files

0.1.12

2 files

0.1.11

2 files

0.1.10

2 files

0.0.9

2 files

0.0.8

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

Supported by

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