Skip to content

ShapelessCat/upf

Repository files navigation

Unified Pseudopotential Format

CI Crates.io Documentation License: MIT License: Apache-2.0

The Unified Pseudopotential Format (UPF) specification is here: https://pseudopotentials.quantum-espresso.org/home/unified-pseudopotential-format.

This repository provides a Rust library that reads Unified Pseudopotential Format (UPF) text files into typed Rust structs and writes validated UpfData values back to UPF text, enabling semantic round-trips between file content and Rust data.

Project documentation:

Local verification:

  • cargo fmt --check
  • cargo clippy --all-targets -- -D warnings
  • cargo test
  • cargo doc --no-deps

Core API:

  • upf::from_str
  • upf::from_reader
  • upf::from_file
  • upf::to_string
  • upf::to_writer
  • upf::to_file

About

Rust library for reading UPF text into typed structs and writing validated UpfData back to UPF

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE.txt
MIT
LICENSE-MIT.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages