Skip to main content

Tools for manipulating crystal formats

Project description


A tool to convert crystal files (atoms coordinates + unit cell) into common files and extract some useful info


pip install manage_crystal


  • to get default info about the crystal:
$ inputfilename.inputformat [options]`
  • to convert to another format:
$ inputfilename.inputformat [options] -o outputfilename.outputformat


$ inputfilename.inputformat [options] -o outputformat
  • to get help and explore the functionalities:
$ --help
  • to convert files inside a python script:
from manage_crystal.utils import parse_and_write
parse_and_write(inputfile, outputfile)


  • you may want to use -silent to suppress default verbose output: several options "skip -silent" so that you can print just that information on the screen (e.g., -printatoms -silent prints on the screen just the atom types on one line). This make easy to use bash loops for lists of structures.


Install manage_crystal in editable mode, and enable automatic code formatting for every commit:

git clone
cd manage_crystal
pip install -e .\[pre-commit\]
pre-commit install

Project details

Download files

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

Files for manage-crystal, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size manage_crystal-0.2.0.tar.gz (24.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page