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 details)
Built Distribution
File details
Details for the file cif_retriever-1.0.0.tar.gz
.
File metadata
- Download URL: cif_retriever-1.0.0.tar.gz
- Upload date:
- Size: 16.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac5d139051c912b18136875a95bb10715a90a73efaa35bd82b24fa6ea3ae2e6a |
|
MD5 | d106ed6ce0679b6e5f7c8585824c9c5b |
|
BLAKE2b-256 | 8462778e00993c776a63c64a4d85e0a9ba7238764c21947ddc46d66c37e2d17d |
File details
Details for the file cif_retriever-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: cif_retriever-1.0.0-py3-none-any.whl
- Upload date:
- Size: 17.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94ca8f176cd38dd7f1bb00a81e75bf425b844e0895c22218107ccae4c3875f43 |
|
MD5 | 93d73baac87b23a2cfc305569252d417 |
|
BLAKE2b-256 | 3892a48ad0828ade9f0bd6f3c305d419be14e2d71e932b469d09f7be5011f8d8 |