Metadata-Version: 2.4
Name: sysinfo-collector
Version: 0.2.2
Summary: 一个获取macOS电脑信息的Python包
Author-email: yuanni <1911398892@qq.com>
License: MIT License
        
        Copyright (c) [2025] [Your Name]
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
Project-URL: Homepage, https://gitee.com/KAERBluetooth/my_uv_project.git
Project-URL: Repository, https://gitee.com/KAERBluetooth/my_uv_project.git
Project-URL: Documentation, https://gitee.com/KAERBluetooth/my_uv_project.git
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: System :: Systems Administration
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: psutil>=7.0.0
Requires-Dist: twine>=6.1.0
Dynamic: license-file

# sysinfo-collector

一个获取电脑系统信息的Python包。可以获取系统基本信息、CPU信息、内存信息和磁盘信息。

## 功能特点

- 获取系统基本信息（操作系统、版本、架构等）
- 获取CPU信息（核心数、频率、使用率等）
- 获取内存信息（总内存、可用内存、使用率等）
- 获取磁盘信息（分区、总容量、已用空间、可用空间、使用率等）

## 安装方法

```bash
pip install sysinfo-collector
```

## 使用示例

```python
from sysinfo import get_system_info, get_cpu_info, get_memory_info, get_disk_info

# 获取系统基本信息
system_info = get_system_info()
print("系统信息:", system_info)

# 获取CPU信息
cpu_info = get_cpu_info()
print("CPU信息:", cpu_info)

# 获取内存信息
memory_info = get_memory_info()
print("内存信息:", memory_info)

# 获取磁盘信息
disk_info = get_disk_info()
print("磁盘信息:", disk_info)
```

## 开发和贡献

1. 克隆仓库: `git clone https://gitee.com/KAERBluetooth/my_uv_project.git`
2. 安装依赖: `uv install`
3. 运行测试: `pytest`

欢迎提交issue和pull request。


## 贡献者

- yuanni - E-mail:1911398892@qq.com - 项目初始开发

## 许可证

本项目使用MIT许可证，详情见LICENSE文件。
