{"id":32558306,"url":"https://github.com/grv96/hm_duration","last_synced_at":"2025-10-28T23:55:08.380Z","repository":{"id":49131137,"uuid":"376161018","full_name":"GRV96/hm_duration","owner":"GRV96","description":"Class HM_Duration represents durations as a number of hours and a number of minutes. Among other functionalities, it offers arithmetic operations, string representation and instantiation from a string representation.","archived":false,"fork":false,"pushed_at":"2021-06-27T15:44:12.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-03-06T04:24:10.864Z","etag":null,"topics":["duration","hours","minutes","time"],"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/GRV96.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":"2021-06-11T23:10:01.000Z","updated_at":"2021-06-27T15:44:14.000Z","dependencies_parsed_at":"2022-09-21T04:52:17.033Z","dependency_job_id":null,"html_url":"https://github.com/GRV96/hm_duration","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/GRV96/hm_duration","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GRV96%2Fhm_duration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GRV96%2Fhm_duration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GRV96%2Fhm_duration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GRV96%2Fhm_duration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GRV96","download_url":"https://codeload.github.com/GRV96/hm_duration/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GRV96%2Fhm_duration/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281533444,"owners_count":26517827,"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","status":"online","status_checked_at":"2025-10-28T02:00:06.022Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["duration","hours","minutes","time"],"created_at":"2025-10-28T23:54:14.692Z","updated_at":"2025-10-28T23:55:08.375Z","avatar_url":"https://github.com/GRV96.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hm_duration\n\nPackage hm_duration helps working with durations in hours and minutes. Among\nother functionalities, it offers arithmetic operations, comparison, string\nrepresentation and instantiation from a string representation.\n\n### Package content\n\n**HM_Duration**\n\nThis class represents durations as a number of hours and a number of minutes.\n\n**DURATION_STR_PATTERN**\n\nThis constant stores regular expression \"-?\\d{1,}:\\d{2}\". Strings that match\nit represent durations, and static method HM_Duration.from_str can use them to\ninstantiate HM_Duration.\n\n**str_repr_duration**\n\nThis function determines whether a string matches DURATION_STR_PATTERN. If it\ndoes, the string can be used to instantiate HM_Duration.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrv96%2Fhm_duration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrv96%2Fhm_duration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrv96%2Fhm_duration/lists"}