A package include all common part,like function,enum,written by zhangwei(zwzw911)
Project description
#zhangwei_helper
zhangwei_helper is a package include all common part,like function,enum,written
by zhang wei(zwzw911)
install
pip install zhangwei-helper
content
enum
SelfEnum
description: a module include self defined enum
usage:
import zhangwei_helper.SelfEnum as self_enum
- CpuBits: bits64/bits32
- OsType: Windows/Linux
- WindowsVersion: Windows7/Windows8/Windows10/Unknown
- WindowsBits: Win32/Win64
- PythonVersion: Python2/Python3/Unknown
- ProxyType: Transparent/Anonymous/High_anonymous
- BrowserType: FireFox/Chrome/All
function
os
description: a module include some functions about os
usage:
import zhangwei_helper.Os as self_os
- get_cpu_bits(): 枚举(CpuBits):cpu的位数
- get_os_type(): 枚举(OsType):os的类型:windows或者linux
- get_windows_ver(): 枚举(WindowsVersion):windows的版本(7/8/10)
- get_windows_bits(): 枚举(WindowsBits):windows的位数:32或者64
- windows_login_as_admin(): Boolean:当前是否以admin登录
- get_python_major_version():枚举(PythonVersion):返回python的大版本号:2或者3或者unknown
windows_
description: a module include some functions about os
usage:
import zhangwei_helper.WindowsServices as win_ser
- if_service_exists(): Boolean:服务是否存在
- if_service_running(): Booleans:服务是否运行
change history
0.0.1 add SelfEnum/Os/WindowsServices
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
zhangwei_helper-0.0.1.tar.gz
(4.2 kB
view hashes)
Built Distribution
Close
Hashes for zhangwei_helper-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01c25992e6b50fbc34b0bca239a7bb0a217412bfe9ea00f533c8089fad508623 |
|
MD5 | 05d71e1b641460191ebc0c44e273f1d2 |
|
BLAKE2b-256 | 3da253ba9d745d1a136b66aef9d41c6f3e29e17ee9301088ab91a1d26221458b |