Skip to main content

v_ase logo

v_ase

PyPI version Python versions Documentation Status License: AGPL v3+

v_ase is a local, ASE-native 3D workspace for structures, trajectories, and volumetric fields. Open a file from the terminal or Python, inspect and edit it in a browser, analyze atomistic data, and export projects, figures, movies, offline HTML, or reusable 3D scenes.

Documentation · PyPI · Changelog · Issues

v_ase structure-editing overview

Quick start

Install from PyPI:

python -m pip install v_ase-gui

Open a file in lightweight View mode:

v_ase gui POSCAR
v_ase gui trajectory.extxyz
v_ase gui CHGCAR

Start in Edit, or build from an empty editable document:

v_ase gui structure.vasp --interactive
v_ase gui

No Node.js installation or hosted account is required. v_ase runs a loopback-only local server and opens the interface in a normal browser. Closing the final v_ase page releases the default blocking process.

Five-minute tour

  1. Middle-drag to orbit, Shift + middle-drag to pan, and use the wheel to zoom.
  2. Left-click an atom; Shift-click or Shift-box inverts the current selection.
  3. Select two, three, or four atoms in order to measure distance, angle, or torsion.
  4. Switch to Edit, select atoms, press Esc to focus the viewport, then use G, R, or physical S. Type a value and press Enter for an exact edit.
  5. Use Export > Save Project for a complete .vase, or include the interactive rendered view to create a restorable offline HTML project.

Continue with Installation and First session.

Why v_ase?

Area What it provides
ASE-native workflow One Atoms, a sequence of frames, or a supported path; caller-owned objects are copied
Direct structure editing Exact move/rotate/scale, copy/paste, atom and molecule insertion, ASE bulk building, constraints, undo/redo
Periodic systems Visual and physical supercells, wrapping, commensurate 2D cells, registry maps, rigid translation
Trajectories and analysis Lazy/indexed playback, displacement, stored forces and arrays, RDF and finite pair distributions
Scalar fields VASP density/potential/ELF, Gaussian Cube and XSF, isosurfaces, planes, and compatible field combinations
Figure preparation Per-label and per-atom styling, custom colormaps, pairwise bonds, flat 2D or shaded 3D, exact Render Area
Portable output Structures, .vase, offline HTML, PNG/JPEG/WebP/PDF, MOV/AVI, Blender, OBJ, and optional Rhino 3DM
Human–AI collaboration Exact semantic state, structured operations, shared GUI revisions, and verified rendering/export

The detailed workflows, scientific meanings, limits, and verification steps are kept in the versioned documentation instead of duplicated in this README.

Python and notebooks

from ase.build import molecule
from v_ase import view

atoms = molecule("H2O")
view(atoms)                         # View mode
edited = view(atoms, viz_only=False)  # Edit; returns a detached Atoms

For a non-blocking session:

editor = view(atoms, block=False)
print(editor.url)
current = editor.get_atoms()
editor.close()

Jupyter automatically uses an inline view. Switch subsequent calls with:

%v_ase inline
%v_ase browser
%v_ase auto

See the Python API and notebook guide.

Remote data

Install the same release locally and remotely, then keep the source data and backend calculations on the SSH host while rendering in a local browser:

v_ase gui USER@SERVER:/absolute/path/to/trajectory.extxyz

v_ase creates and cleans the private tunnel automatically. Exact remote Python selection, jump hosts, lazy trajectories, and failure recovery are covered in Notebooks and remote systems.

Work with an external AI agent

Human and external AI agent working in one live v_ase document

You describe the scientific result to an external AI Agent; the Agent uses the Skill and structured CLI/API; the result appears in the same live GUI. A manual GUI edit becomes the next document revision before another agent mutation.

v_ase does not contain an LLM or interpret natural language. It exposes exact semantic state and a revisioned loopback bridge:

