{"id":17603008,"url":"https://github.com/yjg30737/pyside-database-chart-example","last_synced_at":"2025-04-13T09:20:59.476Z","repository":{"id":62242856,"uuid":"524265357","full_name":"yjg30737/pyside-database-chart-example","owner":"yjg30737","description":"Example of using database and chart with PySide6","archived":false,"fork":false,"pushed_at":"2022-09-26T12:24:56.000Z","size":56,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T04:07:27.289Z","etag":null,"topics":["pyside","pyside-example","pyside-tutorial","pyside6","qchart","qsortfilterproxymodel","qsqldatabase","qsqlquery","qsqltablemodel","qtsql"],"latest_commit_sha":null,"homepage":"","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/yjg30737.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}},"created_at":"2022-08-13T01:11:15.000Z","updated_at":"2024-03-24T13:39:59.000Z","dependencies_parsed_at":"2022-10-29T03:15:12.812Z","dependency_job_id":null,"html_url":"https://github.com/yjg30737/pyside-database-chart-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Fpyside-database-chart-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Fpyside-database-chart-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Fpyside-database-chart-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Fpyside-database-chart-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yjg30737","download_url":"https://codeload.github.com/yjg30737/pyside-database-chart-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248689272,"owners_count":21145902,"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":["pyside","pyside-example","pyside-tutorial","pyside6","qchart","qsortfilterproxymodel","qsqldatabase","qsqlquery","qsqltablemodel","qtsql"],"created_at":"2024-10-22T13:36:58.952Z","updated_at":"2025-04-13T09:20:59.444Z","avatar_url":"https://github.com/yjg30737.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pyside-database-chart-example\nExample of using database and chart with PySide6\n\nI used PySide6 unlike the others because PyQt5 or PyQt6 is very finicky to import QChart for some reasons.\n\nYou can see the basic description to use the database GUI here - \u003ca href=\"https://github.com/yjg30737/pyqt-database-example\"\u003epyqt-database-example\u003c/a\u003e. \n\nYes, it is PyQt database but PySide and PyQt are almost identical so there is not a bit of a problem to understand.\n\n## Requirements\n* PySide6\n\n## Setup\n`python -m pip install git+https://github.com/yjg30737/pyside-database-chart-example.git --upgrade`\n\n## Example\n```python\nfrom PySide6.QtWidgets import QApplication\nfrom pyside_database_chart_example.main import Window\n\n\nif __name__ == \"__main__\":\n    import sys\n\n    app = QApplication(sys.argv)\n    window = Window()\n    window.show()\n    sys.exit(app.exec())\n```\n\nResult\n\n![image](https://user-images.githubusercontent.com/55078043/184469977-8dc68ed2-6b76-47e1-8763-b430549392a4.png)\n\n## See Also\n* \u003ca href=\"https://github.com/yjg30737/pyside-db-chart-mapping-example\"\u003epyside-db-chart-mapping-example\u003c/a\u003e - map the db table view and chart with using `QVBarModelMapper`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyjg30737%2Fpyside-database-chart-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyjg30737%2Fpyside-database-chart-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyjg30737%2Fpyside-database-chart-example/lists"}