{"id":22852691,"url":"https://github.com/sha0coder/unsigned","last_synced_at":"2025-03-31T07:10:43.137Z","repository":{"id":210310485,"uuid":"726246692","full_name":"sha0coder/unsigned","owner":"sha0coder","description":"python module for doing c signed and unsigned operations","archived":false,"fork":false,"pushed_at":"2024-09-05T15:19:52.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-06T11:46:41.240Z","etag":null,"topics":[],"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/sha0coder.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":"2023-12-01T21:20:39.000Z","updated_at":"2024-09-05T15:19:56.000Z","dependencies_parsed_at":"2023-12-01T23:27:22.911Z","dependency_job_id":"e8a7ff78-5d55-4a7f-bffd-b14131ec079e","html_url":"https://github.com/sha0coder/unsigned","commit_stats":null,"previous_names":["sha0coder/unsigned"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sha0coder%2Funsigned","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sha0coder%2Funsigned/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sha0coder%2Funsigned/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sha0coder%2Funsigned/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sha0coder","download_url":"https://codeload.github.com/sha0coder/unsigned/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246429487,"owners_count":20775807,"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-12-13T06:08:56.042Z","updated_at":"2025-03-31T07:10:43.116Z","avatar_url":"https://github.com/sha0coder.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n\n# Documentation\n\n```\nfrom unsigned import Unsigned32\na = Unsigned32(-1)\nb = Unsigned32(0xffffffff)\n\nassert a == b\n\na.sub(b)\na.add(b)\na.ror(2)\na.rol(3)\na.or_op(b)\na.not_op()\na.and_op(b)\na.neg()\na.xor(b)\na.shl(2)\na.shr(3)\n\nassert a.hex() == '0x1fffffff'\nassert a() == 0x1fffffff\n```\n\n```\nfrom unsigned import Signed16\na = Signed16(-1)\nb = Signed16(0xffff)\n\nassert a == b\n\na.sub(b)\na.add(b)\na.ror(2)\na.rol(3)\na.or_op(b)\na.not_op()\na.and_op(b)\na.neg()\na.xor(b)\na.shl(2)\na.shr(3)\n\nassert a.hex() == '-0x1'\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsha0coder%2Funsigned","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsha0coder%2Funsigned","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsha0coder%2Funsigned/lists"}