v_ase gui STRUCTURE --interactive --cli
v_ase api "$COMMAND_URL" schema
v_ase api "$COMMAND_URL" capabilities
v_ase api "$COMMAND_URL" describe --params '{"includePositions":true}'

The first CLI stdout line is a JSON handshake; later lines are collaboration events, not a stdin command loop. Semantic state can reduce token use and repeated image interpretation, while decoded renders remain the visual source of truth. Render and export commands omit Base64 data from terminal output by default; agents use --save OUTPUT to write the artifact without spending context on encoded pixels.

Read AI-agent integration and the bundled canonical SKILL.md before automation.

Save, export, and share

Goal Choose
Resume all scientific and visual work Compact .vase project
Resume work and preview in a browser Save Project with interactive rendered view
Share only an offline interactive scene Export HTML View without project embedding
Publish a figure PNG, lossless WebP, JPEG, or rendered PDF
Publish a trajectory H.264 MOV or MPEG-4 AVI
Continue in a 3D tool Blender script, OBJ/MTL ZIP, or optional Rhino 3DM

Standalone HTML opens from file:// without v_ase, Python, a server, or a CDN. The lightweight HTML View is intentionally not editable; embed the project or keep the .vase when full recovery matters.

Rhino export requires one optional extra:

python -m pip install "v_ase-gui[rhino]"

See Projects, rendering, and export and Supported formats.

Documentation map

Need Guide
Install and open the first structure Installation · First session
Understand tabs, View/Edit, and state Workspace model
Select, transform, build, and add atoms/molecules Editing structures
Follow reproducible fixtures Worked examples
Use constraints and relaxation Constraints and relaxation
Analyze trajectories, properties, and RDF Trajectories and analysis
Inspect density, potential, ELF, Cube, or XSF Volumetric fields
Match interfaces and registry Periodic cells and interfaces
Look up commands and shortcuts CLI · Shortcuts
Diagnose an error Troubleshooting

The documentation uses Sphinx, MyST Markdown, and the Read the Docs theme. Build the exact strict site locally:

python -m pip install -r docs/requirements.txt
make -C docs html

Output is written to docs/_build/html.

Development

git clone https://github.com/lgyEthan/v_ase.git
cd v_ase
python -m pip install -e ".[dev]"
python -m playwright install chromium
pytest

Documentation and release requirements are in Contributing documentation and the Release Checklist.

Citation

If v_ase supports published work, cite the exact software version. Citation metadata is provided in CITATION.cff.

License

v_ase is licensed under the GNU Affero General Public License v3.0 or later (AGPL-3.0-or-later). The bundled Three.js module retains its MIT license.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

v_ase_gui-0.2.35.tar.gz (19.3 MB view details)

Uploaded Source

Built Distribution

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

v_ase_gui-0.2.35-py3-none-any.whl (7.6 MB view details)

Uploaded Python 3

File details

Details for the file v_ase_gui-0.2.35.tar.gz.

File metadata

  • Download URL: v_ase_gui-0.2.35.tar.gz
  • Upload date:
  • Size: 19.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for v_ase_gui-0.2.35.tar.gz
Algorithm Hash digest
SHA256 1f3b04bc6264e0f1a5305493e7b348d1dad632e048505167b207608832b96c51
MD5 9be2fbbda9d33d89e249163ce9526046
BLAKE2b-256 d894eb791d48eacc36e1b97c787eeb800e0430a21877c04435be671fe92a951c

See more details on using hashes here.

File details

Details for the file v_ase_gui-0.2.35-py3-none-any.whl.

File metadata

  • Download URL: v_ase_gui-0.2.35-py3-none-any.whl
  • Upload date:
  • Size: 7.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for v_ase_gui-0.2.35-py3-none-any.whl
Algorithm Hash digest
SHA256 e857192494567f0e6904b08c5d01e3db7ae933a8fea05d885e9461e66cb75bab
MD5 06fe60d1068d89a65d9c172fc63a037a
BLAKE2b-256 66df9df4ad58985e74b9782c27fdafc3e9304ab7b9d802c7700e4e3d6d010f36

