{"id":15699742,"url":"https://github.com/alexxit/intlist","last_synced_at":"2025-08-10T16:39:31.763Z","repository":{"id":104871691,"uuid":"85198323","full_name":"AlexxIT/intlist","owner":"AlexxIT","description":"Кодирование массива integer для передачи в качества GET-параметра","archived":false,"fork":false,"pushed_at":"2017-03-16T13:26:31.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-05T16:17:18.558Z","etag":null,"topics":[],"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/AlexxIT.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":"2017-03-16T13:20:52.000Z","updated_at":"2023-12-02T14:02:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"acfd2af9-f3bc-4599-b4f4-0a2b21566e91","html_url":"https://github.com/AlexxIT/intlist","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/AlexxIT%2Fintlist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexxIT%2Fintlist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexxIT%2Fintlist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexxIT%2Fintlist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlexxIT","download_url":"https://codeload.github.com/AlexxIT/intlist/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246330615,"owners_count":20760146,"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-10-03T19:41:35.087Z","updated_at":"2025-03-30T14:27:56.025Z","avatar_url":"https://github.com/AlexxIT.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# intlist\n\nКодирование массива `integer` для передачи в качества GET-параметра.\n\nКоридование по аналогии с UTF-8: https://ru.wikipedia.org/wiki/UTF-8\n\nИспользуется алфавит URI Unreserved Characters - 64 символа, позволяющих\nзакодировать по 6 байт: https://en.wikipedia.org/wiki/Percent-encoding\n\n```\nБайт  Бит  Шаблон полностью\n1     5    --0xxxxx (2^5 = 32)\n2     10   --10xxxx --xxxxxx (2^10 = 1024)\n3     15   --110xxx --xxxxxx --xxxxxx (2^15 = 32768)\n4     20   --1110xx --xxxxxx --xxxxxx --xxxxxx  (2^20 = 1048576)\n```\n\nМожно доработать до поддержки 2^35.\n\nНесколько примеров работы функции `intlist.encode_diff`:\n```\n1,3,5,31,32,33,40,80,130,200 (28)\nBCCaBBHgogyhG (13)\n\n9108,14092,14090,14093,14094,14091,14095,14100,14044,9212,13928,13929,13932,13935,13933,13936,13939,13940,13988,9019,9160,9161,13974 (132)\nyM7hZg0BgzxJsBDBCBDBgiOg4guBBBBBF (33)\n\n784,785,782,638,786,787 (23)\np-iQCBBB (8)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexxit%2Fintlist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexxit%2Fintlist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexxit%2Fintlist/lists"}