{"id":18757915,"url":"https://github.com/yeahnotsewerside/rbytes","last_synced_at":"2026-03-11T03:31:50.023Z","repository":{"id":56553438,"uuid":"308899051","full_name":"YeahNotSewerSide/RBytes","owner":"YeahNotSewerSide","description":"\"Real\" bytes in python, because standard bytes() doesn't work properly with bitwise operations","archived":false,"fork":false,"pushed_at":"2020-12-21T02:41:15.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-16T04:28:14.753Z","etag":null,"topics":["bitwise-operators","bytes","bytes-python","python3"],"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/YeahNotSewerSide.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":"2020-10-31T14:25:07.000Z","updated_at":"2020-12-21T03:14:02.000Z","dependencies_parsed_at":"2022-08-15T20:50:29.401Z","dependency_job_id":null,"html_url":"https://github.com/YeahNotSewerSide/RBytes","commit_stats":null,"previous_names":["doctoreenot/rbytes"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/YeahNotSewerSide/RBytes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YeahNotSewerSide%2FRBytes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YeahNotSewerSide%2FRBytes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YeahNotSewerSide%2FRBytes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YeahNotSewerSide%2FRBytes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YeahNotSewerSide","download_url":"https://codeload.github.com/YeahNotSewerSide/RBytes/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YeahNotSewerSide%2FRBytes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30369379,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T21:41:54.280Z","status":"online","status_checked_at":"2026-03-11T02:00:07.027Z","response_time":84,"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":["bitwise-operators","bytes","bytes-python","python3"],"created_at":"2024-11-07T17:44:52.355Z","updated_at":"2026-03-11T03:31:50.002Z","avatar_url":"https://github.com/YeahNotSewerSide.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RBytes\n\"Real\" bytes in python, because standart bytes() doesn't work properly\n\nI wrote that because bytes() in python doesn't allow to do bit shiftings and other bitwise operations\n\n# Installation\npip install RBytes\n\n# Some Examples\n\n```python\nfrom RBytes import RBytes\n\nbyte_array = RBytes(b'\\x01\\x01\\x01\\x01')\n\nresult = byte_array \u003c\u003c 5 #bitwise left shift\n\n```\n\n```python\nfrom RBytes import RBytes\nimport struct\n\nconverted_int = struct.pack('i',69) #get 4 bytes\n\nbyte_array = RBytes(converted_int) #get 'real' bytes\n\nresult = byte_array \u003c\u003c 5 #bitwise left shift\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyeahnotsewerside%2Frbytes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyeahnotsewerside%2Frbytes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyeahnotsewerside%2Frbytes/lists"}