{"id":16415580,"url":"https://github.com/donno2048/base256","last_synced_at":"2026-07-07T16:30:15.869Z","repository":{"id":44645708,"uuid":"451218497","full_name":"donno2048/base256","owner":"donno2048","description":"When base64 just isn't enough","archived":false,"fork":false,"pushed_at":"2022-02-05T17:53:35.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-10T22:53:26.845Z","etag":null,"topics":["base256","base64","decoding","encoding","python"],"latest_commit_sha":null,"homepage":"","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/donno2048.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}},"created_at":"2022-01-23T20:09:47.000Z","updated_at":"2022-05-08T18:06:07.000Z","dependencies_parsed_at":"2022-09-13T15:41:12.905Z","dependency_job_id":null,"html_url":"https://github.com/donno2048/base256","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":"donno2048/nothingness","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donno2048%2Fbase256","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donno2048%2Fbase256/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donno2048%2Fbase256/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donno2048%2Fbase256/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/donno2048","download_url":"https://codeload.github.com/donno2048/base256/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232754250,"owners_count":18571616,"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":["base256","base64","decoding","encoding","python"],"created_at":"2024-10-11T07:06:17.003Z","updated_at":"2026-07-07T16:30:15.703Z","avatar_url":"https://github.com/donno2048.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# base256\n\nWhen base64 just isn't enough\n\n## Installation\n\n### From PyPI\n\n```sh\npip3 install base256\n```\n\n### From GitHub\n\n```sh\npip3 install git+https://github.com/donno2048/base256\n```\n\n## Usage\n\nPlease only use even-length hexadecimal values.\n\n### In Python\n\n```py\nfrom os import remove\nfrom base256 import encode, decode, encode_hex, decode_hex, encode_file, decode_file, encode_string, decode_string\nprint(encode('123456789abcdef0'))\nprint(decode('ĒĴŖŸƚƼǞǰ'))\nprint(encode_hex(0x123456789abcdef0))\nprint(decode_hex('ĒĴŖŸƚƼǞǰ'))\nprint(hex(decode_hex('ĒĴŖŸƚƼǞǰ')))\nprint(encode_file('README.md'))\nprint(decode_file('ģĠŢšųťĲĵĶĊĊŗŨťŮĠŢšųťĶĴĠŪŵųŴĠũųŮħŴĠťŮůŵŧŨĊĊģģĠŉŮųŴšŬŬšŴũůŮĊĊģģģĠņŲůŭĠŐŹŐŉĊĊŠŠŠųŨĊŰũŰĳĠũŮųŴšŬŬĠŢšųťĲĵĶĊŠŠŠĊĊģģģĠņŲůŭĠŇũŴňŵŢĊĊŠŠŠųŨĊŰũŰĳĠũŮųŴšŬŬĠŧũŴīŨŴŴŰųĺįįŧũŴŨŵŢĮţůŭįŤůŮŮůĲİĴĸįŢšųťĲĵĶĊŠŠŠĊĊģģĠŕųšŧťĊĊŐŬťšųťĠůŮŬŹĠŵųťĠťŶťŮĭŬťŮŧŴŨĠŨťŸšŤťţũŭšŬĠŶšŬŵťųĮĊĊģģģĠŉŮĠŐŹŴŨůŮĊĊŠŠŠŰŹĊŦŲůŭĠůųĠũŭŰůŲŴĠŲťŭůŶťĊŦŲůŭĠŢšųťĲĵĶĠũŭŰůŲŴĠťŮţůŤťĬĠŤťţůŤťĬĠťŮţůŤťşŨťŸĬĠŤťţůŤťşŨťŸĬĠťŮţůŤťşŦũŬťĬĠŤťţůŤťşŦũŬťĬĠťŮţůŤťşųŴŲũŮŧĬĠŤťţůŤťşųŴŲũŮŧĊŰŲũŮŴĨťŮţůŤťĨħıĲĳĴĵĶķĸĹšŢţŤťŦİħĩĩĊŰŲũŮŴĨŤťţůŤťĨħǄƒǄƴǅƖǅƸǆƚǆƼǇƞǄƏħĩĩĊŰŲũŮŴĨťŮţůŤťşŨťŸĨİŸıĲĳĴĵĶķĸĹšŢţŤťŦİĩĩĊŰŲũŮŴĨŤťţůŤťşŨťŸĨĩĩĊŰŲũŮŴĨťŮţůŤťşŦũŬťĨħŒŅŁńōŅĮŭŤħĩĩĊŰŲũŮŴĨŤťţůŤťşŦũŬťĨĬĠħŴťŭŰħĩĩĊŲťŭůŶťĨħŴťŭŰħĩĊŰŲũŮŴĨťŮţůŤťşųŴŲũŮŧĨħňťŬŬůĬĠŷůŲŬŤġħĩĩĊŰŲũŮŴĨŤťţůŤťşųŴŲũŮŧĨħħĩĩĊŠŠŠĊĊģģģĠŉŮĠŴŨťĠţůŭŭšŮŤĠŬũŮťĊĊŠŠŠųŨĊŢšųťĲĵĶĊŠŠŠĊ', 'temp'))\nremove('temp')\nprint(encode_string('Hello, world!'))\nprint(decode_string('ňťŬŬůĬĠŷůŲŬŤġ'))\n```\n\n### In the command line\n\n```sh\nbase256\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonno2048%2Fbase256","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdonno2048%2Fbase256","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonno2048%2Fbase256/lists"}