npworks-ide — NPworks IDE 界面
计算物理交互式教材的 IDE 界面包,基于 PyQt5 + QScintilla,提供 VS Code 风格的桌面编辑器体验。
通常无需单独安装此包,请安装元包
pip install npworks。
功能
- QScintilla 代码编辑器:语法高亮、代码折叠、自动补全、括号匹配、智能缩进
- 多标签页管理:同时打开多个文件,标签页可拖拽排序
- 双主题系统:VS Code 风格亮色/暗色主题
- 三面板底部区:输出面板、IPython 终端 (Jupyter 内核)、Shell 终端
- 查找替换面板
- 文件浏览器 + 教材目录树
- QProcess 异步代码执行,不阻塞 GUI
- Markdown/PDF/图片预览
作为独立安装
pip install npworks-ide
npworks-ide
依赖
- PyQt5 >= 5.15
- QScintilla >= 2.13
- NumPy >= 1.20, SciPy >= 1.7, Matplotlib >= 3.4
- qtconsole >= 5.0
- pywinpty >= 2.0 (Windows)
- npworks-content >= 0.0.1
链接
- 源代码: https://github.com/lzrhzhu/NPworks
- 问题反馈: https://github.com/lzrhzhu/NPworks/issues
- PyPI: https://pypi.org/project/npworks-ide/
License
Metadata
Release files for npworks-ide 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| npworks_ide-0.0.3.tar.gz | 37.6 kB | Without provenance | Details for npworks_ide-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| npworks_ide-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for npworks_ide-0.0.3-py3-none-any.whl |
Total release size: 81.4 kB
Release files / npworks_ide-0.0.3.tar.gz
| Download URL | npworks_ide-0.0.3.tar.gz |
|---|---|
| Size | 37.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
727d931b580bb49f4e4e4cb5d57a90bffde60fa5cdc346d9254312f578810c3c
|
|
BLAKE2b-256 checksum How to use checksums |
417e7d0d0e88f5336024bed8a33af6f8e3aac38af0c91fbce6283c4be32a5c8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.8
|
Release files / npworks_ide-0.0.3-py3-none-any.whl
| Download URL | npworks_ide-0.0.3-py3-none-any.whl |
|---|---|
| Size | 43.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f8ccf5d2d47c0800719ecddb60451386e099aca5ee418dbc07854665ab036f77
|
|
BLAKE2b-256 checksum How to use checksums |
efa4c6f244db0aa9202be0efd9790bda9d31b3f22c117f1ebb94161bcb1c4147
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.8
|
Security for npworks-ide 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.