{"id":37067171,"url":"https://github.com/xyzpw/dashbar","last_synced_at":"2026-01-14T07:53:05.754Z","repository":{"id":224004286,"uuid":"762143029","full_name":"xyzpw/dashbar","owner":"xyzpw","description":"A progress-bar designed to be useful and easy to use.","archived":false,"fork":false,"pushed_at":"2024-06-01T10:20:13.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-18T17:11:37.279Z","etag":null,"topics":["loading-spinner","pip-package","progress-bar"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/dashbar/","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/xyzpw.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}},"created_at":"2024-02-23T07:04:57.000Z","updated_at":"2024-06-01T10:20:17.000Z","dependencies_parsed_at":"2024-02-23T08:02:46.527Z","dependency_job_id":"bc6d6d71-79e0-4eb3-9ad4-d8379288e513","html_url":"https://github.com/xyzpw/dashbar","commit_stats":null,"previous_names":["xyzpw/dashbar"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/xyzpw/dashbar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyzpw%2Fdashbar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyzpw%2Fdashbar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyzpw%2Fdashbar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyzpw%2Fdashbar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xyzpw","download_url":"https://codeload.github.com/xyzpw/dashbar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyzpw%2Fdashbar/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28413516,"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":["loading-spinner","pip-package","progress-bar"],"created_at":"2026-01-14T07:53:05.135Z","updated_at":"2026-01-14T07:53:05.748Z","avatar_url":"https://github.com/xyzpw.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dashbar\n![PyPI - Version](https://img.shields.io/pypi/v/dashbar)\n![Pepy Total Downloads](https://img.shields.io/pepy/dt/dashbar?color=red)\n![GitHub repo size](https://img.shields.io/github/repo-size/xyzpw/dashbar)\u003cbr/\u003e\u003cbr/\u003e\nA progress-bar designed to be useful and easy to use.\u003cbr/\u003e\u003cbr/\u003e\n![dashbar-demo-preview](https://github.com/xyzpw/dashbar/assets/76017734/d5a3bd52-2bc5-455d-ba63-fe28249defe8)\n## Usage\n### Iterating\nTo start dashbar, execute the following code:\n```python\nfor i in dashbar.dash(10, dash_type=\"pipe\", desc=\"example\"):\n    time.sleep(1/10) #completion after one second\n    if i == 5:\n        dashbar.status(\"half-way complete\")\n```\nIf the progress is large, the `autodash` function can be used, which adjusts the step count to fit the terminal:\n```python\nfor i in dashbar.autodash(10):\n    time.sleep(1/10)\n    if i == 8:\n        dashbar.log(\"eighty percent complete\")\n```\n\n### Customizing dashbar\nDashbars can be customized with the following code:\n```python\ndashbar.customize(element=\"filler\", value=\" \")\n```\nList of dashbars:\n- classic\n- arrow\n- box\n- circle_charger\n- box_charger\n- striped\n- dollar\n- box_shade\n- pipe\n- heart\n- radioactive\n- benzene\n- custom\n\nList of dashbar elements:\n- start\n- head\n- trail\n- filler\n- finish\n\n### Building a Dashbar\nDashbars can be built via the `Dashbar` class:\n```python\nbar = dashbar.Dashbar(10, \"box_shade\")\nfor i in range(100):\n    if i%10 == 0:\n        bar.update(1, display=True)\n    time.sleep(1/20) #completion after five seconds\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxyzpw%2Fdashbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxyzpw%2Fdashbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxyzpw%2Fdashbar/lists"}