{"id":23382130,"url":"https://github.com/chiefenne/progressbar","last_synced_at":"2025-09-06T17:35:30.378Z","repository":{"id":75755285,"uuid":"43698582","full_name":"chiefenne/progressbar","owner":"chiefenne","description":"Python GUI-less progressbar for command line usage","archived":false,"fork":false,"pushed_at":"2024-08-02T15:54:01.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-14T05:41:20.514Z","etag":null,"topics":[],"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/chiefenne.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":"2015-10-05T16:35:57.000Z","updated_at":"2024-08-02T15:54:04.000Z","dependencies_parsed_at":"2025-02-14T05:40:32.711Z","dependency_job_id":"0d63de5e-8be5-4ef8-afba-33740ae82f9d","html_url":"https://github.com/chiefenne/progressbar","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/chiefenne%2Fprogressbar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chiefenne%2Fprogressbar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chiefenne%2Fprogressbar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chiefenne%2Fprogressbar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chiefenne","download_url":"https://codeload.github.com/chiefenne/progressbar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247808091,"owners_count":20999655,"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":[],"created_at":"2024-12-21T21:17:32.307Z","updated_at":"2025-04-08T08:44:44.685Z","avatar_url":"https://github.com/chiefenne.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ProgressBar\nA simple GUI-less progress bar for displaying progress in a text console. This class was adapted from the book \"Python Cookbook\" by David Ascher, Alex Martelli, and Anna Ravenscroft.\n\n# Installation\nYou can clone the repository and import the class into your project.\n\n```bash\ngit clone https://github.com/yourusername/progressbar.git\n```\n\n# Usage\n\n## Usage from within the main script\n```\npython progressbar.py\n```\n\nThis runs the code placed in the below section of the script:\n```\nif __name__ == \"__main__\":\n    total = 100\n    pb = ProgressBar(total)\n    for i in range(total + 1):\n        pb.progress(i)\n        time.sleep(0.1)\n```\n\n## Using within another script\nYou can also use the ProgressBar class from within another script or function:\n\n```\n# another_script.py\nimport time\nfrom progressbar import ProgressBar\n\ndef some_function_with_progress():\n    total = 50\n    pb = ProgressBar(total)\n    for i in range(total + 1):\n        pb.progress(i)\n        time.sleep(0.2)  # Simulate work being done\n\nif __name__ == \"__main__\":\n    some_function_with_progress()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchiefenne%2Fprogressbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchiefenne%2Fprogressbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchiefenne%2Fprogressbar/lists"}