manage_crystal
A tool to convert crystal files (atoms coordinates + unit cell) into common files and extract some useful info
Installation:
pip install manage_crystal
Usage:
- to get default info about the crystal:
$ manage_crystal.py inputfilename.inputformat [options]`
- to convert to another format:
$ manage_crystal.py inputfilename.inputformat [options] -o outputfilename.outputformat
or
$ manage_crystal.py inputfilename.inputformat [options] -o outputformat
- to get help and explore the functionalities:
$ manage_crystal.py --help
- to convert files inside a python script:
from manage_crystal.utils import parse_and_write
parse_and_write(inputfile, outputfile)
Tips:
- you may want to use
-silentto suppress default verbose output: several options "skip -silent" so that you can print just that information on the screen (e.g.,-printatoms -silentprints on the screen just the atom types on one line). This make easy to use bash loops for lists of structures.
Development
Install manage_crystal in editable mode, and enable automatic code formatting for every commit:
git clone https://github.com/danieleongari/manage_crystal.git
cd manage_crystal
pip install -e .\[pre-commit\]
pre-commit install
Metadata
Release files for manage-crystal 0.2.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 | |
|---|---|---|---|---|
| manage_crystal-0.2.0.tar.gz | 24.6 kB | Without provenance | Details |
Release files / manage_crystal-0.2.0.tar.gz
| Download URL | manage_crystal-0.2.0.tar.gz |
|---|---|
| Size | 24.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
17423cc1499a9e2931ccdc4437f70b26c823fabf6ead1ab62269e751bb6817cd
|
|
BLAKE2b-256 checksum How to use checksums |
916eecbc445d0ae3e16ef39213b7d9a0d66efd6e3676577b43627ea4a8e19437
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0.post20200106 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6
|
Security for manage-crystal 0.2.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.