{"id":16948729,"url":"https://github.com/dentosal/pygressbar","last_synced_at":"2025-09-04T17:40:09.635Z","repository":{"id":83101288,"uuid":"91202529","full_name":"Dentosal/pygressbar","owner":"Dentosal","description":"A simple python library for displaying text-based progress bars","archived":false,"fork":false,"pushed_at":"2017-05-18T14:18:26.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-21T09:48:11.067Z","etag":null,"topics":["cli","progress-bar","python3-library"],"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/Dentosal.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}},"created_at":"2017-05-13T21:01:07.000Z","updated_at":"2023-02-15T02:04:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"aef45fc9-83d1-4b39-9d97-948ec6276dd7","html_url":"https://github.com/Dentosal/pygressbar","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Dentosal/pygressbar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dentosal%2Fpygressbar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dentosal%2Fpygressbar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dentosal%2Fpygressbar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dentosal%2Fpygressbar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dentosal","download_url":"https://codeload.github.com/Dentosal/pygressbar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dentosal%2Fpygressbar/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259550617,"owners_count":22875335,"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":["cli","progress-bar","python3-library"],"created_at":"2024-10-13T21:52:13.923Z","updated_at":"2025-06-12T23:36:50.464Z","avatar_url":"https://github.com/Dentosal.png","language":"Python","readme":"# Pygressbar\nA simple python library for displaying text-based progress bars.\n\n## Installing\n```bash\npython3 -m pip install git+https://github.com/Dentosal/pygressbar\n```\n\n## Example usage\n\n### Indeterminate progress bar\n```python\nimport time\nfrom pygressbar import IndeterminateProgressBar\n\nprint(\"Processing a list of items: \")\nITEMS = [\"Item {}\".format(n) for n in range(10)]\nwith IndeterminateProgressBar(8).background:\n    for l in ITEMS:\n        print(\"* \" + l + \" \" * (max(map(len, ITEMS)) - len(l)) + \" \", end=\"\")\n        time.sleep(1)\n        print(\"[OK]\")\n```\n\n### Percentage progress bar\n```python\nimport time\nfrom pygressbar import PercentageProgressBar\n\nprint(\"Processing a large item:\")\nwith PercentageProgressBar(50, show_value=True) as pb:\n    pb.update(0)\n    PARTS = 7\n    for part in range(PARTS):\n        time.sleep(0.5)\n        pb.update(100*(part+1)/PARTS)\nprint(\"Done\")\n```\n\n\nSee [`example.py`](example.py) for more examples.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdentosal%2Fpygressbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdentosal%2Fpygressbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdentosal%2Fpygressbar/lists"}