vasprun-xml
A python package for quick analysis of vasp calculation
Decision gist · record as of 2026-08-14
Yes, if you actively run VASP calculations and need quick post-processing. The package is stable (no known vulnerabilities), has low install friction, and covers common analysis tasks. However, maintenance is dormant since early 2022—expect no updates for bugs or new VASP features. If you need active support or cutting-edge VASP compatibility, consider whether the feature set meets your needs before committing.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a valid vasprun.xml file from a completed VASP calculation; Python >= 3.6.1.
- Low friction installation with standard scientific Python dependencies (numpy, scipy, matplotlib, pandas, lxml).
- Maintenance is dormant—last release was 2022-02-14 and no commits since 2024-06-07—so expect no active bug fixes or feature updates.
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions.
last release 2022-02-14 (1642 days) · last repo commit 2024-06-07 · 38 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 562,960 downloads/mo, #5,984 on PyPI
Alternatives
Verify before relying
pip install vasprun-xml
from vasprun_xml import Vasprun
vr = Vasprun('vasprun.xml')
bandgap = vr.bandgap
print(f'Band gap: {bandgap} eV')- Whether elastic constants feature mentioned in description is actually implemented (marked 'to add').
- Current state of the readthedocs documentation and whether all listed features are fully functional.
What it is and what it does
vasprun-xml is a Python package for extracting and analyzing results from VASP (Vienna Ab initio Simulation Package) calculations directly from the vasprun.xml output file. It wraps common post-processing tasks—band gap extraction, density-of-states plotting, band structure visualization with color mapping, and eigenvalue analysis—into a single interface, eliminating the need to write custom parsing code for each calculation.
The package depends on standard scientific Python libraries: numpy for numerical operations, scipy for advanced calculations, matplotlib for plotting, pandas for data handling, lxml for XML parsing, and tabulate for formatted output. It targets researchers and computational materials scientists who run VASP simulations and need quick, reproducible analysis without learning VASP's native tools or writing boilerplate parsing scripts.
Use it for
- Extract band gap values and electronic structure properties from completed VASP calculations for high-throughput screening.
- Generate publication-quality density-of-states and band structure plots with color-mapped orbital contributions.
- Analyze force vectors and dynamical matrices to study phonon properties and structural stability.
- Parse INCAR, POTCAR, and POSCAR files for workflow automation and calculation reproducibility.
- Calculate dielectric constants and polarization from VASP output for ferroelectric or optical property studies.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you actively run VASP calculations and need quick post-processing.
The package is stable (no known vulnerabilities), has low install friction, and covers common analysis tasks. However, maintenance is dormant since early 2022—expect no updates for bugs or new VASP features. If you need active support or cutting-edge VASP compatibility, consider whether the feature set meets your needs before committing.
Install
vasprun-xml on PyPI
Before you install
Low friction installation with standard scientific Python dependencies (numpy, scipy, matplotlib, pandas, lxml). Maintenance is dormant—last release was 2022-02-14 and no commits since 2024-06-07—so expect no active bug fixes or feature updates.
Requires a valid vasprun.xml file from a completed VASP calculation; Python >= 3.6.1.
License in practice
MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions.
Quickstart
pip install vasprun-xml
from vasprun_xml import Vasprun
vr = Vasprun('vasprun.xml')
bandgap = vr.bandgap
print(f'Band gap: {bandgap} eV')
Verify before relying
- Whether elastic constants feature mentioned in description is actually implemented (marked 'to add').
- Current state of the readthedocs documentation and whether all listed features are fully functional.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.6.1 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packageslxmlpandasnumpyscipymatplotlibtabulate |
| Maintenance | Dormant 1,642 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 562,960 / month, #5,984 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3 |
Evidence: vasprun_xml-1.0.4-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “vasp output analysis”
- vasprun-xmlParses VASP calculation output from vasprun.xml files and generates…
- pymatgen-io-validationValidates VASP electronic structure calculation inputs and outputs…
- dpdatadpdata converts and manipulates atomistic simulation data between…
Give your agent the search over MCP, or paste the wish link into any chat.
More Information Analysis packages
A drop-in replacement for Python's standard `re` module that adds advanced regex features like nested sets, fuzzy matching, lookaround in conditionals, and full Unicode case-folding while maintaining backward compatibility.
pyarrow provides Python bindings to Apache Arrow's C++ libraries for efficient columnar data processing, serialization, and interoperability with pandas, NumPy, and other Python ecosystem tools.
NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.
Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.
ContourPy calculates contours of 2D quadrilateral grids using C++11 algorithms wrapped in Python, offering serial and multithreaded implementations without requiring Matplotlib as a dependency.
Snowpark Python provides APIs to query and process data directly in Snowflake without moving data to your local system, with support for both native Snowpark and pandas-compatible interfaces.
Install it if you use Snowflake and want to process data without moving it to your application layer.
See also atomate2 · pymatgen-io-validation · phonopy · pymatgen · dpdata · periodictable · thermo · pyxtal · pymatgen-core · symfc