This release is a pre-release and may not be stable for production use.
aiidalab-widgets-base
Reusable widgets for applications in the AiiDA Lab.
Installation
Install the aiidalab_widgets_base python package via:
pip install aiidalab-widgets-base
Install the corresponding aiidalab-widgets-base AiiDA Lab application
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 aiidalab_widgets_base 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 aiidalab_widgets_base 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
Acknowledgements
This work is supported by the MARVEL National Centre for Competency in Research funded by the Swiss National Science Foundation, as well as by the MaX European Centre of Excellence funded by the Horizon 2020 EINFRA-5 program, Grant No. 676598.
Metadata
Release files for aiidalab-widgets-base 1.0.0a4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aiidalab-widgets-base-1.0.0a4.tar.gz | 20.9 kB | Details |
Release files / aiidalab-widgets-base-1.0.0a4.tar.gz
| Download URL | aiidalab-widgets-base-1.0.0a4.tar.gz |
|---|---|
| Size | 20.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b1bde1ceaa3181eaeaefb4cc30e0f7ebc39f014d85e9744786df4fa5c4d4abe0
|
|
BLAKE2b-256 checksum How to use checksums |
b4fbe0aa05778fc941c21828a01d92007b909351e8be7ad896a30a561b7fae83
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/2.7.15rc1
|