Skip to main content

VDOM for Python

Project description

# [VDOM](

## Why use VDOM?

- Write **Declarative** Pythonic layouts.
- Render the layout in **Jupyter** frontends (jupyterlab, nteract).
- Serialize layout for rehydration in your web app.

## Check out the power of VDOM!

Start with Python code and run it:

from IPython.display import display
from vdom.helpers import h1, p, img, div, b

h1('Our Incredibly Declarative Example'),
p('Can you believe we wrote this ', b('in Python'), '?'),
p('What will ', b('you'), ' create next?'),

**Voila!** Your layout is served below:

# Now Incredibly Declarative

Can you believe we wrote this **in Python**?


What will **you** create next?


## Install the Python package

pip install vdom

## Developer install from source code

git clone
cd vdom
pip install -e .

## Documentation

* [Design Patterns](./docs/
* [Specification](./docs/

## Find out more about nteract

Take a look at the [nteract website]( to see other projects
that we are working on.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for vdom, version 0.6
Filename, size File type Python version Upload date Hashes
Filename, size vdom-0.6-py3-none-any.whl (13.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size vdom-0.6.tar.gz (27.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page