Skip to main content

Vue.py is a progressive, incrementally-adoptable Python framework for building UI on the IPython 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.5.tar.gz (48.5 kB view hashes)

Uploaded Source

Built Distribution

org.vuepy.core-0.1.5-py3-none-any.whl (74.9 kB view hashes)

Uploaded Python 3

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