See more details on using hashes here.

Release history Release notifications | RSS feed

0.3.2

2 files

0.3.1

2 files

0.2.36

2 files

This release

0.2.35 This release

2 files

0.2.34

2 files

0.2.33

2 files

0.2.31

2 files

0.2.30

2 files

0.2.29

2 files

0.2.28

2 files

0.2.27

2 files

0.2.26

2 files

0.2.25

2 files

0.2.24

2 files

0.2.23

2 files

0.2.22

2 files

0.2.21

2 files

0.2.20

2 files

0.2.19

2 files

0.2.18

2 files

0.2.17

2 files

0.2.16

2 files

0.2.15

2 files

0.2.14

2 files

0.2.13

2 files

0.2.12

2 files

0.2.11

2 files

0.2.10

2 files

0.2.9

2 files

0.2.8

2 files

0.2.7

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.1.18

2 files

0.1.17

2 files

0.1.16

2 files

0.1.15

2 files

0.1.14

2 files

0.1.13

2 files

0.1.12

2 files

0.1.11

2 files

0.1.10

2 files

0.1.9

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.0.120

2 files

0.0.119

2 files

0.0.118

2 files

0.0.117

2 files

0.0.116

2 files

0.0.115

2 files

0.0.114

2 files

0.0.113

2 files

0.0.112

2 files

0.0.111

2 files

0.0.110

2 files

0.0.109

2 files

0.0.108

2 files

0.0.107

2 files

0.0.106

2 files

0.0.105

2 files

0.0.104

2 files

0.0.103

2 files

0.0.102

2 files

0.0.101

2 files

0.0.100

2 files

0.0.99

2 files

0.0.98

2 files

0.0.97

2 files

0.0.96

2 files

0.0.95

2 files

0.0.94

2 files

0.0.93

2 files

0.0.92

2 files

0.0.91

2 files

0.0.90

2 files

0.0.89

2 files

0.0.88

2 files

0.0.87

2 files

0.0.86

2 files

0.0.85

2 files

0.0.84

2 files

0.0.83

2 files

0.0.82

2 files

0.0.81

2 files

0.0.80

2 files

0.0.79

2 files

0.0.78

2 files

0.0.77

2 files

0.0.76

2 files

0.0.75

2 files

0.0.74

2 files

0.0.73

2 files

0.0.72

2 files

0.0.71

2 files

0.0.69

2 files

0.0.68

2 files

0.0.67

2 files

0.0.66

2 files

0.0.65

2 files

0.0.64

2 files

0.0.63

2 files

0.0.62

2 files

0.0.61

2 files

0.0.60

2 files

0.0.59

2 files

0.0.58

2 files

0.0.57

2 files

0.0.56

2 files

0.0.55

2 files

0.0.54

2 files

0.0.53

2 files

0.0.52

2 files

0.0.51

2 files

0.0.50

2 files

0.0.49

2 files

0.0.48

2 files

0.0.47

2 files

0.0.46

2 files

0.0.45

2 files

0.0.44

2 files

0.0.43

2 files

0.0.42

2 files

0.0.41

2 files

0.0.40

2 files

0.0.39

2 files

0.0.38

2 files

0.0.37

2 files

0.0.36

2 files

0.0.35

2 files

0.0.34

2 files

0.0.33

2 files

0.0.32

2 files

0.0.30

2 files

0.0.29

2 files

0.0.28

2 files

0.0.27

2 files

0.0.26

2 files

0.0.25

2 files

0.0.24

2 files

0.0.23

2 files

0.0.22

2 files

0.0.20

2 files

0.0.19

2 files

0.0.18

2 files

0.0.17

2 files

0.0.16

2 files

0.0.15

2 files

0.0.14

2 files

0.0.13

2 files

0.0.12

2 files

0.0.11

2 files

0.0.10

2 files

0.0.9

2 files

0.0.8

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page