--- id: vbuild version: "0.8.2" license: MIT license_treatment: permissive maintenance: aging --- # vbuild — A simple module to extract html/script/style from a vuejs '.vue' file (can minimize/es2015 compliant js) ... just py2 or py3, NO nodejs ! License: permissive · Maintenance: aging · Downloads: 265.0K/mo ## What it is and what it does vbuild is a Python-only Vue component compiler that extracts HTML templates, JavaScript, and CSS from Vue single-file components (.vue files) without requiring the Node.js ecosystem. It reads .vue files and parses them into their constituent parts, which you can then assemble into your final HTML output. The package respects Vue's SFC specification and can also work with Python-based components, offering optional preprocessing for SASS/LESS stylesheets and JavaScript minification if you install additional libraries. The tool is designed for scenarios where you need Vue component support but cannot or do not want to use webpack, vue-cli, or the full Node.js stack. You write a few lines of Python to read your .vue files, call vbuild.render(), and inject the resulting HTML/script/style into a template. It fills a specific gap: working with Vue components in pure-Python environments, such as server-side template generation or embedded Python applications. Use it for: - Generate static HTML pages with Vue components in a Python-only backend without Node.js. - Build server-side rendered Vue applications using Python frameworks like Flask or Django. - Preprocess and bundle Vue components as part of a Python-based build pipeline. - Use Python logic inside Vue components via vbuild's Python component support. - Minify and optimize Vue component output using closure when optional dependencies are installed. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Compiles Vue single-file components (*.vue) to standalone HTML, JavaScript, and CSS without requiring Node.js, using only Python. Yes, if you need to work with Vue components in a pure-Python environment and cannot use Node.js tooling. The low install friction, permissive license, and lack of known vulnerabilities make it safe to try. However, the aging maintenance status (last release August 2023) means you should verify compatibility with your Vue version and Python version before committing to production use. ## Install pip install vbuild uv add vbuild poetry add vbuild ## Installing vbuild Before you install: Low install friction with a single pure-Python dependency. Maintenance is aging—last release was 2023-08-03 and no commits since 2025-09-24—but the repository remains active and unarchived with modest community interest (251 stars). License in practice: MIT license is permissive; you can use, modify, and distribute vbuild freely in both open and closed projects with minimal restrictions. Quickstart: import vbuild c = vbuild.render("mycompo.vue") print(c.html) print(c.script) print(c.style) Optional features (SASS/LESS preprocessing, JS minification) require separate packages (pyscss, lesscpy, closure) not included by default. Verify before relying: - Whether Python 2.7 support is actively maintained or tested given the aging status. - Compatibility with Vue 3 or whether this is limited to Vue 2 components. - Performance characteristics when rendering large numbers of components or complex nested structures. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: aging - Downloads: 265.0K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags vue component compiler python, vue sfc to html javascript css, vuejs without nodejs, compile vue files python, vue template extraction, vue-compiler, no-nodejs [View on SkillFed](https://skillfed.io/packages/vbuild) · [View on PyPI](https://pypi.org/project/vbuild/)