Skip to main content

Valyte Logo

PyPI Version Python Versions Docs License

Publication-quality VASP pre- and post-processing from a single CLI.


Valyte turns raw VASP output into clean, publication-ready plots and analysis — band structures, density of states, effective masses, convergence diagnostics, and more — all from one command-line tool. No boilerplate scripts, no Jupyter notebooks, no manual formatting.

✨ Highlights

  • One command, one plot — valyte band, valyte dos, valyte converge — each produces a publication-quality figure with zero configuration.
  • Orbital & spin resolution — Tricolor orbital-projected bands, spin-resolved channels, and non-collinear spin textures out of the box.
  • Smart pre-processing — Automatic high-symmetry k-paths (Bradley–Cracknell), supercell generation, and POTCAR handling.
  • Data export — Every plot command supports --save-data to export raw data for custom post-processing.
  • Vector output — --format pdf|svg|png writes journal-ready figures straight from the CLI.
  • Beautiful defaults — Gradient fills, adaptive legends, and clean typography that look great in papers without tweaking.

📸 Gallery

DOS Plot Example Band Structure Example

Left: Orbital-resolved density of states with gradient fills. Right: Color-coded band structure with VBM at 0 eV.

🚀 Quick Start

pip install valyte

Then, from a directory containing your VASP output files:

valyte dos                      # Plot density of states
valyte band                     # Plot band structure
valyte converge --forces        # Check relaxation convergence

That's it. See the Getting Started guide for a complete walkthrough.


Features

Pre-processing

Command Description
valyte supercell Generate supercells from POSCAR files
valyte kpt Interactive or batch KPOINTS generation (Monkhorst-Pack / Gamma)
valyte band kpt-gen Automatic high-symmetry k-path (Bradley–Cracknell by default)
valyte potcar Generate POTCAR from POSCAR species

Post-processing

Command Description
valyte dos Total and projected DOS with orbital resolution, custom colors (--colors-file, --colors), and gradient fills
valyte dos --panels Stacked per-element (or per-orbital) DOS panels

| valyte band | Color-coded band structure with VBM aligned to 0 eV | | valyte band --tricolor | Orbital-resolved tricolor band structure | | valyte band --spin-resolved | Spin-polarized band structure — spin-up and spin-down channels | | valyte band --spin-texture | Non-collinear spin texture — bands colored by Sₓ, Sᵧ, or S_z | | valyte ipr | Inverse Participation Ratio from PROCAR | | valyte effmass | Carrier effective masses at VBM/CBM from parabolic fitting | | valyte converge | Ionic and SCF convergence monitor with multi-panel plots |


Installation

From PyPI (recommended)

pip install valyte

Update to the latest version

pip install --upgrade valyte

From source (for development)

git clone https://github.com/nikyadav002/Valyte-Project
cd Valyte-Project
pip install -e .

Requirements

  • Python ≥ 3.8
  • Dependencies (numpy, matplotlib, pymatgen, scipy, click, seekpath) are installed automatically.
  • For valyte potcar: requires pymatgen pseudopotential setup.

Documentation

📖 Full Documentation → valyte-project.readthedocs.io

The documentation site includes:

Page What you'll find
Getting Started Installation, prerequisites, and your first plot
Band Structure Standard, tricolor, spin-resolved, and spin-texture modes
Density of States Total and projected DOS with orbital resolution
Effective Mass Carrier effective masses from parabolic fitting
Convergence Ionic, electronic, force, and pressure convergence
IPR Wavefunction localization analysis
Pre-processing Supercells, k-points, and POTCAR generation
CLI Reference Every command and flag in one searchable page
FAQ Common issues and troubleshooting

Contributing

Contributions are welcome! Whether it's a bug report, feature request, or pull request — all help is appreciated.

See CONTRIBUTING.md for detailed guidelines.


License

This project is licensed under the MIT License.


Built by Nikhil Singh

Metadata

Release files for valyte 0.26.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for valyte 0.26.0
File Size Uploaded Provenance
valyte-0.26.0.tar.gz 4.8 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for valyte 0.26.0
File Interpreter ABI Platform
valyte-0.26.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.6 MB

Release files / valyte-0.26.0.tar.gz

Download URL valyte-0.26.0.tar.gz
Size 4.8 MB
Tags Source
SHA-256 checksum
How to use checksums
44c3f5841eed518700387b0217913294796f258e641fa894d0c199d83130c004
BLAKE2b-256 checksum
How to use checksums
6ca649f50d5319056372493194c48c304e752a38cd3e1498832444a0e6d57df8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.8

Release files / valyte-0.26.0-py3-none-any.whl

Download URL valyte-0.26.0-py3-none-any.whl
Size 4.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
ad78dc310da66ae659329799376145f1690b35107013ffa0ca31361adde92dba
BLAKE2b-256 checksum
How to use checksums
0b4adb92b92e96ed56e2c6fe535838453168620ff23bebae16c24f1937f2030e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.8

Security for valyte 0.26.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

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