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.2.tar.gz (30.5 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.2-py3-none-any.whl (36.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: npworks_ide-0.0.2.tar.gz
  • Upload date:
  • Size: 30.5 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.2.tar.gz
Algorithm Hash digest
SHA256 5d261ddba08a5d6939e7b19311d68c64ee16f964dec8004c01ca53124e46c56a
MD5 b2c3170bacd62b02e603ed1b7147674d
BLAKE2b-256 ae892e13a57720f1c221c60fddddee51e130a77c1a68236434102bfa04dbea45

See more details on using hashes here.

File details

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

File metadata

  • Download URL: npworks_ide-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 36.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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 453ffdabb9ecf1615071402cbd2426af459b427fd527865afa071a61d3857b46
MD5 b2ffa07d16a02d151813a61a92baf2e5
BLAKE2b-256 3d94d7592aba1affa006f07b301de61357e6d0b1410fb6ed0e0141ef149102f5

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