{"id":17592412,"url":"https://github.com/bobthebuidler/checksum_dict","last_synced_at":"2026-05-25T01:05:07.078Z","repository":{"id":57747099,"uuid":"522071882","full_name":"BobTheBuidler/checksum_dict","owner":"BobTheBuidler","description":"checksum_dict's objects handle the simple but repetitive task of checksumming addresses before setting/getting dictionary values. Useful when your daily life involves combining data from different sources.","archived":false,"fork":false,"pushed_at":"2024-12-04T07:54:01.000Z","size":5442,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-14T09:10:53.695Z","etag":null,"topics":["data-science","ethereum","evm","web3","web3py"],"latest_commit_sha":null,"homepage":"https://bobthebuidler.github.io/checksum_dict/","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/BobTheBuidler.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":"2022-08-06T23:05:11.000Z","updated_at":"2024-12-04T06:08:21.000Z","dependencies_parsed_at":"2024-11-25T00:32:41.507Z","dependency_job_id":null,"html_url":"https://github.com/BobTheBuidler/checksum_dict","commit_stats":{"total_commits":20,"total_committers":2,"mean_commits":10.0,"dds":"0.19999999999999996","last_synced_commit":"37226cb6faeea1e5408cff2b95464ff1bd07d03e"},"previous_names":[],"tags_count":34,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BobTheBuidler%2Fchecksum_dict","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BobTheBuidler%2Fchecksum_dict/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BobTheBuidler%2Fchecksum_dict/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BobTheBuidler%2Fchecksum_dict/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BobTheBuidler","download_url":"https://codeload.github.com/BobTheBuidler/checksum_dict/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230582708,"owners_count":18248660,"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":["data-science","ethereum","evm","web3","web3py"],"created_at":"2024-10-22T05:22:42.911Z","updated_at":"2026-03-06T12:31:41.345Z","avatar_url":"https://github.com/BobTheBuidler.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## checksum_dict\nchecksum_dict's objects handle the simple but repetitive task of checksumming addresses before setting/getting dictionary values.\n\n### Installation\n`pip install checksum_dict`\n\n---\n### Usage\nThere are only two things you must know...\n\n##### ChecksumAddressDict\n```\nfrom checksum_dict import ChecksumAddressDict\n\nd = ChecksumAddressDict()\nlower = \"0xb47e3cd837ddf8e4c57f05d70ab865de6e193bbb\"\nd[lower] = True\nprint(d)\n\u003e\u003e\u003e ChecksumAddressDict({'0xb47e3cd837dDF8e4c57F05d70Ab865de6e193BBB': True})\nprint(d[lower])\n\u003e\u003e\u003e True\n```\nAs you can see, the lowercase key `lower` was checksummed and both the key and value were added to the dict as you would expect.\n\n##### DefaultChecksumDict\nWe also have a checksummed version of a defaultdict:\n```\nfrom checksum_dict import DefaultChecksumDict\n\ndefault = int\nd = DefaultChecksumDict(default)\nprint(d[lower])\n\u003e\u003e\u003e 0\n```\nAlthough the key was not found in the dictionary, the `default`, in this case `int`, was called and returned a 0, just like with a traditional defaultdict!\n\n---\n### Summary\nOkay, now that's about it. I hope you all get immense value from this simple yet powerful tool. Now get out there and let's do some buidling!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbobthebuidler%2Fchecksum_dict","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbobthebuidler%2Fchecksum_dict","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbobthebuidler%2Fchecksum_dict/lists"}