Toolkit-Py
Personal toolkit implemented by Python.
Installation
pip install -U toolkit-py
If you are in China, you can use the following command to install the latest version:
pip install -U toolkit-py -i https://pypi.douban.com/simple
Install it from source code:
pip install git+https://github.com/fujiawei-dev/toolkit-py.git@main
Usage
toolkit --help
Thanks
Examples
Generates HTTP User-Agent header
gua
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/15.14986
gua -n chrome
Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3489.10 Safari/537.36
gua -o android
Mozilla/5.0 (Linux; Android 8.1; Huawei P20 Lite Build/OPR3.170623.008) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3297.48 Mobile Safari/537.36
gua -n safari -o ios
Mozilla/5.0 (iPhone; CPU iPhone OS 9_3_3 like Mac OS X) AppleWebKit/602.2.14 (KHTML, like Gecko) Version/9.0 Mobile/13G34 Safari/602.2
Upload pictures to public image hosting server
upsfortypora "/path/to/file.png"
Upload Success:
http://dd-static.jd.com/ddimg/jfs/t1/132543/17/21538/145549/61fa87f9E883b9b32/f23efa3a806cab76.jpg
History
v1.5.10 (2022-09-09)
- Updated
- Improved the directory structure of the notes project.
- Improve the way note headers are regenerated.
- Added
- Create a pyinstaller spec file.
- Generate similar files or directories according to the specified pattern.
- Soguo image hosting support.
- Replace online image url to local image path.
v1.5.9 (2022-09-02)
- Added Qt6 QML example template.
- Extract the titles of all articles from the folder as the table of contents.
v1.5.8 (2022-08-31)
- Added
- cpp example templates
- Fixed
- do not launch editor if in current directory
test_get_camel_case_stylestest
v1.5.7 (2022-08-29)
- Added
factory_user_input_context_hookhook.
v1.5.6 (2022-08-24)
- Some improvements
- Launch the editor directly after creating the project
v1.5.5 (2022-08-19)
- Improved Qt5 QML example template.
- Added Qt5 console example template
- Create a note source example at the same time as the note is created.
v1.5.4 (2022-08-15)
- Fixed
- timeout issue when unzipping a file
- Added
- example project scaffold
v1.5.3 (2022-08-15)
- Added
- golang web example templates
- cpp Qt5 example templates
- Updated
- ansible templates
v1.5.2 (2022-08-13)
- Improved Qt5 template.
- Improved Python example template.
v1.5.1 (2022-08-12)
- Added
- more templates
- improved ansible templates
- Fixed
- KeyError when deleting
factoryfield - package typo in Go templates
- unzip timeout
- KeyError when deleting
v1.5.0 (2022-08-10)
- Added
- generate files from templates for existing project
v1.4.5 (2022-08-09)
- Added
- use multiple templates at the same time
- ansible project scaffold
- golang example and cli project scaffold
v1.4.4 (2022-08-09)
- Fixed
- missing
python_user_input_context_hook - bad LICENSE reference
- missing
- Added
- serialization module for configuration
enable_click_groupoption for python template
Release files for toolkit-py 1.5.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| toolkit-py-1.5.10.tar.gz | 180.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| toolkit_py-1.5.10-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 454.9 kB
Release files / toolkit-py-1.5.10.tar.gz
| Download URL | toolkit-py-1.5.10.tar.gz |
|---|---|
| Size | 180.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e099abc04aeac7b82dcf6ab491d2ed4dde1d0cdce0589999503518dbf573161a
|
|
BLAKE2b-256 checksum How to use checksums |
ffac22fa5328e6432764f247ded33d385256e34a4c141aabe0d8c4693a132a4e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.14
|
Release files / toolkit_py-1.5.10-py2.py3-none-any.whl
| Download URL | toolkit_py-1.5.10-py2.py3-none-any.whl |
|---|---|
| Size | 274.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
fece4cdf6b0ba1bef318d16ce65281e7182f00aa9953f45919cc9d01ea9efa3e
|
|
BLAKE2b-256 checksum How to use checksums |
7fa57407fe5dec5fe63856a5aaa6435a3d8af96a22842205ee8286267e946965
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.14
|