Other

项目介绍

openPMD/openPMD-viewer 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,采用 Other 许可证,目前获得 70 个 Star、55 次 Fork。

仓库全名
openPMD/openPMD-viewer
开源许可证
Other
Star 数
70
Fork 数
55
未关闭 Issue
60

README 摘要

openPMD-viewer Overview This package contains a set of tools to load and visualize the contents of a set of openPMD files (typically, a timeseries). The routines of openPMD-viewer can be used in two ways : Use the Python API, in order to write a script that loads the data and produces a set of pre-defined plots. Use the interactive GUI inside the Jupyter Notebook, in order to interactively visualize the data. Usage…

完整内容见 GitHub 原始 README 或本页 。

常见问题

openPMD-viewer 用什么语言开发?

主要使用 Python 编写,采用 Other 许可证,目前有 70 个 Star。

openPMD-viewer 可以免费商用吗?

仓库标注的许可证为 Other,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 openPMD-viewer 的源码?

可以直接克隆仓库:git clone https://github.com/openPMD/openPMD-viewer.git,默认分支为 dev;安装与运行步骤见仓库 README。

openPMD-viewer 最近还在维护吗?

仓库最近一次更新为 2025年10月2日,当前有 60 个未关闭 Issue;Star 数为 70,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

:snake: Python visualization tools for openPMD files

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
189
价值分
56
活跃状态
活跃

语言占比

Jupyter Notebook
Python

Release

README

openPMD-viewer

pypi version Binder License

Overview

This package contains a set of tools to load and visualize the contents of a set of openPMD files (typically, a timeseries).

The routines of openPMD-viewer can be used in two ways :

  • Use the Python API, in order to write a script that loads the data and produces a set of pre-defined plots.

  • Use the interactive GUI inside the Jupyter Notebook, in order to interactively visualize the data.

Usage

Tutorials

The notebooks in the folder tutorials/ demonstrate how to use both the API and the interactive GUI. You can view these notebooks online here.

Alternatively, you can even run our tutorials online!

You can also download and run these notebooks on your local computer (when viewing the notebooks with the above link, click on Raw to be able to save them to your local computer). In order to run the notebook on your local computer, please install openPMD-viewer first (see below), as well as wget (pip install wget).

Notebook quick-starter

If you wish to use the interactive GUI, the installation of openPMD-viewer provides a convenient executable which automatically creates a new pre-filled notebook and opens it in a browser. To use this executable, simply type in a regular terminal:

openPMD_notebook

(This executable is installed by default, when installing openPMD-viewer.)

Installation

Installation on a local computer

Installation with conda

In order to install openPMD-viewer with conda, please install the Anaconda distribution, and then type

conda install -c conda-forge openpmd-viewer

If you are using JupyterLab, please also install the jupyter-matplotlib extension (See installation instructions here).

Installation with pip

You can also install openPMD-viewer using pip

pip install openpmd-viewer

In addition, if you wish to use the interactive GUI, please type

pip install jupyter

Installation on a remote scientific cluster

If you wish to install the openPMD-viewer on a remote scientific cluster, please make sure that the packages numpy, scipy and h5py are available in your environment. This is typically done by a set of module load commands (e.g. module load h5py) – please refer to the documentation of your scientific cluster.

Then type

pip install openPMD-viewer --user

Note: The package jupyter is only required for the interactive GUI and thus it does not need to be installed if you are only using the Python API. For NERSC users, access to Jupyter notebooks is provided when logging to https://ipython.nersc.gov.

Contributing to the openPMD-viewer

We welcome contributions to the code! Please read this page for guidelines on how to contribute.

评论

暂无评论