pymatgen-analysis-molcrys
Pymatgen namespace addon that exposes MolCrysKit
molecular-crystal workflows under pymatgen.analysis.molcrys.
After installation:
from pymatgen.core import Structure
from pymatgen.analysis.molcrys import TopologicalSlabGenerator, generate_topological_slab
structure = Structure.from_file("molecular_crystal.cif")
slab = generate_topological_slab(structure, (0, 0, 1), layers=3, vacuum=15.0)
# slab is a pymatgen Structure; molecules are not cut through
Install
From this monorepo (development):
pip install -e . # molcrys-kit at repo root
pip install -e addons/pymatgen-analysis-molcrys
From PyPI (when published):
pip install pymatgen-analysis-molcrys
Design
- This package is a thin Structure-facing facade.
- Algorithms live in
molcrys-kit. - Conversion uses MolCrysKit's occupancy-preserving pymatgen bridge
(
MolecularCrystal.to_pymatgen/from_pymatgen), notAseAtomsAdaptor(which rejects partially occupied structures).
Versioning
This addon has its own semver (0.1.0 initially) and depends on
molcrys-kit>=0.8.0b2. Bump the lower bound when the facade needs a newer
engine API.
Metadata
Release files for pymatgen-analysis-molcrys 0.1.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 | |
|---|---|---|---|---|
| pymatgen_analysis_molcrys-0.1.0.tar.gz | 4.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pymatgen_analysis_molcrys-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.5 kB
Release files / pymatgen_analysis_molcrys-0.1.0.tar.gz
| Download URL | pymatgen_analysis_molcrys-0.1.0.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1b55a50c2342abb08a56554d71ddb92032695f5558bc4304bf13fa73700a0f90
|
|
BLAKE2b-256 checksum How to use checksums |
47436c0c24198a8884999620967eca6d556c5debbf7d3f2f0c297334d5099b06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.8
|
Release files / pymatgen_analysis_molcrys-0.1.0-py3-none-any.whl
| Download URL | pymatgen_analysis_molcrys-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6479c595f252375bc555be9eb49185d14cced5f038b7a8c3495cfc8fa4d962dc
|
|
BLAKE2b-256 checksum How to use checksums |
3ee7d3d59bb39466e5ec7dfd557a8637aa496790d3f03197a7f2370710e298cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.8
|
Security for pymatgen-analysis-molcrys 0.1.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.
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.