Poshcar - VASP POSCAR text editor package
Author: Andy Paul Chen (MSE, Nanyang Technological University)
Introduction
POSHCAR started as a cabin fever project during the first COVID lockdowns in the United States. It is a simple and lightweight text-based engine for generating and editing files in VASP format, which is one of the simplest and most compact descriptions of a crystal structures currently in use. The development follows an organic and modular development model where new functions are written whenever a project-specific need arises, so expect many changes as I hop from project to project.
How to use demo file
Demo notebooks are organised into 3 parts:
Core modules: Basic operations
Cell-building modules: Functions that lets you generate unit cells, e.g. supercells, organic molecules, slabs
Analytics: Functions involving statistical analysis of a unit cell, e.g. bonding behaviour
The output of the demo operations can be seen in the tests/_demo/ folder.
Modules
Interdependencies of modules are illustrated in the diagram below. The dependency relationship is marked with arrows (dependent -> core). Please use this graph for your reference if you would like to add to Poshcar!
Dependencies
ase, pyvis, rdkit, scipy, pymatgen, chgnet, pandas, networkx
How to install
PyPI release: pip install poshcar
Current github instance: pip install git+https://github.com/andypaulchen/poshcar.git
Developer install (FAFO) version: Download the package, cd to the folder where setup.py is, and then run the edit mode pip install (pip install -e .).
Changelog
You can visit the changelog in docs/changelog.txt for a short summary of changes I made over the years. I'm a bit lazy in the documentation, though.
Current version: 2.1.1
Last update: 19 January 2026
Metadata
Release files for poshcar 2.1.1
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 |
|---|---|---|---|---|
| poshcar-2.1.1.tar.gz | 26.4 kB | Without provenance | Details for poshcar-2.1.1.tar.gz |
Release files / poshcar-2.1.1.tar.gz
| Download URL | poshcar-2.1.1.tar.gz |
|---|---|
| Size | 26.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a4d9275404b8d56e99bf78d74d11aac35443141afb1ff9e318e9670813de03d9
|
|
BLAKE2b-256 checksum How to use checksums |
03827c023269bbf3ad3540f682b82f7fd232e5ea65a7f59ae1db938c87449316
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.11
|
Security for poshcar 2.1.1
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.