It is a micro-toolbox that includes various common operations and will continue to be improved in the future.
Project description
jwtools
集微工具箱,包括各种常用操作,后续不断完善
构建
在项目文件夹中运行以下命令
python setup.py sdist bdist_wheel
上传:
python -m twine upload --repository-url https://upload.pypi.org/legacy/ dist/*
或
python -m twine upload dist/*
按照提示,输入pypi的用户名、密码,就可以成功了。若中途提示有些库没有安装,则使用pip安装一下,需要用到twine库。
使用
安装或更新
pip3 install jwtools pip3 install --upgrade jwtools
代码使用
from jwtools.func import *
from jwtools.io_util import *
mm5 = get_text_md5("dddd")
print(mm5)
# write_text_to_file
result = write_text_to_file("D:/test/test123.txt", mm5)
print(result)
# read_text_from_file
cc = read_text_from_file("D:/test/test123.txt")
print(cc)
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
jwtools-0.1.19.tar.gz
(9.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
jwtools-0.1.19-py3-none-any.whl
(11.3 kB
view details)
File details
Details for the file jwtools-0.1.19.tar.gz.
File metadata
- Download URL: jwtools-0.1.19.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e941f4e8528a62034ba949709d53604c05163735de265f7e0956908700d95d3
|
|
| MD5 |
04e8b487c49aabf1c80baff06532b87c
|
|
| BLAKE2b-256 |
6110c77c9b6861db8413decc12472e5b8b852699d03f898f9b5ec490ef9aaffa
|
File details
Details for the file jwtools-0.1.19-py3-none-any.whl.
File metadata
- Download URL: jwtools-0.1.19-py3-none-any.whl
- Upload date:
- Size: 11.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28f2bd6c61415510742edfe714bcab323bee4953a9b3e23e3377493ba2ce7fb2
|
|
| MD5 |
cd702f7d054f6a739dc27c6b16cc9c12
|
|
| BLAKE2b-256 |
62f078f7dae0897971cd26de2c043f4d38690f2ce6b262b1e066ed2951c432f6
|