{"id":13532842,"url":"https://github.com/vBaiCai/python-pesq","last_synced_at":"2025-04-01T21:31:12.294Z","repository":{"id":47052574,"uuid":"161613833","full_name":"vBaiCai/python-pesq","owner":"vBaiCai","description":"A python package for calculating the PESQ.","archived":false,"fork":false,"pushed_at":"2023-04-24T12:05:46.000Z","size":64,"stargazers_count":371,"open_issues_count":7,"forks_count":71,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-03-04T00:49:37.545Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vBaiCai.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}},"created_at":"2018-12-13T09:18:08.000Z","updated_at":"2025-03-03T09:18:17.000Z","dependencies_parsed_at":"2024-01-08T12:14:35.175Z","dependency_job_id":null,"html_url":"https://github.com/vBaiCai/python-pesq","commit_stats":{"total_commits":23,"total_committers":2,"mean_commits":11.5,"dds":0.08695652173913049,"last_synced_commit":"d870dfa9972afa0b82ad0b0d01341010343907ba"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vBaiCai%2Fpython-pesq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vBaiCai%2Fpython-pesq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vBaiCai%2Fpython-pesq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vBaiCai%2Fpython-pesq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vBaiCai","download_url":"https://codeload.github.com/vBaiCai/python-pesq/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246713044,"owners_count":20821834,"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-08-01T07:01:14.206Z","updated_at":"2025-04-01T21:31:10.556Z","avatar_url":"https://github.com/vBaiCai.png","language":"Python","readme":"# PyPESQ (WIP)\r\nPypesq is a python wrapper for the PESQ score calculation C routine. It only can be used in evaluation purpose.\r\n\r\n## INSTALL\r\n```\r\npip install https://github.com/vBaiCai/python-pesq/archive/master.zip\r\n```\r\nor\r\n```\r\npip install pypesq\r\n```\r\n\r\n## HOW TO USE\r\n```python\r\nimport soundfile as sf\r\nfrom pypesq import pesq\r\n\r\nref, sr = sf.read(...)\r\ndeg, sr = sf.read(...)\r\n\r\nscore = pesq(ref, deg, sr)\r\nprint(score)\r\n```\r\n\r\n# NOTICE:\r\nOWNERS of PESQ ARE:\r\n1.\tBritish Telecommunications plc (BT), all rights assigned to Psytechnics Limited\r\n2.\tRoyal KPN NV, all rights assigned to OPTICOM GmbH\r\n\r\n# REFERENCES:\r\n* [ITU-T P.862](https://www.itu.int/rec/T-REC-P.862/en)\r\n* [C_Extensions_NumPy_arrays](https://scipy-cookbook.readthedocs.io/items/C_Extensions_NumPy_arrays.html)\r\n* [kennethreitz/setup.py](https://github.com/kennethreitz/setup.py)\r\n* [massover/accel](https://github.com/massover/accel)\r\n\r\n#  TODO\r\n1. More test.\r\n2. I'm not sure whether to add the wav normalization.\r\n\r\n# HINT\r\nThe PESQ contain 3 types of values: `NB PESQ MOS`, `NB MOS LQO`, `WB MOS LQO`.\r\nThis package only return the `NB PESQ MOS` score, which represents the `Raw MOS` for `narrowband handset listening`.\r\n","funding_links":[],"categories":["Tools","Audio Related Packages"],"sub_categories":["BSS/ICA method"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FvBaiCai%2Fpython-pesq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FvBaiCai%2Fpython-pesq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FvBaiCai%2Fpython-pesq/lists"}