Personal toolkit implemented by Python.
Project description
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.1 (2022-08-12)
- Added
- more templates
- improved ansible templates
- Fixed
- KeyError when deleting
factory
field - 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_group
option for python template
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
toolkit-py-1.5.1.tar.gz
(152.6 kB
view details)
Built Distribution
File details
Details for the file toolkit-py-1.5.1.tar.gz
.
File metadata
- Download URL: toolkit-py-1.5.1.tar.gz
- Upload date:
- Size: 152.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16a44d3d49a15708a3ba91119eadaf90da7affd66eac429aaebd2d10d057cde8 |
|
MD5 | 2662985239f0886a68797d5a714cd177 |
|
BLAKE2b-256 | 8b31d857cd5d28d5fb5f3bf7a1abd3a090caf2c655e8add5236793ed3e6de91c |
File details
Details for the file toolkit_py-1.5.1-py2.py3-none-any.whl
.
File metadata
- Download URL: toolkit_py-1.5.1-py2.py3-none-any.whl
- Upload date:
- Size: 221.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45f6a3fad9e7d6599c77a7f1c141ce638b3e332cb3d00ae6908ae78d0e159673 |
|
MD5 | 9e2ce4dd1e6bed8a35e8ebb283287541 |
|
BLAKE2b-256 | 66428772de7c0f4c499e30565ea4f642a7c675b0c7587caf6f21e5461569a4a9 |