{"id":20399888,"url":"https://github.com/kitware/trame-vega","last_synced_at":"2025-04-12T13:43:01.022Z","repository":{"id":84741808,"uuid":"491177541","full_name":"Kitware/trame-vega","owner":"Kitware","description":"Vega widget for trame","archived":false,"fork":false,"pushed_at":"2025-01-09T21:14:58.000Z","size":514,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-26T08:22:54.544Z","etag":null,"topics":["trame","trame-maintenance-program"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kitware.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.rst","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}},"created_at":"2022-05-11T15:51:21.000Z","updated_at":"2025-01-09T21:15:02.000Z","dependencies_parsed_at":"2024-06-19T04:01:11.140Z","dependency_job_id":"4c646681-211e-4a16-a783-e95c86b9ddd3","html_url":"https://github.com/Kitware/trame-vega","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kitware%2Ftrame-vega","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kitware%2Ftrame-vega/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kitware%2Ftrame-vega/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kitware%2Ftrame-vega/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kitware","download_url":"https://codeload.github.com/Kitware/trame-vega/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248369296,"owners_count":21092550,"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":["trame","trame-maintenance-program"],"created_at":"2024-11-15T04:34:52.391Z","updated_at":"2025-04-12T13:43:01.016Z","avatar_url":"https://github.com/Kitware.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":".. |pypi_download| image:: https://img.shields.io/pypi/dm/trame-vega\n\nVega visual grammar for trame |pypi_download|\n===========================================================================\n\n.. image:: https://github.com/Kitware/trame-vega/actions/workflows/test_and_release.yml/badge.svg\n    :target: https://github.com/Kitware/trame-vega/actions/workflows/test_and_release.yml\n    :alt: Test and Release\n\ntrame-vega extend trame **widgets** with a Figure component that is capable of rendering Vega grammars such as `Altair \u003chttps://altair-viz.github.io/\u003e`__ plots.\n\nInstalling\n-----------------------------------------------------------\n\ntrame-vega can be installed with `pip \u003chttps://pypi.org/project/trame-vega/\u003e`_:\n\n.. code-block:: bash\n\n    pip install --upgrade trame-vega\n\n\nUsage\n-----------------------------------------------------------\n\nThe `Trame Tutorial \u003chttps://kitware.github.io/trame/docs/tutorial.html\u003e`_ is the place to go to learn how to use the library and start building your own application.\n\nThe `API Reference \u003chttps://trame.readthedocs.io/en/latest/index.html\u003e`_ documentation provides API-level documentation.\n\n\nLicense\n-----------------------------------------------------------\n\ntrame-vega is made available under the BSD-3 License. For more details, see `LICENSE \u003chttps://github.com/Kitware/trame-vega/blob/master/LICENSE\u003e`_\nThis license has been chosen to match the one use by `Vega \u003chttps://github.com/vega/vega/blob/main/LICENSE\u003e`_ and `Altair \u003chttps://github.com/altair-viz/altair/blob/master/LICENSE\u003e`_\nwhich are either used within that trame widget or will be use by the user to create the content for those Figures.\n\n\nCommunity\n-----------------------------------------------------------\n\n`Trame \u003chttps://kitware.github.io/trame/\u003e`_ | `Discussions \u003chttps://github.com/Kitware/trame/discussions\u003e`_ | `Issues \u003chttps://github.com/Kitware/trame/issues\u003e`_ | `RoadMap \u003chttps://github.com/Kitware/trame/projects/1\u003e`_ | `Contact Us \u003chttps://www.kitware.com/contact-us/\u003e`_\n\n.. image:: https://zenodo.org/badge/410108340.svg\n    :target: https://zenodo.org/badge/latestdoi/410108340\n\n\nEnjoying trame?\n-----------------------------------------------------------\n\nShare your experience `with a testimonial \u003chttps://github.com/Kitware/trame/issues/18\u003e`_ or `with a brand approval \u003chttps://github.com/Kitware/trame/issues/19\u003e`_.\n\n\nExample: Vega + Altair\n-----------------------------------------------------------\n\nThe Python interface of `Altair provide examples \u003chttps://altair-viz.github.io/\u003e`__ on how to create various visualization.\n\n.. code-block:: python\n\n    import altair as alt\n    from vega_datasets import data\n\n    from trame.widgets import vega\n\n    # Generate chart\n    source = data.cars()\n    fig = (\n        alt.Chart(source)\n        .mark_circle()\n        .encode(\n            alt.X(alt.repeat(\"column\"), type=\"quantitative\"),\n            alt.Y(alt.repeat(\"row\"), type=\"quantitative\"),\n            color=\"Origin:N\",\n        )\n        .properties(width=200, height=200)\n        .repeat(\n            row=[\"Horsepower\", \"Acceleration\", \"Miles_per_Gallon\"],\n            column=[\"Miles_per_Gallon\", \"Acceleration\", \"Horsepower\"],\n        )\n        .interactive()\n    )\n\n    # Display it\n    widget = vega.Figure(figure=None) # could pass fig at construction\n    widget.update(fig) # or update later\n\n\nJavaScript dependency\n-----------------------------------------------------------\n\nThis Python package bundle the ``vega@5.27.0``, ``vega-embed@6.24.0`` and ``vega-lite@5.16.3`` JavaScript libraries. If you would like us to upgrade it, `please reach out \u003chttps://www.kitware.com/trame/\u003e`_.\n        \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkitware%2Ftrame-vega","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkitware%2Ftrame-vega","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkitware%2Ftrame-vega/lists"}