Some useful script by Python3.6+.
All script will be auto register by setup.py.
It is strongly recommended to use pipx for installation to ensure a clean environment.
pipx install git+https://github.com/abersheeran/usefuls
In China, you can also install from Gitee
pipx install git+https://gitee.com/abersheeran/usefuls
Commands always like py-xxx
> py-dns --help
Usage: py-dns [OPTIONS] DOMAIN
[[A|AAAA|CNAME|MX|NAPTR|NS|PTR|SOA|SRV|TXT|any]]
Options:
-NS, --name-server TEXT DNS Server
--help Show this message and exit.
> py-whois --help
Usage: py-whois [OPTIONS] DOMAIN
Options:
--help Show this message and exit.
> py-ping --help
Usage: py-ping [OPTIONS] TARGET
Options:
--timeout FLOAT [default: 1.3]
--packet-size INTEGER [default: 32]
--interval FLOAT [default: 0.5]
--max-number-of-times INTEGER [default: 4]
--ipv4 / --ipv6 [default: ipv4]
--help Show this message and exit.
Usage: py-tcping [OPTIONS] TARGET...
Options:
--timeout FLOAT [default: 1.3]
--interval FLOAT [default: 0.5]
--max-number-of-times INTEGER [default: 4]
--proxy TEXT
--help Show this message and exit.