Skip to main content

Python code for generation of crystal structures based on symmetry constraints.

Project description


Documentation Status Download Status Download Status Download Status


PyXtal is an open source Python package for generating random crystal structures based on symmetry constraints. The package allows for generation of both atomic and molecular crystals, with both general and special Wyckoff positions. These structures can be output to cif files for optimization and study. The package also allows users to easily access symmetry group information. See the documentation for information about installation and usage.

Codeveloped by Qiang Zhu and Scott Fredericks at department of Physics and Astronomy, University of Nevada Las Vegas. Distributed under the MIT License.

Current Features:

  • Random generation of atomic (3D, 2D, and 1D) crystals and point group clusters for a given symmetry group and stoichiometry
  • Random generation of (rigid) molecular crystals (3D, 2D, and 1D), with special Wyckoff positions. Molecules in special Wyckoff positions are automatically oriented to preserve the space group symmetry
  • Structure output to cif or POSCAR files via pymatgen
  • Easy access to symmetry group information, including Wyckoff positions, site symmetry operations, and point group symbols



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 pyxtal, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size pyxtal-0.0.2-py3-none-any.whl (1.2 MB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size pyxtal-0.0.2.tar.gz (477.7 kB) File type Source Python version None Upload date Hashes View hashes

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