{"id":17694751,"url":"https://github.com/avojak/integer-compression","last_synced_at":"2025-03-30T23:40:24.176Z","repository":{"id":74884651,"uuid":"207055999","full_name":"avojak/integer-compression","owner":"avojak","description":"Demonstrates several methods of integer compression","archived":false,"fork":false,"pushed_at":"2019-09-08T17:41:08.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T12:05:03.162Z","etag":null,"topics":["binary-encoding","delta-encoding","gamma-encoding","integer-compression","integer-encoding","unary-encoding"],"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/avojak.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-08T03:23:14.000Z","updated_at":"2023-01-06T16:08:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"d7466dff-8353-46a9-a1c0-89f3be082466","html_url":"https://github.com/avojak/integer-compression","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avojak%2Finteger-compression","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avojak%2Finteger-compression/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avojak%2Finteger-compression/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avojak%2Finteger-compression/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/avojak","download_url":"https://codeload.github.com/avojak/integer-compression/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246395574,"owners_count":20770240,"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":["binary-encoding","delta-encoding","gamma-encoding","integer-compression","integer-encoding","unary-encoding"],"created_at":"2024-10-24T13:49:37.095Z","updated_at":"2025-03-30T23:40:24.157Z","avatar_url":"https://github.com/avojak.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# integer-compression\n\nDemonstrates several methods of integer compression:\n\n- binary\n- unary\n- gamma\n- delta\n\n## Usage\n\n### Compression\n\n```\nusage: compress [-h] M N\n\nCompress an integer.\n\npositional arguments:\n  M           the compression method\n  N           the integer to compress\n\noptional arguments:\n  -h, --help  show this help message and exit\n```\n\nFor example:\n\n```\n$ ./compress gamma 3\n101\n$ ./compress gamma 5\n11001\n```\n\n### Decompression\n\n```\nusage: decompress [-h] M C\n\nDecompress an integer.\n\npositional arguments:\n  M           the compression method used\n  C           the compressed integer to decompress\n\noptional arguments:\n  -h, --help  show this help message and exit\n```\n\nFor example:\n\n```\n$ ./decompress gamma 101\n3\n$ ./decompress gamma 11001\n5\n```\n\n## Additional\n\nHere's a link to my blog post about the various encoding methods: https://blog.avojak.com/2019/09/08/integer-compression/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favojak%2Finteger-compression","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favojak%2Finteger-compression","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favojak%2Finteger-compression/lists"}