Skip to main content

NPworks — 计算物理交互式教材 IDE 界面

Project description

NPworks — Numerical Physics Works

计算物理交互式教材,基于 PyQt5 的桌面 IDE 应用,内置计算物理教材内容。

安装

pip install npworks

使用

npworks

启动后左侧显示教材章节目录,右侧为代码编辑器,点击章节加载对应 Python 程序,可直接编辑和运行。

项目结构

本项目由三个 PyPI 包组成:

  • npworks — 元包,安装后自动引入 IDE 和教材内容
  • npworks-ide — 基于 PyQt5 的 IDE 界面
  • npworks-content — 教材内容(Python 示例代码 + YAML 元数据)

教材章节

  1. Python 基础
  2. 数值计算(NumPy、积分、ODE)
  3. 经典力学(抛体运动、行星轨道、双摆)
  4. 电磁学(电场、磁场)
  5. 热力学与统计物理(随机行走、分子动力学、热传导)
  6. 量子力学(波函数、薛定谔方程、量子隧穿)
  7. 波动与光学(波动方程、干涉、衍射)

依赖

  • PyQt5 >= 5.15
  • NumPy >= 1.20
  • SciPy >= 1.7
  • Matplotlib >= 3.4
  • Pygments >= 2.0
  • PyYAML >= 6.0

License

MIT

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

npworks_ide-0.0.1.tar.gz (24.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

npworks_ide-0.0.1-py3-none-any.whl (28.1 kB view details)

Uploaded Python 3

File details

Details for the file npworks_ide-0.0.1.tar.gz.

File metadata

  • Download URL: npworks_ide-0.0.1.tar.gz
  • Upload date:
  • Size: 24.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.8

File hashes

Hashes for npworks_ide-0.0.1.tar.gz
Algorithm Hash digest
SHA256 38616993c3c77f73fe4b43e62929f350069dcde476c2a2a3addf30ff6b273dee
MD5 d87f623945dbc2e2498df86885b4b473
BLAKE2b-256 1cdfe5cddff6e9c854d6ef08999c892b66faa9606e7823b189d41e3439011c07

See more details on using hashes here.

File details

Details for the file npworks_ide-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: npworks_ide-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 28.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.8

File hashes

Hashes for npworks_ide-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4e71104d8ba942b5e6fcc6e616121e61f740b9c09f970c042b086ce97f388c3a
MD5 4af451f848700191498d1cb15aaa6e61
BLAKE2b-256 15ca6b228d7b16ba004e214233784629a3d445b659d9de87474894ed3a355982

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page