No project description provided
Project description
Short Overview.
ipyvuetify_app is a python package (py>=3.7) with a simple template for writing ipyvuetify application
Examples how your app can look like
Application from the box supports theme switcher and navigation over different content by menus on top
Installation via pip:
pip install ipyvuetify_app
How to use it
from ipyvuetify_app import VueApp
from ipyvuetify_app import VueAppRouter
vue_app_router_example = VueAppRouter()
VueApp(vue_app_router_example)
How to write a Router
Simple Router example
class VueAppRouter():
def __init__(self):
self.dict_list_subitems_by_item = {}
for item in range(5):
list_subitems = [str(subitem) for subitem in range(item, 5 + item)]
self.dict_list_subitems_by_item[str(item)] = list_subitems
def get_main_content(self, item, subitem):
return f"{item} -> {subitem}"
Full VuaApp signature
VueApp(
vue_app_router,
list_vw_fab_app_bar_left=None,
list_vw_fab_app_bar_right=None,
list_footer_vw_children=None,
)
Arguments:
- list_vw_fab_app_bar_left:
- List with ipyvuetify fab icon buttons to put on the left side of Application Header Bar
- list_vw_fab_app_bar_right:
- List with ipyvuetify fab icon buttons to put on the right side of Application Header Bar
- list_footer_vw_children:
- List with ipyvuetify widgets to put in the footerIf empty then footer is not shown at all
VuaApp object description
VuaApp is a child of v.App so it has all the parent methods and attributes
Useful Attributes:
- self.vw_appbar:
- v.AppBar(app=True, …) - Application top bar
- self.vw_navigation_drawer:
- v.NavigationDrawer(app=True, …) - Navigation Drawer at the left side
- self.vw_app_main:
- v.Content() - Main section of the application
- self.vw_footer:
- v.Footer(app=True, …) - Footer of the application
Useful Methods:
- self.update_app_routing():
- When router items were updated please call this method to update application menus
Links
Project local Links
Contacts
License
This project is licensed under the MIT License.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ipyvuetify_app-0.1.6.tar.gz.
File metadata
- Download URL: ipyvuetify_app-0.1.6.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.6 CPython/3.8.1 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b721ff21d164ec478a25ac8851b4bd8111aa73d4f421e2641ab7a2bcf43e6507
|
|
| MD5 |
c17c48067822a660ed4090d06eccd976
|
|
| BLAKE2b-256 |
a957fd66233124c2ccbb016c042ecc160d8c7d38f6257d262d793a00337ff033
|
File details
Details for the file ipyvuetify_app-0.1.6-py3-none-any.whl.
File metadata
- Download URL: ipyvuetify_app-0.1.6-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.6 CPython/3.8.1 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9c85f7d2e66e5ade65c6ca2ce4974974531829e34a62f982c8202b887492016
|
|
| MD5 |
283a9df0fc54ef14a03cdfa6bbff4d01
|
|
| BLAKE2b-256 |
31452899157c756a0f035c9f18438924a7cc9b0e4d9ab438fa4347c842c314ac
|