Skip to main content

NPworks — Numerical Physics Works, 计算物理交互式教材

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-0.0.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

npworks-0.0.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for npworks-0.0.1.tar.gz
Algorithm Hash digest
SHA256 1f580bf2350ecc42a559b0adf4acb90d0052fc3ecdddcfbfc356762341b22801
MD5 4711f9717a213e503ef8b2d103c904ba
BLAKE2b-256 dba29bd07ce4cbeb025f404db2b1b9ed237816e63eb047fe68d8a5086515c44c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: npworks-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.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-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ca7d36cede6dec30660735e2c70b3557e0ec46e79e2106c1e17d5a33a431845d
MD5 a3ef41c38ebb64fc9c80a96c6049a7af
BLAKE2b-256 239a7b5178c7abd65690f2ef5317e4357e2af46a19fbba379144a0c044574846

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