Init Python Library
This commit is contained in:
1
vue-apps-py/.gitignore
vendored
Normal file
1
vue-apps-py/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.idea
|
||||||
25
vue-apps-py/README.MD
Normal file
25
vue-apps-py/README.MD
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
# vue-apps-py
|
||||||
|
|
||||||
|
This is a library provided as a building block for your Vue Apps written on Python 3
|
||||||
|
|
||||||
|
You will probably need to install ***uvicorn*** to launch a server built with FastAPI
|
||||||
|
|
||||||
|
```shell
|
||||||
|
python3 -m pip install "uvicorn[standard]"
|
||||||
|
```
|
||||||
|
|
||||||
|
After importing an app such as
|
||||||
|
|
||||||
|
main.py:
|
||||||
|
|
||||||
|
```python
|
||||||
|
from vue_apps_py.vue_app_server import VueApp
|
||||||
|
|
||||||
|
app = VueApp()
|
||||||
|
```
|
||||||
|
|
||||||
|
You can launch web server:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
uvicorn main:app --reload
|
||||||
|
```
|
||||||
16
vue-apps-py/pyproject.toml
Normal file
16
vue-apps-py/pyproject.toml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
[build-system]
|
||||||
|
requires = ["setuptools>=61.0"]
|
||||||
|
build-backend = "setuptools.build_meta"
|
||||||
|
|
||||||
|
[project]
|
||||||
|
name = "vue_apps_py"
|
||||||
|
version = "0.0.1"
|
||||||
|
authors = [{ name = "ArbinaHQ", email = "hey@arbina.com" }]
|
||||||
|
description = "Python library for building Vue Apps"
|
||||||
|
readme = "README.MD"
|
||||||
|
requires-python = ">=3.9"
|
||||||
|
classifiers = ["Programming Language :: Python :: 3", "Operating System :: OS Independent"]
|
||||||
|
|
||||||
|
[project.urls]
|
||||||
|
"Homepage" = "https://gitea.arbina.com/ArbinaHQ/arbina-vue-apps-libs"
|
||||||
|
"Bug Tracker" = "https://gitea.arbina.com/ArbinaHQ/arbina-vue-apps-libs/issues"
|
||||||
0
vue-apps-py/src/vue_apps_py/__init__.py
Normal file
0
vue-apps-py/src/vue_apps_py/__init__.py
Normal file
0
vue-apps-py/src/vue_apps_py/vue_app_client.py
Normal file
0
vue-apps-py/src/vue_apps_py/vue_app_client.py
Normal file
0
vue-apps-py/src/vue_apps_py/vue_app_security.py
Normal file
0
vue-apps-py/src/vue_apps_py/vue_app_security.py
Normal file
0
vue-apps-py/src/vue_apps_py/vue_app_server.py
Normal file
0
vue-apps-py/src/vue_apps_py/vue_app_server.py
Normal file
Reference in New Issue
Block a user