Personal toolkit implemented by Python.
Project description
Toolkit-Py
Installation
pip install toolkit-py
Usage
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
Change to other faster open source mirror sites
$ cfm
Usage: cfm [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
py Change pypi & conda source minors.
python Change pypi & conda source minors.
Create basic project scaffold
$ cps
Usage: cps [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
py Create python project scaffold.
python Create python project scaffold.
Upload pictures to public image hosting server
$ upsfortypora test.png
Upload Success:
http://dd-static.jd.com/ddimg/jfs/t1/132543/17/21538/145549/61fa87f9E883b9b32/f23efa3a806cab76.jpg
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-0.2.1.tar.gz
(13.3 kB
view details)
File details
Details for the file toolkit-py-0.2.1.tar.gz
.
File metadata
- Download URL: toolkit-py-0.2.1.tar.gz
- Upload date:
- Size: 13.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.1 requests/2.27.1 setuptools/49.2.1.post20200807 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2b119279d3ccceec2623ed9a36c18e619cba4fa2c90ce9e782798b3cb8863af |
|
MD5 | 74df8e4038dd394bad9587ae61da464d |
|
BLAKE2b-256 | 29aa1b113dea0a86ed78f1f2e0a0b4542e54927b05ec91d127b89472ad35738d |