All Projects → stefanhoelzl → Vue.py

stefanhoelzl / Vue.py

Licence: mit
Pythonic Vue.js

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Vue.py

Fritz2
Easily build reactive web-apps in Kotlin based on flows and coroutines.
Stars: ✭ 308 (+38.12%)
Mutual labels:  reactive, framework, frontend
Kvision
Object oriented web framework for Kotlin/JS
Stars: ✭ 658 (+195.07%)
Mutual labels:  reactive, framework, frontend
Cyclow
A reactive frontend framework for JavaScript
Stars: ✭ 105 (-52.91%)
Mutual labels:  reactive, framework, frontend
Mag.js
MagJS - Modular Application Glue
Stars: ✭ 157 (-29.6%)
Mutual labels:  reactive, framework
Carry
ClojureScript application framework.
Stars: ✭ 149 (-33.18%)
Mutual labels:  framework, gui
Awesome Swing
A list of frameworks, libraries and software for the Java Swing GUI toolkit.
Stars: ✭ 154 (-30.94%)
Mutual labels:  gui, client-side
Marble
Marble.js - functional reactive Node.js framework for building server-side applications, based on TypeScript and RxJS.
Stars: ✭ 1,947 (+773.09%)
Mutual labels:  reactive, framework
Legui
Java OpenGL GUI library. Created for using with latest LWJGL (LWJGL 3).
Stars: ✭ 167 (-25.11%)
Mutual labels:  framework, gui
Uibench
UI Benchmark
Stars: ✭ 163 (-26.91%)
Mutual labels:  framework, frontend
Amplesdk
Ample SDK - JavaScript UI Framework
Stars: ✭ 169 (-24.22%)
Mutual labels:  framework, gui
Strudel
A front-end framework for the back-end powered web
Stars: ✭ 180 (-19.28%)
Mutual labels:  framework, frontend
Umbrella
"A collection of functional programming libraries that can be composed together. Unlike a framework, thi.ng is a suite of instruments and you (the user) must be the composer of. Geared towards versatility, not any specific type of music." — @loganpowell via Twitter
Stars: ✭ 2,186 (+880.27%)
Mutual labels:  reactive, gui
Lazy
Kule Lazy4 / CSS Framework
Stars: ✭ 147 (-34.08%)
Mutual labels:  framework, frontend
Playframework
Play Framework
Stars: ✭ 12,041 (+5299.55%)
Mutual labels:  reactive, framework
Omnigui
A cross-platform GUI framework from scratch just to learn
Stars: ✭ 147 (-34.08%)
Mutual labels:  framework, gui
Tawian Frontend
A markdowny CSS framework
Stars: ✭ 167 (-25.11%)
Mutual labels:  framework, frontend
Fe
前端热门文章阅读
Stars: ✭ 174 (-21.97%)
Mutual labels:  framework, frontend
Fgui
A feature rich graphical user interface.
Stars: ✭ 219 (-1.79%)
Mutual labels:  framework, gui
Glimmer
DSL Framework consisting of a DSL Engine and a Data-Binding Library used in Glimmer DSL for SWT (JRuby Desktop Development GUI Framework), Glimmer DSL for Opal (Pure Ruby Web GUI), Glimmer DSL for XML (& HTML), Glimmer DSL for CSS, and Glimmer DSL for Tk (MRI Ruby Desktop Development GUI Library)
Stars: ✭ 186 (-16.59%)
Mutual labels:  framework, gui
Iframework
Simple Unity Framework
Stars: ✭ 110 (-50.67%)
Mutual labels:  framework, gui

vue.py

Build Status PyPI License

use Vue.js with pure Python

vue.py provides Python bindings for Vue.js. It uses brython to run Python in the browser.

Here is a simple example of an vue.py component

from browser import alert
from vue import VueComponent

class HelloVuePy(VueComponent):
    greeting = "Hello vue.py"

    def greet(self, event):
        alert(self.greeting)

    template = """
    <button @click="greet">click me</button>
    """

HelloVuePy("#app")

Installation

$ pip install vuepy

Development Status

The goal is to provide a solution to write fully-featured Vue applications in pure Python.

To get an overview what currently is supported, have a look at the Documentation.

Have a look here to see whats planned!

See also the Limitations

Documentation

Documentation for the last release is available here.

Documentation fo the current master branch can be found here.

Examples can be found here. These are vue.py versions of the Vue.js examples

Performance

Initial loading times of vue.py apps can be very long. Especially when loading a lot of python files. Still figuring out how to solve this.

Have not done any peformance tests, but havent noticed any issues with performance as soon as the app was fully loaded.

Development

Getting Started

Open in gitpod.io

Get the code

$ git clone https://github.com/stefanhoelzl/vue.py.git
$ cd vue.py

Optionally you can create a venv

$ python -m venv venv
$ source venv/bin/activate

Install required python packages, the chromedriver for selenium and brython

$ make env.up

Format the code

$ make format

Run tests

$ make tests           # runs all tets
$ make tests.unit      # runs unit tests
$ make tests.selenium  # runs selenium tests
$ make tests.cli       # runs cli tests
$ make tests TEST=cli/test_provider.py::TestRenderIndex::test_defaults # run explicit test

Run an example

$ make run APP=examples/tree_view  # makes example available on port 5000

Clean up your working directory.

$ make env.clean

Reset your development environment (clean up, reinstall packages and redownload needed files)

$ make env.down
$ make env.up

Publish a new release

$ make release            # bumps minor version number
$ make release MODE=major # bumps major version number
$ make release MODE=patch # bumps patch number

Contributing

see CONTRIBUTING

License

This project is licensed under the MIT License - see the LICENSE file for details

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].