AiiDA widgets for the [AiiDA Lab](aiidalab.materialscloud.org).
Project description
mc-aiida-widgets
Reusable AiiDA widgets for applications in the AiiDA Lab.
Installation
aiida_widgets
python package:
pip install aiida-widgets
mc-aiida-widgets
Materials Cloud app:
Via the app manager as usual.
Usage
Using the widgets usually just involves importing and displaying them.
For demos, have a look at the jupyter notebooks (.ipynb
extension) in
this folder.
Structures
Uploading structures
from aiida_widgets import StructureUploadWidget from IPython.display import display widget = StructureUploadWidget() # Enforce node format to be CifData: # widget = StructureUploadWidget(node_class='CifData') display(widget)
Codes
Selecting codes
from aiida_widgets import CodeDropdown from IPython.display import display # Select from installed codes for 'zeopp.network' input plugin dropdown = CodeDropdown(input_plugin='zeopp.network') display(dropdown) dropdown.selected_code # returns selected code
License
MIT
Contact
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size aiida_widgets-0.2.0a1-py2.py3-none-any.whl (8.5 kB) | File type Wheel | Python version py2.py3 | Upload date | Hashes View hashes |
Close
Hashes for aiida_widgets-0.2.0a1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6679a4ea4cfd0a328ad02cb5954fd72162fd903e6008a62ef42b8b641d277b42 |
|
MD5 | a38edd1bb00c99f23dfb366ea4f3a02b |
|
BLAKE2-256 | fa33fc2d8221dc76433a0e8225f7b2ee04a594c81cfa992964c5be3c317b8bc0 |