Skip to main content
https://img.shields.io/pypi/v/python_vuejs.svg Updates Python 3 https://img.shields.io/pypi/l/python_vuejs.svg https://travis-ci.org/cstrap/python-vuejs.svg?branch=master https://coveralls.io/repos/github/cstrap/python-vuejs/badge.svg?branch=master Documentation Status

Gluing Python and Vue.js with a set of scripts that automate the dev and build process.

Projects aims to be agnostic, just use it in order to automate the boring stuff to setup a Vue.js project.

The point is: you start with SPA app inside your current project and then extract it without having the dependency with backend framework, simply changing the npm build scripts.

Feel free to contribute with PRs and opening issues.

Thanks! Cheers! 🍻

Requirements

  • Python 2.7+ or 3.4+

  • nodejs > 5 and npm > 3

Commands reference

python-vuejs is shipped with a nice cli built on top of click.:

(env) $ pyvue --help
Usage: pyvue [OPTIONS] COMMAND [ARGS]...

Options:
--help  Show this message and exit.

Commands:
djangofy       Convert Vue.js webpack project into a django...
djbuild        Called inside `package.json`
djstartvueapp  Run click commands on bash.
installvuecli  Install vue-cli
startvueapp    Init vue project via vue-cli
vuebuild       Build Vue.js project via npm
vuecheck       Check if node > 5 and npm > 3 are installed
vuedev         Run frontend dev server via npm

Installation

To install python-vuejs, simply::

$ pip install python-vuejs

Vue.js - A quick overview

Wrappers around npm and vue. These commands automate the boring stuff of setup vue via vue-cli::

$ pyvue startvueapp myapp
$ cd myapp
$ pyvue vuedev
...

Before you go on production run::

$ cd myapp
$ pyvue vuebuild
...

Django - A quick overview

Run pyvue djstartvueapp into your django project directory:

(env) $ pyvue djstartvueapp myapp
...
Enjoy!

Command installs all dependencies and make the myapp a django app.

Features

  • Vue.js starter via vue-cli

  • Django integrations with no dependencies

  • Detach backend and frontend with less effort

TODO

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

Metadata

Release files for python_vuejs 1.0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python_vuejs 1.0.9
File Size Uploaded
python_vuejs-1.0.9.tar.gz 22.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for python_vuejs 1.0.9
File Interpreter ABI Platform
python_vuejs-1.0.9-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 31.4 kB

Release files / python_vuejs-1.0.9.tar.gz

Download URL python_vuejs-1.0.9.tar.gz
Size 22.5 kB
Tags Source
SHA-256 checksum
How to use checksums
14fd9d40ca72b299443f37b6c189315e6c905056e8e5a305d7ea830e76e083ba
BLAKE2b-256 checksum
How to use checksums
e72ad8d574521077d5df03e529fb686066dc876eeec568ef27caf6aaabe07f7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / python_vuejs-1.0.9-py2.py3-none-any.whl

Download URL python_vuejs-1.0.9-py2.py3-none-any.whl
Size 8.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
bd06e675b88460811d537bd2c96a06e9e53c214cb96d789564d8ae81e2463f9c
BLAKE2b-256 checksum
How to use checksums
af09b12b533297a04737f2cc6fc52da8142434e0ff3373e102685623649629e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.9 This release

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.0.7

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page