{"id":37063425,"url":"https://github.com/invia-flights/blitzly","last_synced_at":"2026-01-14T07:13:48.061Z","repository":{"id":64918268,"uuid":"578948005","full_name":"invia-flights/blitzly","owner":"invia-flights","description":"Lightning-fast way to get plots with Plotly ⚡️","archived":true,"fork":false,"pushed_at":"2025-02-03T20:19:26.000Z","size":1832,"stargazers_count":6,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-12-28T00:59:05.854Z","etag":null,"topics":["data-analysis","data-science","plotly","plotting-in-python","python","visualization"],"latest_commit_sha":null,"homepage":"https://invia-flights.github.io/blitzly/","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/invia-flights.png","metadata":{"files":{"readme":"docs/README.md","changelog":"CHANGELOG.md","contributing":"docs/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-12-16T09:21:31.000Z","updated_at":"2025-02-10T08:08:12.000Z","dependencies_parsed_at":"2024-02-05T19:35:49.327Z","dependency_job_id":"9f4c38e5-faf7-4c2a-bfd4-1200142d47c7","html_url":"https://github.com/invia-flights/blitzly","commit_stats":{"total_commits":96,"total_committers":6,"mean_commits":16.0,"dds":"0.30208333333333337","last_synced_commit":"ab4436cc3d84138a6332aac4641e2d9da6bccb73"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":"invia-flights/ml_project_template","purl":"pkg:github/invia-flights/blitzly","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/invia-flights%2Fblitzly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/invia-flights%2Fblitzly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/invia-flights%2Fblitzly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/invia-flights%2Fblitzly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/invia-flights","download_url":"https://codeload.github.com/invia-flights/blitzly/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/invia-flights%2Fblitzly/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28412715,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T05:26:33.345Z","status":"ssl_error","status_checked_at":"2026-01-14T05:21:57.251Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["data-analysis","data-science","plotly","plotting-in-python","python","visualization"],"created_at":"2026-01-14T07:13:47.171Z","updated_at":"2026-01-14T07:13:48.048Z","avatar_url":"https://github.com/invia-flights.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://github.com/invia-flights/blitzly/raw/main/docs/assets/images/icon.png\" alt=\"blitzly logo\" width=\"200\" height=\"200\"/\u003e\u003cbr\u003e\n# blitzly ⚡️\n***Lightning-fast way to get plots with Plotly***\n\n[![DeployPackage](https://github.com/invia-flights/blitzly/actions/workflows/deploy-package.yml/badge.svg)](https://github.com/invia-flights/blitzly/actions/workflows/deploy-package.yml)\n[![Testing](https://github.com/invia-flights/blitzly/actions/workflows/testing.yml/badge.svg?branch=main)](https://github.com/invia-flights/blitzly/actions/workflows/testing.yml)\n[![codecov](https://codecov.io/gh/invia-flights/blitzly/branch/develop/graph/badge.svg?token=ROCDJJV8JV)](https://codecov.io/gh/invia-flights/blitzly)\n[![pypi](https://img.shields.io/pypi/v/blitzly)](https://pypi.org/project/blitzly/)\n[![PyPI - Downloads](https://img.shields.io/pypi/dm/blitzly)](https://pypistats.org/packages/blitzly)\n[![python version](https://img.shields.io/pypi/pyversions/blitzly?logo=python\u0026logoColor=yellow)](https://www.python.org/downloads/)\n[![docs](https://img.shields.io/badge/docs-mkdoks%20material-blue)](https://invia-flights.github.io/blitzly/)\n[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit\u0026logoColor=white)](https://github.com/pre-commit/pre-commit)\n[![license](https://img.shields.io/github/license/invia-flights/blitzly)](https://github.com/invia-flights/blitzly/blob/main/LICENSE)\n[![isort](https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat\u0026labelColor=ef8336)](https://github.com/PyCQA/isort)\n[![black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![mypy](http://www.mypy-lang.org/static/mypy_badge.svg)](https://github.com/python/mypy)\n[![linting: pylint](https://img.shields.io/badge/linting-pylint-yellowgreen)](https://github.com/PyCQA/pylint)\n## Introduction 🎉\nPlotly is great and powerful. But with great power comes great responsibility 🕸. And sometimes you just want to get a plot up and running as fast as possible. That's where blitzly ⚡️ comes in. It provides a set of functions that allow you to create plots with Plotly in a lightning-fast way. It's not meant to replace Plotly, but rather to complement it.\n\nCheck out some examples in the [Jupyter notebook](https://github.com/invia-flights/blitzly/blob/main/examples/playground.ipynb).\u003cbr\u003e\n[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/invia-flights/blitzly/blob/main/examples/playground.ipynb)\n\n## Install the package 📦\nIf you are using [pip](https://pip.pypa.io/en/stable/), you can install the package with the following command:\n```bash\npip install blitzly\n```\n\nIf you are using [Poetry](https://python-poetry.org/), you can install the package with the following command:\n```bash\npoetry add blitzly\n```\n## installing dependencies 🧑‍🔧\nWith [pip](https://pip.pypa.io/en/stable/):\n```bash\npip install -r requirements.txt\n```\n\nWith [Poetry](https://python-poetry.org/):\n```bash\npoetry install\n```\n## Available plots (so far 🚀)\n| Module | Method | Description |\n| ------ | ------ | ----------- |\n| [`bar`](https://invia-flights.github.io/blitzly/plots/bar/) | [`model_feature_importances`](https://invia-flights.github.io/blitzly/plots/bar/#blitzly.plots.bar.model_feature_importances) | Creates a bar chart with the feature importance of a model. |\n| [`bar`](https://invia-flights.github.io/blitzly/plots/bar/) | [`multi_chart`](https://invia-flights.github.io/blitzly/plots/bar/#blitzly.plots.bar.multi_chart) | Creates a bar chart with multiple groups. |\n| [`dumbbell`](https://invia-flights.github.io/blitzly/plots/dumbbell/) | [`simple_dumbbell`](https://invia-flights.github.io/blitzly/plots/dumbbell/#blitzly.plots.dumbbell.simple_dumbbell) | Plots a dumbbell plot. This can be used to compare two columns of data to visualize changes. |\n| [`histogram`](https://invia-flights.github.io/blitzly/plots/histogram/) | [`simple_histogram`](https://invia-flights.github.io/blitzly/plots/histogram/#blitzly.plots.histogram.simple_histogram) | Plots a histogram with one ore more distributions. |\n| [`matrix`](https://invia-flights.github.io/blitzly/plots/matrix/) | [`binary_confusion_matrix`](https://invia-flights.github.io/blitzly/plots/matrix/#blitzly.plots.matrix.binary_confusion_matrix) | Plots a confusion matrix for binary classification data. |\n| [`matrix`](https://invia-flights.github.io/blitzly/plots/matrix/) | [`cramers_v_corr_matrix`](https://invia-flights.github.io/blitzly/plots/matrix/#blitzly.plots.matrix.cramers_v_corr_matrix) | Cramer's V correlation for categorical features. |\n| [`matrix`](https://invia-flights.github.io/blitzly/plots/matrix/) | [`pearson_corr_matrix`](https://invia-flights.github.io/blitzly/plots/matrix/#blitzly.plots.matrix.pearson_corr_matrix) | Plots a Pearson product-moment correlation coefficients matrix. |\n| [`scatter`](https://invia-flights.github.io/blitzly/plots/scatter/) | [`scatter_matrix`](https://invia-flights.github.io/blitzly/plots/scatter/#blitzly.plots.scatter.scatter_matrix) | Plots a scatter matrix. |\n| [`scatter`](https://invia-flights.github.io/blitzly/plots/scatter/) | [`multi_scatter`](https://invia-flights.github.io/blitzly/plots/scatter/#blitzly.plots.scatter.multi_scatter) | Create a multi scatter plot. It can be used to visualize the relationship between multiple variables from the same Pandas DataFrame. |\n| [`scatter`](https://invia-flights.github.io/blitzly/plots/scatter/) | [`dimensionality_reduction`](https://invia-flights.github.io/blitzly/plots/scatter/#blitzly.plots.scatter.dimensionality_reduction) | Creates a plot to visualize higher dimensionality reduced data using matrix decomposition |\n\n\n### Subplots 👩‍👩‍👧‍👦\n\n| Module | Method | Description |\n| ------ | ------ | ----------- |\n| [`subplots`](https://invia-flights.github.io/blitzly/plots/subplots/) | [`make_subplots`](https://invia-flights.github.io/blitzly/plots/subplots/#blitzly.subplots.make_subplots) | Create subplots using figure objects created with any of the above available plots. |\n\n## Usage 🤌\nHere are some examples. You can also open the [playground notebook](https://github.com/invia-flights/blitzly/blob/main/examples/playground.ipynb) 📒.\n\n**[`dimensionality_reduction`](https://invia-flights.github.io/blitzly/plots/scatter/#blitzly.plots.scatter.dimensionality_reduction):**\n```python\nfrom blitzly.plots.scatter import dimensionality_reduction\nimport plotly.express as px\n\ndf = px.data.iris()\ndimensionality_reduction(\n  df,\n  n_components=2,\n  target_column=\"species\",\n  reduction_funcs=[\"PCA\", \"TNSE\"],\n)\n```\nGives you this:\n\u003cimg src=\"https://github.com/invia-flights/blitzly/raw/main/docs/assets/images/example_plots/dimensionality_reduction.png\" alt=\"dimensionality reduction plot\" width=\"1000\" height=\"555\"/\u003e\n\n\n**[`multi_bar`](https://invia-flights.github.io/blitzly/plots/bar/#blitzly.plots.bar.multi_bar):**\n```python\nfrom blitzly.plots.bar import multi_bar\nimport numpy as np\n\ndata = np.array([[8, 3, 6], [9, 7, 5]])\nerror_array = np.array([[0.1, 0.2, 0.3], [0.4, 0.5, 0.6]])\n\nmulti_bar(\n    data,\n    x_labels=[\"Vienna\", \"Berlin\", \"Lisbon\"],\n    group_labels=[\"Personal rating\", \"Global rating\"],\n    errors=error_array,\n    title=\"City ratings 🏙\",\n    mark_x_labels=[\"Lisbon\"],\n    write_html_path=\"see_the_blitz.html\",\n)\n```\nGives you this:\n\u003cimg src=\"https://github.com/invia-flights/blitzly/raw/main/docs/assets/images/example_plots/multi_bars.png\" alt=\"multi bars plot\" width=\"1000\" height=\"555\"/\u003e\n\n**[`scatter matrix`](https://invia-flights.github.io/blitzly/plots/scatter/#blitzly.plots.scatter.scatter_matrix):**\n```python\n    from blitzly.plots.scatter import scatter_matrix\n    import numpy as np\n    import pandas as pd\n\n    foo = np.random.randn(1000)\n    bar = np.random.randn(1000) + 1\n    blitz = np.random.randint(2, size=1000)\n    licht = np.random.randint(2, size=1000)\n    data = np.array([foo, bar, blitz, licht])\n    df = pd.DataFrame(data.T, columns=[\"foo\", \"bar\", \"blitz\", \"licht\"])\n\n    scatter_matrix(\n        df,\n        dimensions=[\"foo\", \"bar\", \"blitz\"],\n        color_dim=df[\"licht\"],\n        title=\"My first scatter matrix 🙃\",\n        show_upper_half=True,\n        diagonal_visible=False,\n        marker_color_scale=\"Rainbow\",\n        marker_line_color=\"blue\",\n        size=(500, 500),\n    )\n```\nGives you this:\n\u003cimg src=\"https://github.com/invia-flights/blitzly/raw/main/docs/assets/images/example_plots/scatter_matrix.png\" alt=\"scatter-matrix plot\" width=\"500\" height=\"500\"/\u003e\n\n## Contributing 👩‍💻\n\nPlease check out the [guide](https://invia-flights.github.io/blitzly/CONTRIBUTING/) on how to contribute to this project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finvia-flights%2Fblitzly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finvia-flights%2Fblitzly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finvia-flights%2Fblitzly/lists"}