Skip to main content

A comprehensive CLI tool for VASP pre-processing (Supercells, K-points) and post-processing (DOS, Band Structure plotting)

Project description

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 plotvalyte 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 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

Project details


Download files

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

Source Distribution

valyte-0.25.0.tar.gz (4.8 MB view details)

Uploaded Source

Built Distribution

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

valyte-0.25.0-py3-none-any.whl (4.8 MB view details)

Uploaded Python 3

File details

Details for the file valyte-0.25.0.tar.gz.

File metadata

  • Download URL: valyte-0.25.0.tar.gz
  • Upload date:
  • Size: 4.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for valyte-0.25.0.tar.gz
Algorithm Hash digest
SHA256 44979420cb33a4bc9a85e485ede9a33c200c3a2a174b4014903303616e21eabb
MD5 58c5f4be3a80a2a7f070553770879d9d
BLAKE2b-256 83f9cb23029de575bc9d4a7f9593529604acdc39f80ba3d5a6986ac57fe7ad12

See more details on using hashes here.

File details

Details for the file valyte-0.25.0-py3-none-any.whl.

File metadata

  • Download URL: valyte-0.25.0-py3-none-any.whl
  • Upload date:
  • Size: 4.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for valyte-0.25.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c2c6a259e60da83852aa3dd7b5b13affab4a87740b61f26469ea828469f055e3
MD5 ed03d6156e617b57e2d558164ed1e57f
BLAKE2b-256 0408e54e3bb2594e0804758d113c8fd70732c68afb4897023e92a1ab0e4af3bf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page