{"id":13498832,"url":"https://github.com/widgetti/ipyvuetify","last_synced_at":"2025-12-12T01:02:23.680Z","repository":{"id":41394928,"uuid":"186670393","full_name":"widgetti/ipyvuetify","owner":"widgetti","description":"Jupyter widgets based on vuetify UI components","archived":false,"fork":false,"pushed_at":"2025-02-28T09:50:34.000Z","size":4216,"stargazers_count":354,"open_issues_count":92,"forks_count":59,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-05-11T13:18:12.762Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/widgetti.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-05-14T17:35:51.000Z","updated_at":"2025-04-28T14:22:21.000Z","dependencies_parsed_at":"2024-01-16T09:57:20.133Z","dependency_job_id":"9e58628a-5daa-4310-b339-3f457f3fa709","html_url":"https://github.com/widgetti/ipyvuetify","commit_stats":{"total_commits":212,"total_committers":14,"mean_commits":"15.142857142857142","dds":0.4575471698113207,"last_synced_commit":"36ddc38c48ffae4d59286621b780b75a52359470"},"previous_names":["mariobuikhuizen/ipyvuetify"],"tags_count":38,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/widgetti%2Fipyvuetify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/widgetti%2Fipyvuetify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/widgetti%2Fipyvuetify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/widgetti%2Fipyvuetify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/widgetti","download_url":"https://codeload.github.com/widgetti/ipyvuetify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254422754,"owners_count":22068678,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T21:00:45.253Z","updated_at":"2025-12-12T01:02:23.635Z","avatar_url":"https://github.com/widgetti.png","language":"Python","funding_links":[],"categories":["Interactive Widgets \u0026 Visualization","交互式小部件和可视化","Interactive Widgets"],"sub_categories":["Interactive Jupyter Widget Ecosystem"],"readme":"# ipyvuetify\n\n[![Documentation](http://readthedocs.org/projects/ipyvuetify/badge/?version=latest)](https://ipyvuetify.readthedocs.io/en/latest/?badge=latest)\n[![Version](https://img.shields.io/npm/v/jupyter-vuetify.svg)](https://www.npmjs.com/package/jupyter-vuetify)\n[![Version](https://img.shields.io/pypi/v/ipyvuetify.svg)](https://pypi.python.org/project/ipyvuetify)\n[![Conda Version](https://img.shields.io/conda/vn/conda-forge/ipyvuetify.svg)](https://anaconda.org/conda-forge/ipyvuetify)\n[![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/mariobuikhuizen/ipyvuetify/master?filepath=examples%2FExamples.ipynb)\n[![Black badge](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![conventional commit](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org)\n\nJupyter widgets based on [vuetify UI components](https://v2.vuetifyjs.com/) which implement Google's\n[Material Design Spec](https://material.io/) with the [Vue.js framework](https://vuejs.org/).\n\nA small selection of widgets:\n\n![ipyvuetify](https://user-images.githubusercontent.com/46192475/79730684-78954880-82f1-11ea-855b-43a2b619ca04.gif)\n\n## Installation\n\nTo install use pip:\n\n    $ pip install ipyvuetify\n\n    # for Jupyter Lab \u003c 3\n    $ jupyter labextension install jupyter-vuetify\n\nFor a development installation (requires npm),\n\n    $ git clone https://github.com/mariobuikhuizen/ipyvuetify.git\n    $ cd ipyvuetify\n    $ pip install -e \".[dev]\"\n    $ pre-commit install\n    $ jupyter nbextension install --py --symlink --sys-prefix ipyvuetify\n    $ jupyter nbextension enable --py --sys-prefix ipyvuetify\n\n## Documentation\n\nTo get started with using ipyvuetify, check out the full documentation\n\nhttps://ipyvuetify.readthedocs.io/\n\n## Usage\n\nFor examples see the [example notebook](examples/Examples.ipynb).\n\nThe [Vuetify documentation](https://v2.vuetifyjs.com/components/buttons#buttons) can be used to find all available\ncomponents and attributes (in the left side bar or use the search field). Ipyvuetify tries to stay close to the Vue.js\nand Vuetify template syntax, but there are some differences:\n\n| Description                                                             | Vuetify                                 | ipyvuetify                              |\n| ----------------------------------------------------------------------- | --------------------------------------- | --------------------------------------- |\n| Component names are in CamelCase and the v- prefix is stripped          | `\u003cv-list-tile .../\u003e`                    | `ListTile(...)`                         |\n| Child components and text are defined in the children traitlet          | `\u003cv-btn\u003etext \u003cv-icon .../\u003e\u003c/v-btn\u003e`     | `Btn(children=['text', Icon(...)])`     |\n| Flag attributes require a boolean value                                 | `\u003cv-btn round ...`                      | `Btn(round=True ...`                    |\n| Attributes are snake_case                                               | `\u003cv-menu offset-y ..`                   | `Menu(offset_y=True ...`                |\n| The v_model attribute (value in ipywidgets) contains the value directly | `\u003cv-slider v-model=\"some_property\" ...` | `Slider(v_model=25...`                  |\n| Event listeners are defined with on_event                               | `\u003cv-btn @click='someMethod()' ...`      | `button.on_event('click', some_method)` |\n|                                                                         |                                         | `def some_method(widget, event, data):` |\n| Regular HTML tags can made with the Html class                          | `\u003cdiv\u003e...\u003c/div\u003e`                        | `Html(tag='div', children=[...])`       |\n| The attributes class and style need to be suffixed with an underscore   | `\u003cv-btn class=\"mr-3\" style=\"...\" \u003e`     | `Btn(class_='mr-3', style_='...')`      |\n\n### Advanced usage\n\n#### .sync\n\nThe .sync property modifier functionality can be achieved by using an event named:  \n`update:[propertyNameInCamelCase]`.\n\n##### Vuetify:\n\n```HTML\n\u003cv-navigation-drawer :mini-variant.sync=...\n```\n\n##### ipyvuetify:\n\n```python\ndrawer = v.NavigationDrawer(mini_variant=True, ...)\n\ndef update_mini(widget, event, data):\n    drawer.mini_variant = data`\n\ndrawer.on_event('update:miniVariant', update_mini)\n```\n\n### (scoped) slots\n\n##### Vuetify:\n\n```HTML\n\u003cv-menu\u003e\n  \u003ctemplate slot:activator=\"{ on }\"\u003e\n    \u003cv-btn v-on=\"on\"\u003e...\u003c/v-btn\u003e\n  \u003c/template\u003e\n  \u003cv-list\u003e\n    ...\n  \u003c/v-list\u003e\n\u003c/v-menu\u003e\n```\n\n##### ipyvuetify:\n\n```python\nMenu(v_slots=[{\n    'name': 'activator',\n    'variable': 'x',\n    'children': Btn(v_on='x.on', children=[...])\n}], children=[\n    List(...)\n])\n```\n\nFor non scoped slots `'scope': 'x'` and `v_on` can be omitted.\n\n### Icons\n\nAvailable icons:\n\n- https://material.io/resources/icons/ (deprecated)\n- https://pictogrammers.github.io/@mdi/font/4.5.95/ (since v1.2.0)\n\n## Alternate usage\n\nFor a more web development centric way of development and a closer match to the Vue/Vuetify api, VuetifyTemplate can be used. See the [example](examples/Examples%20template.ipynb) or [![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/mariobuikhuizen/ipyvuetify/master?filepath=examples%2FExamples%20template.ipynb).\n\nMake a sub class of VuetifyTemplate, define your own traitlets and set a template string. The traitlets will be accessible from the template as if they were in a vue-model. Methods can be called by defining a method with a prefix `vue_` e.g. `def vue_button_click(self, data)` and calling it from the template e.g. `@click=\"button_click(e)\"`.\n\n## Sponsors\n\nProject ipyvuetify receives direct funding from the following sources:\n\n[![MSD](docs/images/msd-logo.svg)](https://msd.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwidgetti%2Fipyvuetify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwidgetti%2Fipyvuetify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwidgetti%2Fipyvuetify/lists"}