Skip to main content

Vue.py is a progressive, incrementally-adoptable Python framework for building UI on the Jupyter Notebook.

Project description

a progressive, incrementally-adoptable Python framework
for building UI on the Jupyter Notebook.

installation . docs . learn

About

Vue.py (pronounced /vjuːpaɪ/, like "view py") is a Python framework for building user interfaces. 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 Jupyter UI using pure Python
  • 🤖 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
  • 🧩 extensible: can easily integrate third-party libraries such as plotly, pandas, 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,

Installation

Vue.py is available on PyPI:

pip install "org.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

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

org.vuepy.core-0.1.8.tar.gz (55.0 kB view details)

Uploaded Source

Built Distribution

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

org.vuepy.core-0.1.8-py3-none-any.whl (81.4 kB view details)

Uploaded Python 3

File details

Details for the file org.vuepy.core-0.1.8.tar.gz.

File metadata

  • Download URL: org.vuepy.core-0.1.8.tar.gz
  • Upload date:
  • Size: 55.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.12

File hashes

Hashes for org.vuepy.core-0.1.8.tar.gz
Algorithm Hash digest
SHA256 789f4cc07f7b22f3576c4b1a65daa744e01eea4429b8865bb08b55609bb9421f
MD5 db0448c70beef0d61130b0e0468be1f8
BLAKE2b-256 a274313471092906402b33692dad9456396a9a780ac85c999ed928ce61219a23

See more details on using hashes here.

File details

Details for the file org.vuepy.core-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: org.vuepy.core-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 81.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.12

File hashes

Hashes for org.vuepy.core-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 a94092b0f2b7c17510e4aa6624ff3778fc0e63bd7b964f2b5084564a01148696
MD5 e093ccb6570b1d3b40e52f4576ab8711
BLAKE2b-256 16f87e38277e7ef014840eeb111b04bd86d2cb8512665f2927ab70112817bc23

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