CGCNN2
A maintained reproduction of the Crystal Graph Convolutional Neural Network (CGCNN) by Xie and Grossman, whose original repository is no longer active. CGCNN remains a small, fast model for predicting material properties from crystal structures that is easy to learn and use.
- Train a model on your own dataset with
cgcnn-tr. - Predict material properties with a trained model with
cgcnn-pr. - Fine-tune a trained model on a new dataset with
cgcnn-ft. - Extract crystal descriptors for downstream tasks with
cgcnn_pred.
Installation
pip install cgcnn2
Documentation
The user guide, examples and API reference are at jcwang.dev/cgcnn2.
Reference
Tian Xie and Jeffrey C. Grossman, "Crystal Graph Convolutional Neural Networks for an Accurate and Interpretable Prediction of Material Properties", Phys. Rev. Lett. 120, 145301 (2018).
Metadata
Release files for cgcnn2 1.0.0
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 |
|---|---|---|---|---|
| cgcnn2-1.0.0.tar.gz | 1.3 MB | With provenance | Details for cgcnn2-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cgcnn2-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for cgcnn2-1.0.0-py3-none-any.whl |
Total release size: 2.5 MB
Release files / cgcnn2-1.0.0.tar.gz
| Download URL | cgcnn2-1.0.0.tar.gz |
|---|---|
| Size | 1.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3f7543587cc267c1c113931452d87de7ef2e204addae2bec62f9bbb196bc7cf3
|
|
BLAKE2b-256 checksum How to use checksums |
8e4e558e55c50c9da57c509c6827b9ec2e6fcc6cc8b0d85efaa78818424cdd35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.
Transparency logRelease files / cgcnn2-1.0.0-py3-none-any.whl
| Download URL | cgcnn2-1.0.0-py3-none-any.whl |
|---|---|
| Size | 1.3 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4f355d512a9eb5e4df10634ffd277edfd64e3ee97702cca68073cf964f7a5877
|
|
BLAKE2b-256 checksum How to use checksums |
470264ab0781533f61fe41256298156c3d3f9313964571285c075a1e04bde1ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.
Transparency logSecurity for cgcnn2 1.0.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for cgcnn2-1.0.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.
Transparency logA 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.