{"id":16217251,"url":"https://github.com/synodriver/pyhuffman","last_synced_at":"2026-02-17T16:04:42.552Z","repository":{"id":62592628,"uuid":"509339438","full_name":"synodriver/pyhuffman","owner":"synodriver","description":"High performance huffman encoder/decoder for python","archived":false,"fork":false,"pushed_at":"2023-10-13T14:34:08.000Z","size":387,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-20T13:47:56.774Z","etag":null,"topics":["cffi","cython","huffman","pypy","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/synodriver.png","metadata":{"files":{"readme":"README.markdown","changelog":"changename.py","contributing":null,"funding":null,"license":null,"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":"2022-07-01T06:05:21.000Z","updated_at":"2022-11-03T02:28:02.000Z","dependencies_parsed_at":"2024-10-27T20:30:50.672Z","dependency_job_id":"0a89bdb6-0226-4cd6-9512-b694359e4f24","html_url":"https://github.com/synodriver/pyhuffman","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/synodriver/pyhuffman","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synodriver%2Fpyhuffman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synodriver%2Fpyhuffman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synodriver%2Fpyhuffman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synodriver%2Fpyhuffman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/synodriver","download_url":"https://codeload.github.com/synodriver/pyhuffman/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synodriver%2Fpyhuffman/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29549242,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T14:33:00.708Z","status":"ssl_error","status_checked_at":"2026-02-17T14:32:58.657Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cffi","cython","huffman","pypy","python3"],"created_at":"2024-10-10T11:26:17.403Z","updated_at":"2026-02-17T16:04:42.522Z","avatar_url":"https://github.com/synodriver.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\u003ci\u003e✨ pyhuffman ✨ \u003c/i\u003e\u003c/h1\u003e\n\n\u003ch3 align=\"center\"\u003eThe python binding for \u003ca href=\"https://github.com/synodriver/huffman\"\u003ehuffman\u003c/a\u003e \u003c/h3\u003e\n\n\n\n[![pypi](https://img.shields.io/pypi/v/python-huffman.svg)](https://pypi.org/project/python-huffman/)\n![python](https://img.shields.io/pypi/pyversions/python-huffman)\n![implementation](https://img.shields.io/pypi/implementation/python-huffman)\n![wheel](https://img.shields.io/pypi/wheel/python-huffman)\n![license](https://img.shields.io/github/license/synodriver/pyhuffman.svg)\n![action](https://img.shields.io/github/workflow/status/synodriver/pyhuffman/build%20wheel)\n\n### 公开函数\n```python\nfrom typing import IO, Union\nfrom pathlib import Path\n\nInputType = Union[str, bytes, Path, IO]\n\ndef encode_file(in_: InputType, out_: InputType) -\u003e int: ...\ndef decode_file(in_: InputType, out_: InputType) -\u003e int: ...\ndef encode(data: bytes) -\u003e bytes: ...\ndef decode(data: bytes) -\u003e bytes: ...\n```\n\n### 环境变量\n```HFM_USE_CFFI```强制使用cffi后端","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsynodriver%2Fpyhuffman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsynodriver%2Fpyhuffman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsynodriver%2Fpyhuffman/lists"}