This release is a pre-release and may not be stable for production use.
aseview
Interactive molecular viewer for ASE (Atomic Simulation Environment).
aseview turns ASE Atoms — structures, trajectories, normal modes and
volumetric data — into interactive 3D viewers. Every viewer is one
self-contained HTML page, and the same engine runs in Jupyter, saved files, the
CLI, any web page, and VS Code.
Install
pip install aseview # Python 3.11+
pip install "aseview[surface]" # + CUBE/CHGCAR isosurfaces
pip install "aseview[export]" # + save_png()/save_gif() from Python
See Installation for details. Upgrading from 0.0.x? Version 1.0 renames and validates settings; see Migrating to 1.0.
Use
aseview molecule.xyz # structure or trajectory
aseview reactant.xyz product.xyz # overlay
aseview molecule.xyz --hess orca.hess # normal modes
aseview molecule.xyz -v frag # fragment selector
aseview HOMO.cube -v surface # isosurfaces
from ase.io import read
from aseview import MolecularViewer, view
atoms = read("molecule.xyz")
MolecularViewer(atoms, style="glossy").show() # Jupyter
MolecularViewer(atoms).save_html("molecule.html")
view(atoms, style="cinematic") # quick render, no sidebar
| Viewer | For |
|---|---|
| MolecularViewer | Structures and trajectories |
| OverlayViewer | Comparing structures, with Kabsch alignment |
| NormalViewer | Vibrational modes from ASE, ORCA .hess or VASP OUTCAR |
| FragSelector | Picking atoms in synchronized 2D/3D panels |
| SurfaceViewer | Orbital, density and density-difference isosurfaces |
LiteViewer / view() |
Quick renders without the sidebar |
Every option is a validated viewer setting
with the same name in Python, the CLI
and JavaScript. aseview ships ten rendering styles
and five themes: spring (default), simple,
glass, dark and darkgreen.
JavaScript
<div id="viewer" style="width:100%; height:500px;"></div>
<script src="https://cdn.jsdelivr.net/gh/kangmg/aseview@main/aseview/viewer_assets/aseview-viewer.js"></script>
<script>
const viewer = new ASEView.MolecularViewer('#viewer', { viewPreset: 'z' });
viewer.setData({
symbols: ['O', 'H', 'H'],
positions: [[0, 0, 0.117], [0, 0.757, -0.469], [0, -0.757, -0.469]]
});
</script>
See the JavaScript module, live demo and playground.
VS Code
vscode-extension/ is a custom editor for *.xyz, *.extxyz, *.cif,
*.pdb, *.vasp, POSCAR and CONTCAR. It parses files with ase-ts, so no
Python is needed. Tagged releases attach aseview-vscode-<version>.vsix to the
GitHub Release; install it with Extensions → Install from VSIX.... See
vscode-extension/README.md for settings
and commands.
Development
git clone https://github.com/kangmg/aseview.git
cd aseview
python3 scripts/run_locked_verification.py python -m pytest tests/test_imports.py -q
Checks use the committed hash-locked verification runner, not an editable checkout install. AGENTS.md maps the code base and DEPLOY.md the release process.
License
MIT
Metadata
Release files for aseview 1.0.0b1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aseview-1.0.0b1.tar.gz | 312.3 kB | With provenance | Details for aseview-1.0.0b1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aseview-1.0.0b1-py3-none-any.whl | Python 3 | none | any | Details for aseview-1.0.0b1-py3-none-any.whl |
Total release size: 587.4 kB
Release files / aseview-1.0.0b1.tar.gz
| Download URL | aseview-1.0.0b1.tar.gz |
|---|---|
| Size | 312.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cfe36a978ce6acaf19ae45801de84c83b69d2182800be16c9152492bfc9975ca
|
|
BLAKE2b-256 checksum How to use checksums |
fce639f5973ad6b4d5996b80bd4e562c06fee40843c3d5e25708530717c10820
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 27, 2026.
Transparency logRelease files / aseview-1.0.0b1-py3-none-any.whl
| Download URL | aseview-1.0.0b1-py3-none-any.whl |
|---|---|
| Size | 275.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
befe58f288a56d95d627b733764a3957dc70510c4a23e411e02fd5f2e7627a89
|
|
BLAKE2b-256 checksum How to use checksums |
0e1c013fc19fb7b7e9985c76b3993911bfc268dae03b621622c8f110b4d381ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 27, 2026.
Transparency logSecurity for aseview 1.0.0b1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for aseview-1.0.0b1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 27, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.