My short description for my project.
Project description
测试
练习使用psutil获取相关指标并上传包到pypi:
- 内存(memeroy)
- 网络(network)
- 磁盘(disk)
- cpu
说明
Monitor类包含cpu()、mem()、net() 、disk()方法分别用于获取cpu、内存、网络及磁盘相关信息。 MyProvider类封装了产生数据的相关方法... ex:
# 自定义生成数据元祖/列表
source_name = ['name', 'email', 'address',
'ssn', 'company', 'job',
'phone_number', 'email'
]
provider = MyProvider()
test_data = provider.function_random(source_name, locale='zh_CN')
print(test_data)
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
khnilPypiDemo-0.1.0.tar.gz
(6.5 kB
view hashes)
Built Distribution
Close
Hashes for khnilPypiDemo-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4808daeb1eeec9b35065ef9c2a4438bb91ffd7678e349701241aa97cd164b4ea |
|
MD5 | c8b5fa3ab864fceebf674acb7642d2ec |
|
BLAKE2b-256 | f42ee23c9de742cc25542c7b9a0b621ee875d9bfe7845910fc8dee7aacb89372 |