一个python包,用于监视airtel宽带网络统计数据、剩余数据、剩余天数等
smartbytes-monitor的Python项目详细描述
python包,用于监视airtel宽带网络统计数据,如剩余数据、天数 向左等。
安装
pip install smartbytes-monitor
或者如果你喜欢生活在流血的边缘:
python setup.py install
用法
只要启动命令smartbytes,它就会告诉您 宽带计划信息。
$ smartbytes ============================= Total data : 30.0 GB Data left : 2.6 GB Days left : 1 day(s) DSL number : 0172xxxxxxx:_dsl =============================
此工具也可用作库:
>>> import smartbytes >>> airtel = smartbytes.smartbytes() >>> airtel.data_total u'30.0 GB' >>> airtel.data_left u'2.6 GB' >>> airtel.days_left u'1 day(s)' >>> airtel.dsl_number u'0172xxxxxxx:_dsl'
许可证
The MIT License