Skip to main content

NPworks — 计算物理交互式教材内容

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

Uploaded Source

Built Distribution

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

npworks_content-0.0.1-py3-none-any.whl (40.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for npworks_content-0.0.1.tar.gz
Algorithm Hash digest
SHA256 546286300cf6c01ffcc7131ffd22078bd93b10fd5876b731476e11a43f9157aa
MD5 0f4fa5dffffa85e3e9159d9ac042105b
BLAKE2b-256 c4b81c17572d72e5c0b757c82a54dda6351bf783f59e442271484019dedd4cbd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for npworks_content-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e1370c0fed5fece274eca7835f58ae403227b3d4f568311b3fd15eb7fec826aa
MD5 26312dfd90be3fa089d5340f1fce8a7d
BLAKE2b-256 29863ff2fe7b9ade9e20f7aca6a707b8e1f4235e9d5b8dd591deed0142a5b256

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