All Projects → italomaia → Vuejs Python

italomaia / Vuejs Python

Examples showing how to use vuejs with python web frameworks (rest, websocket, etc)

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Vuejs Python

Flask2postman
🚀 Generate a Postman collection from your Flask application
Stars: ✭ 120 (-9.09%)
Mutual labels:  flask
Python Resources 2019
A curated list of Python 3 resources, books, websites, tutorials, code challenges
Stars: ✭ 125 (-5.3%)
Mutual labels:  flask
Reel2bits
Self-hosted Soundtracks and Podcasts sharing, with ActivityPub federation.
Stars: ✭ 128 (-3.03%)
Mutual labels:  flask
Python Tutorial
🏃 Some of the python tutorial - 《Python学习笔记》
Stars: ✭ 122 (-7.58%)
Mutual labels:  flask
Search Libc
Web wrapper of niklasb/libc-database
Stars: ✭ 124 (-6.06%)
Mutual labels:  flask
Soul Manga
react + flask + scrapy 构建的单页应用漫画网站
Stars: ✭ 126 (-4.55%)
Mutual labels:  flask
Dockerized Flask
Dockerized web app using NGINX, Flask and PostgreSQL
Stars: ✭ 119 (-9.85%)
Mutual labels:  flask
Flask On Docker
Stars: ✭ 131 (-0.76%)
Mutual labels:  flask
Explore Flask
Source of Explore Flask book
Stars: ✭ 1,595 (+1108.33%)
Mutual labels:  flask
Openuba
A robust, and flexible open source User & Entity Behavior Analytics (UEBA) framework used for Security Analytics. Developed with luv by Data Scientists & Security Analysts from the Cyber Security Industry. [PRE-ALPHA]
Stars: ✭ 127 (-3.79%)
Mutual labels:  flask
Sapic
sapic(picbed) - 基于Flask的Web自建图床,可存储到又拍云、七牛云、阿里云OSS、腾讯云COS、GitHub、Gitee等,支持自定义扩展。
Stars: ✭ 123 (-6.82%)
Mutual labels:  flask
Jiosaavnapi
An unofficial API for JioSaavn written in Python 3
Stars: ✭ 123 (-6.82%)
Mutual labels:  flask
Flask Calendar
Simple Python & Flask web-calendar
Stars: ✭ 125 (-5.3%)
Mutual labels:  flask
Whoogle Search
A self-hosted, ad-free, privacy-respecting metasearch engine
Stars: ✭ 4,645 (+3418.94%)
Mutual labels:  flask
Freetakserver
an open source, lightweight Server for connect TAK clients
Stars: ✭ 127 (-3.79%)
Mutual labels:  flask
Pyms
Library of utils to create REST Python Microservices
Stars: ✭ 120 (-9.09%)
Mutual labels:  flask
Yspider
yspider -- 轻量级爬虫系统
Stars: ✭ 125 (-5.3%)
Mutual labels:  flask
Mentorship Backend
Mentorship System is an application that matches women in tech to mentor each other, on career development, through 1:1 relations during a certain period of time. This is the backend of this system.
Stars: ✭ 132 (+0%)
Mutual labels:  flask
Wa Reader
💬 WA Reader is a platform to read WhatsApp conversations from email text backups in a easy-to-read UI.
Stars: ✭ 130 (-1.52%)
Mutual labels:  flask
Pyxtermjs
A fully functional terminal in your browser.
Stars: ✭ 127 (-3.79%)
Mutual labels:  flask

Vuejs-Python

This project aims to create various examples showing how to work with vuejs and python based technologies. As vuejs may be integrated in different ways, with different advantages for each approach, having these examples are ideal for the brave-of-heart.

flask-vue

quickstart

docker-compose -f docker-compose.yml -f docker-compose-dev.yml up

flask-vue is the first project made. It shows how to use flask and vuejs to build a non-SPA (single page application). This approach is more appropriate for those with little experience using js/node build tools like webpack_ and browserify_. You'll mostly have to handle python and js code. Another important advantage is that most flask "resources" will still work out-of-the-box, like debug toolbar and csrf protection.

A disvantage for this approach is that it is much less flexible, integrates poorly with other javascript libraries, less performatic, has cache invalidation issues and is not appropriate for larger projects. Depending of how you implement the frontend, you may also see some flickering.

So, how does the flask-vue was built? Basically you have a flask application with support to schemas that loads your vue framework in the index.html page, mounts your Vue element, queries a endpoint and builds your view. Even though this approach produces flickering, it is quite simple to implement. Let's focus on a few highlights:

  • The javascript is generated by webassets, which converts the coffee files on access. Quite convenient.
  • Marshmallow is used for serialization, as it is capable of loading requests into python objects/sqlalchemy objects and serialize them back.
  • Ajax requests are treated by plain views, with exception to the rest api, which is handle by a custom Resource class, which provides a rest api interface.

Be warned that there are a few broken links here and there AND pagination is not implemented visually.

.. _webpack: https://webpack.github.io/ .. _browserify: http://browserify.org/

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