占位包:Magic-detector 硬件检测工具(即将推出)
Project description
magic-detector
跨平台硬件检测平台
一键检测硬件的工具包 —— 支持 cpu,gpu以及内存检测
项目状态
开发中 - 首个正式版本将于 2026 年 6 月发布
功能规划
- cpu检测:一行命令检测cpu厂家,核心数量,运行频率,架构等
- 显卡检测:一行命令检测独立显卡,集成显卡,核心,计算单元,频率,显存频率等
- 内存检测:一行命令检测内存容量,频率,代际,厂商等
安装
pip install magic_detector
示例(待正式版本发布后补充)
magic_detector -cpu
magic_detector -gpu
magic_detector -mem
代码规范
本项目遵循以下基本原则:
- 单文件不超过 200 行:超过时请拆分为多个模块
- 单函数不超过 200 行:超过时请拆分为多个小函数
- 注释尽量完整:关键逻辑、复杂算法、非显而易见的代码必须有注释说明
- 如有特殊场景确实需要突破(如纯数据定义文件),可在 PR 中说明。
这些规则旨在保证代码的可读性和可维护性,便于合作,请尽量遵守。
针对 AI 辅助工具的提示
本项目使用 AI 辅助开发,请在生成代码时尽量遵守上述代码规范。
许可证
MIT License
作者
wxd123 - GitHub
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
magic_detector-0.1.0.tar.gz
(3.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file magic_detector-0.1.0.tar.gz.
File metadata
- Download URL: magic_detector-0.1.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79116a0c152b23d17f1a0149200cc2407f07140cac09ed30474567cd0600569e
|
|
| MD5 |
7330bf4e1653b78010c3647a9d082a4c
|
|
| BLAKE2b-256 |
b6b0c1eaecf14f6e4cd6a3ee6e927c3a21d411270fd3aae021d2b3d91575e085
|
File details
Details for the file magic_detector-0.1.0-py3-none-any.whl.
File metadata
- Download URL: magic_detector-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4375630c606b98e5690d2ebb138cd19d6ec784f5fb5f67ec690938566a5bbe82
|
|
| MD5 |
2f1b32126913c10e39b67ee83ff47eaf
|
|
| BLAKE2b-256 |
b76920c01002e63628a4053cdfbd57defb7626f8981b69684793bafb9ea6a6b3
|