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 IPython 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.

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.

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.7.tar.gz (50.0 kB view details)

Uploaded Source

Built Distribution

org.vuepy.core-0.1.7-py3-none-any.whl (76.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: org.vuepy.core-0.1.7.tar.gz
  • Upload date:
  • Size: 50.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.7.tar.gz
Algorithm Hash digest
SHA256 ca2ff4071f48296f81f773ba3a76ec7a58e57df76104eb221bc2713e22bb39aa
MD5 2460af57588647dc7c372c0089713aa5
BLAKE2b-256 040a71980a25aa920eddff2ef559fe991f37ec12be06fb83e522332ef7bf6164

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for org.vuepy.core-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 a737cc50efa5fe353dbe8a6a8e83065a3bd78929edaaa68aeaa1f694ff24ff56
MD5 4ef74b25bdc1bf1d87db9f74eaf13445
BLAKE2b-256 a852958574dfe7bc12ea92275755c2c9c570346b9afb381c36e916e0c18f509c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page