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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: org.vuepy.core-0.1.7rc1.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.7rc1.tar.gz
Algorithm Hash digest
SHA256 cded578cdbd78f7fb577bb6978e19a60021b79024f7360a4d8d1e87d35376c62
MD5 a2a7e73ac68eeed8d18154320917b424
BLAKE2b-256 c589a218c6e5552a6824e9a21cd39a31ed0710ea7a04f30eb38491c640b73a1f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for org.vuepy.core-0.1.7rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 886b2579fc02933ca5a4ce89725ab25df17de88703f103f612f1160646453b73
MD5 7bc2c355d43b4e984f1ab35f8cf8b764
BLAKE2b-256 8eb37159ba910fceac4a30b7488019e73ce5ca8c5d03cb943125c7543255e5c0

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