Scripted Forms

https://github.com/SimonBiggs/scriptedforms


Quickly create beautiful reactive GUIs for Python packages using Markdown 
and a few custom HTML elements. Under the hood it uses the Jupyter Notebook 
server, Angular, Angular Material, Phosphor and JupyterLab.


Display is based upon the cell output within JupyterLab's notebook so most 
items that display within the notebook should work here.


To quickly take it for a spin write:


pip install scriptedforms


Then open a python prompt (not an ipython prompt) and copy in the following:


import scriptedforms as sf
# workaround for https://github.com/SimonBiggs/scriptedforms/issues/24def 
create_file(filename, contents):
    with open(filename, 'w') as f:
        f.write(contents)

filename = 'quick-start.md'
markdown_contents = """# An 
example<section-live><variable-string>your_name</variable-string>`print('Hello 
{}!'.format(your_name))`</section-live>"""

create_file(filename, markdown_contents)
sf.load(filename)


See https://github.com/SimonBiggs/scriptedforms for how you can then edit 
the resulting markdown file and how you can use Scripted Forms to quickly 
make GUIs for your python package utilities.


Cheers,

Simon



-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/e066392b-9997-4184-8e8e-5b6865f31b91%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to