{"id":15684560,"url":"https://github.com/flying-sheep/smart-progress","last_synced_at":"2025-05-07T16:11:53.110Z","repository":{"id":36726759,"uuid":"41033334","full_name":"flying-sheep/smart-progress","owner":"flying-sheep","description":"Smart progressbar with multiple backends supporting both explicit updating and tqdm-style iterable-wrapping","archived":false,"fork":false,"pushed_at":"2016-12-07T10:25:59.000Z","size":18,"stargazers_count":10,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-07T16:11:50.050Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flying-sheep.png","metadata":{"files":{"readme":"README.rst","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":"2015-08-19T12:48:04.000Z","updated_at":"2023-03-27T20:55:30.000Z","dependencies_parsed_at":"2022-09-19T09:51:34.125Z","dependency_job_id":null,"html_url":"https://github.com/flying-sheep/smart-progress","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flying-sheep%2Fsmart-progress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flying-sheep%2Fsmart-progress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flying-sheep%2Fsmart-progress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flying-sheep%2Fsmart-progress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flying-sheep","download_url":"https://codeload.github.com/flying-sheep/smart-progress/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252912997,"owners_count":21824066,"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-10-03T17:19:06.914Z","updated_at":"2025-05-07T16:11:53.085Z","avatar_url":"https://github.com/flying-sheep.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"smart-progress\n==============\n\nSmart progressbar with multiple backends supporting both explicit updating and tqdm_-style iterable-wrapping\n\n.. _tqdm: https://github.com/tqdm/tqdm\n\nUsage\n-----\n\n.. code:: python\n\n  progressbar(iterable=None, length=None, label=None,\n              show_eta=True, show_percent=None, show_pos=False,\n              item_show_func=None, ..., info_sep=' ', ...)\n\nCheck `click.progressbar`_ for the parameters and details. As of now, the IPython backend ignores all bar drawing and terminal-related parameters. (The ones not listed above)\n\n.. _click.progressbar: http://click.pocoo.org/5/api/#click.progressbar\n\nExample\n-------\n\n.. code:: python\n\n\tfrom smart_progress import progressbar\n\t\n\twith progressbar([1,2,3]) as bar:\n\t\tfor item in bar:\n\t\t\tdo_work(item)\n\nor\n\n.. code:: python\n\n\tcon = connection(...)\n\twith con, progressbar(length=con.tot_size()) as bar:\n\t\twhile not con.is_eof():\n\t\t\tblock = con.retrieve_block()\n\t\t\tdo_work(block)\n\t\t\tbar.update(len(block))\n\nDependencies\n------------\n\n* click_ 5.x\n* IPython_ 4.x + ipywidgets_\n  \n  (alternatively falls back to IPython 3.x)\n\n.. _click: http://click.pocoo.org\n.. _IPython: http://ipython.org\n.. _ipywidgets: https://github.com/ipython/ipywidgets","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflying-sheep%2Fsmart-progress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflying-sheep%2Fsmart-progress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflying-sheep%2Fsmart-progress/lists"}