Skip to main content

Reusable widgets for applications in the AiiDA Lab.

Project description

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)

Demo

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

Demo

License

MIT

Contact

aiidalab@materialscloud.org

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.

MARVEL MaX

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

aiidalab-widgets-base-0.3.0b1.tar.gz (18.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aiidalab_widgets_base-0.3.0b1-py2-none-any.whl (22.4 kB view details)

Uploaded Python 2

File details

Details for the file aiidalab-widgets-base-0.3.0b1.tar.gz.

File metadata

  • Download URL: aiidalab-widgets-base-0.3.0b1.tar.gz
  • Upload date:
  • Size: 18.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15rc1

File hashes

Hashes for aiidalab-widgets-base-0.3.0b1.tar.gz
Algorithm Hash digest
SHA256 f6b063baec7b3b5d7579a9d4d3f71a572f576868d6e330d6dca1c53fd6dd5e19
MD5 ed7544c882419c99d1f9575a80dbf731
BLAKE2b-256 4f085f755bb2250fb1cdc437e4f74ec373641a79c9a1d7cd0b738b8ea4b7dd7a

See more details on using hashes here.

File details

Details for the file aiidalab_widgets_base-0.3.0b1-py2-none-any.whl.

File metadata

  • Download URL: aiidalab_widgets_base-0.3.0b1-py2-none-any.whl
  • Upload date:
  • Size: 22.4 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15rc1

File hashes

Hashes for aiidalab_widgets_base-0.3.0b1-py2-none-any.whl
Algorithm Hash digest
SHA256 ff9c296af34d9efd453793183f10bec966a463e7c84bacaf4779f0808232a323
MD5 c27128e714419620179173d86a6b6b67
BLAKE2b-256 c553d58bf2b4335c5bb910fc19fa40872a085c8b6dfdf4c5090067de459d87d4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page