Skip to main content

AiiDA widgets for the [AiiDA Lab](

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')

![Demo]( "Using the StructureUploadWidget.")

### Codes

Selecting codes
from aiida_widgets import CodeDropdown
from IPython.display import display

# Select from installed codes for '' input plugin
dropdown = CodeDropdown(input_plugin='')

dropdown.selected_code # returns selected code

![Demo]( "Using the CodeDropDown.")

## License


## Contact

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for aiida-widgets, version 0.2.0a0
Filename, size File type Python version Upload date Hashes
Filename, size aiida_widgets-0.2.0a0-py2.py3-none-any.whl (10.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page