semvec/pypi-packages huggingface dataset:
aiida-widgets 0.2.0a1
AiiDA widgets for the [AiiDA Lab](aiidalab.materialscloud.org).
License: MIT

# 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
```python
from aiida_widgets import StructureUploadWidget
from IPython.display import display

widget = StructureUploadWidget()
# Enforce node format to be CifData:
# widget = StructureUploadWidget(node_class='CifData')
display(widget)
```

![Demo](https://image.ibb.co/fjnHco/structure.gif "Using the StructureUploadWidget.")

### Codes

Selecting codes
```python
from aiida_widgets 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](https://image.ibb.co/gSFFf8/codes.gif "Using the CodeDropDown.")

## License

MIT

## Contact

aiidalab@materialscloud.org
hoedown 0.3.0
The Python binding for Hoedown, a markdown parsing library.
License: MIT

python-hoedown
==============

.. image:: https://secure.travis-ci.org/hhatto/python-hoedown.png?branch=master
    :target: https://travis-ci.org/hhatto/python-hoedown

The Python binding for hoedown_, a markdown parsing library.
the original code of the misaka_ library by Frank Smit.

.. _hoedown: https://github.com/hoedown/hoedown
.. _misaka: https://github.com/FSX/misaka


Installation
------------

Cython is only needed to compile .pyx file.

With pip::

    pip install hoedown

Or manually::

    python setup.py install


Example
-------

Very simple example::

    from hoedown import Markdown, HtmlRenderer

    rndr = HtmlRenderer()
    md = Markdown(rndr)

    print md.render('some text')

Or::

    import hoedown as m
    print m.html('some other text')


Command Line Tool
-----------------

output from Markdown to HTML::

    hoedownpy MARKDOWNFILE.md


For Maintainer
--------------

intall development requirements::

    pip install -e ".[dev]"


build::

    invoke all