{"id":18714054,"url":"https://github.com/xi-plus/nkust-data-compression-midterm","last_synced_at":"2025-10-28T13:38:08.959Z","repository":{"id":87553044,"uuid":"157694213","full_name":"Xi-Plus/NKUST-Data-Compression-Midterm","owner":"Xi-Plus","description":"資料壓縮期中 Data Compression Midterm","archived":false,"fork":false,"pushed_at":"2018-11-29T09:37:24.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-23T10:33:02.427Z","etag":null,"topics":["homework","nkust"],"latest_commit_sha":null,"homepage":null,"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/Xi-Plus.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2018-11-15T10:35:12.000Z","updated_at":"2019-01-14T04:02:09.000Z","dependencies_parsed_at":"2023-03-01T00:00:30.545Z","dependency_job_id":null,"html_url":"https://github.com/Xi-Plus/NKUST-Data-Compression-Midterm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Xi-Plus/NKUST-Data-Compression-Midterm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xi-Plus%2FNKUST-Data-Compression-Midterm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xi-Plus%2FNKUST-Data-Compression-Midterm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xi-Plus%2FNKUST-Data-Compression-Midterm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xi-Plus%2FNKUST-Data-Compression-Midterm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Xi-Plus","download_url":"https://codeload.github.com/Xi-Plus/NKUST-Data-Compression-Midterm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xi-Plus%2FNKUST-Data-Compression-Midterm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272885304,"owners_count":25009609,"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-08-30T02:00:09.474Z","response_time":77,"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":["homework","nkust"],"created_at":"2024-11-07T12:51:06.990Z","updated_at":"2025-10-28T13:38:08.873Z","avatar_url":"https://github.com/Xi-Plus.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NKUST-Data-Compression-Midterm\n\n## Usage\n**encode**  \n`python compress.py encode \u003calgorithm\u003e \u003cinput file name\u003e \u003coutput file name\u003e`  \n**decode**  \n`python compress.py decode \u003calgorithm\u003e \u003cinput file name\u003e \u003coutput file name\u003e`  \n\nAccepted algorithm:  \n* `nocompress` - No compression\n* `lz78` - LZ78\n* `xp01` - Invented by myself, only works for UTF-8 encoding\n* `xp01b` - Invented by myself, similar to xp01, binary mode\n* `xp02` - Invented by myself, combination of xp01 and huffman, only works for UTF-8 encoding\n* `xp02b` - Invented by myself, combination of xp01 and huffman, similar to xp02, binary mode\n* `huffman` - Huffman\n* `auto` - Automatically choose the best of the above algorithms\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxi-plus%2Fnkust-data-compression-midterm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxi-plus%2Fnkust-data-compression-midterm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxi-plus%2Fnkust-data-compression-midterm/lists"}