Skip to main content

Vue.py is a progressive, incrementally-adoptable Python framework for building web interface in Jupyter Notebook.

Project description

a progressive, incrementally-adoptable Python framework
for building web interface in Jupyter Notebook.

installation . docs . learn

About

Vue.py (pronounced /vjuːpaɪ/, like "view py") is a reactive Python framework for building web interface in Jupyter. It is built upon standard HTML, CSS, and Python, offering a declarative and component-based programming model that aids in the efficient development of user interfaces. Vue.py is capable of handling both simple and complex interfaces.

  • 🛠️ create custom web interface using pure Python in Jupyter
  • 🤖 prototype within .ipynb or .py files
  • 🪄 reactive: update the data, vuepy will reactively update all dependent view components
  • 🚀 batteries-included: built-in IPywUI includes 37+ commonly used UI components
  • 🚀 batteries-included: Panel-vuepy includes 130+ commonly used UI components
  • 🧩 extensible: can easily integrate third-party python libraries such as plotly, bokeh, panel, pandas, ipyleaflet etc
  • 🖐️ interactive: bind sliders, buttons, plots, and more to Python — no callbacks required
  • 🚀 run in Jupyter, JupyterLab, VSCode, Cursor, Google Colab and more
  • ✨ generate UI interface with one click through AI-driven conversation interface. provide llms.txt, llms-ctx.txt, llms-ctx-ipywui.md, llm-ctx-panel-vuepy.md

Installation

Vue.py is available on PyPI:

pip install vuepy-core

Usage

from vuepy import ref, create_app

def setup(*args):
    count = ref(0)
    
    def counter():
        count.value += 1
    
    return locals()


app = create_app({
    'setup': setup,
    'template': '''
    <Button :label="f'Count is: {count.value}'" 
      @click='counter()'
    ></Button>
    '''
})
app.mount()

Read the documentation to learn more.

Learn more

vuepy is easy to get started with, with lots of room for powers users.

Check out our docs, the examples/ folder, and our gallery to learn more.

Desc Link
Reactivity Read more
Interacting with plotly Read more
Run in VSCode Read more
Building vuepy app with LLMs Read more
vleaflet interactive maps demo Read more, docs

Support

Having trouble? Get help in our Discord or open a Discussion.

Contributing

New contributors welcome!

License

MIT

Project details


Download files

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

Source Distribution

vuepy_core-0.1.11.tar.gz (84.8 kB view details)

Uploaded Source

Built Distribution

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

vuepy_core-0.1.11-py3-none-any.whl (135.0 kB view details)

Uploaded Python 3

File details

Details for the file vuepy_core-0.1.11.tar.gz.

File metadata

  • Download URL: vuepy_core-0.1.11.tar.gz
  • Upload date:
  • Size: 84.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.12

File hashes

Hashes for vuepy_core-0.1.11.tar.gz
Algorithm Hash digest
SHA256 0e5d0f7115c02c52a8826d84f3f1175a9ac971b7fd321c25bb36af1a24af5219
MD5 6871aaa882b40fcca0f4cc773d8faa6d
BLAKE2b-256 644e94d352cbdbd19f008df21c998d2bf08172e16125dd0ce5b5d52531f1f3a7

See more details on using hashes here.

File details

Details for the file vuepy_core-0.1.11-py3-none-any.whl.

File metadata

  • Download URL: vuepy_core-0.1.11-py3-none-any.whl
  • Upload date:
  • Size: 135.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.12

File hashes

Hashes for vuepy_core-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 ebfbdb574ad1f0b17ab576ffef143dd32024e03ddace398e95d9543d1001f02f
MD5 6765a68e379451ff68c38f9e1393fb37
BLAKE2b-256 35343a9d5132be5448a3008807c6abe23bd1460993091deab3644c84ba67e26e

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