An even better way to work with Python.
Project description
shell
from amhhandler import shell
cmd = "ls /tmp"
result = shell.run(cmd)
print(result)
mysql
from amhhandler import mysql
dbconfig = {"host":"127.0.0.1","port":3306, "user":"admin", "password":"123456", "db":"mysql"}
dbHandler = mysql.Conn(**dbconfig)
sql = "select * from mysql.user where user='admin';"
result = dbHandler.select(sql)
ding ding robot
logging
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
AmhHandler-1.1.1.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for AmhHandler-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57a959ec3785f92ca5252592049cf1426cf68c98242ee604fb5dd2f89d7bc00f |
|
MD5 | 5d2c8247d2f00683c4065cdb23524736 |
|
BLAKE2b-256 | 7e1e28759cf8fb885e029b0e37383d431f8856734ba2eb179eed08c1e7d42613 |