# mh_universal_functions
mh_universal_functions is a Python library currently used in Python programs pir.py and rha.py.
(see https://www.makeareadme.com/ for examples of README.md)
## Installation
Use the package manager [pip](https://pip.pypa.io/en/stable/) to install mh_universal_functions.
```bash
sudo /usr/local/bin/python3.7 -m pip install mh-universal-functions==version
```
## Usage
```python
import mh_universal_functions
mh_universal_functions.test() # returns 'Hello world of PyPI'
```
Included functions:
- def database_update_universal(mysql_const, row, table, value, id1, id1_value, id2, id2_value)
- def database_read(mysql_const, row, table, id1, id1_value, id2, id2_value)
- def read_config(_config_filename, _program_name, _log_filename, _hostname)
- def exit_critical(_program_name, _log_filename, _hostname)
- def send_telegram_message(telegram_active, telegram_program, telegram_recipient_dict, telegram_message_address,
telegram_message, telegram_picture)
- def get_mobile_device_presence(_wifi_devices_dict, _router_ip_address, _router_password,
_bluetooth_devices_dict,
_scan_for_device_type)
- def test()
## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
## License
[MIT](https://choosealicense.com/licenses/mit/)
PyPI 官网下载 | mh_universal_functions-2020.11.15.8.tar.gz
版权申诉
171 浏览量
2022-01-13
05:20:53
上传
评论
收藏 6KB GZ 举报
挣扎的蓝藻
- 粉丝: 13w+
- 资源: 15万+
最新资源
- 实验二:IP协议分析.zip
- 驱动代码驱动代码驱动代码驱动代码
- SVID_20240523_141155_1.mp4
- Code for the complete guide to tkinter tutorial
- 关于百货中心供应链管理系统.zip
- SimpleFolderIcon-master 修改Unity的Project下的文件夹图标
- A python Tkinter widget to display tile based maps
- A pure Python library for adding tables to a Tkinter application
- Vector资源文件.zip
- MobaXterm-Installer
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