Skip to main content

No project description provided

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-1.0.0a6.tar.gz (23.2 kB view details)

Uploaded Source

File details

Details for the file aiidalab-widgets-base-1.0.0a6.tar.gz.

File metadata

  • Download URL: aiidalab-widgets-base-1.0.0a6.tar.gz
  • Upload date:
  • Size: 23.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for aiidalab-widgets-base-1.0.0a6.tar.gz
Algorithm Hash digest
SHA256 eb27c32f8444d95b6ca65f1b3038c43c33f37a45148689279fdb38e3b2f4ae60
MD5 853cb153830d24d6477042c6ce2ceff4
BLAKE2b-256 bd8254c051bde0da9d931787c0e3c832e9152dd5b2ed15bc58e6501074d22382

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