Skip to main content

AiiDA Lab widgets for the [AiiDA Lab](aiidalab.materialscloud.org).

Project description

aiidalab-widgets-base

Reusable AiiDA Lab widgets for applications in the AiiDA Lab.

Installation

aiidalab_widgets_base python package:

pip install aiidalab-widgets-base 

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

aiidalab_widgets_base-0.2.0a2-py2.py3-none-any.whl (8.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file aiidalab_widgets_base-0.2.0a2-py2.py3-none-any.whl.

File metadata

  • Download URL: aiidalab_widgets_base-0.2.0a2-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.15rc1

File hashes

Hashes for aiidalab_widgets_base-0.2.0a2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 21f1c993285bdc4e5549715fa57fc325f12c35410242100aab5b1df4fce08261
MD5 7dc15d0a172b2e5d59e790a746b4ddf0
BLAKE2b-256 1e38a1ea06fcdd28c08db7459931c351294b9725e667ca7314c35945126af1aa

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