CIF file retriever form pymatgen
Project description
CIFretriver
This python app retrieves data from the Materialproject API
- Make sure to get MP API KEY: https://materialsproject.org/open;
- Install requirements with python -m pip install -r requirements.txt or look at https://pymatgen.org/installation.html if you have any installation issues or MacOS;
- Run main.py module, it will demand the API KEY you've got and then creates config.json file required for API authentification;
- Insert "pretty formula" aka "SnO2" or "TiO2", then a query will be got;
- You can save the query with the name 'pretty formula'.csv into the 'csv_data_set_for_elements' directory if you chose to, that will be created or updated automatically;
- Then you can insert a material_id, this will retrieve you the conventional standard structure .cif file for requested material;
- You can also plot material bandstructure; If you using linux try: sudo apt-get install python3-tk;
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cif_retriever-1.0.0.tar.gz
(16.8 kB
view hashes)
Built Distribution
Close
Hashes for cif_retriever-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94ca8f176cd38dd7f1bb00a81e75bf425b844e0895c22218107ccae4c3875f43 |
|
MD5 | 93d73baac87b23a2cfc305569252d417 |
|
BLAKE2b-256 | 3892a48ad0828ade9f0bd6f3c305d419be14e2d71e932b469d09f7be5011f8d8 |