{"id":28574382,"url":"https://github.com/tripleee/entro.py","last_synced_at":"2025-07-19T18:07:44.735Z","repository":{"id":11953046,"uuid":"14523929","full_name":"tripleee/entro.py","owner":"tripleee","description":"Simple entropy calculation tool for Python","archived":false,"fork":false,"pushed_at":"2014-09-15T06:21:29.000Z","size":144,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-10T21:26:03.835Z","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":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tripleee.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":"2013-11-19T12:32:51.000Z","updated_at":"2024-01-18T15:13:15.000Z","dependencies_parsed_at":"2022-09-11T14:12:38.494Z","dependency_job_id":null,"html_url":"https://github.com/tripleee/entro.py","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tripleee/entro.py","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tripleee%2Fentro.py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tripleee%2Fentro.py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tripleee%2Fentro.py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tripleee%2Fentro.py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tripleee","download_url":"https://codeload.github.com/tripleee/entro.py/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tripleee%2Fentro.py/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265982728,"owners_count":23859573,"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":"2025-06-10T21:20:55.933Z","updated_at":"2025-07-19T18:07:44.728Z","avatar_url":"https://github.com/tripleee.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"entro.py\n========\n\nSimple command-line entropy calculation tool for Python.\n\nThe tool can calculate entropy for bits, nybbles, bytes, or\nUnicode code points.  Try with --verbose to see the progress\nof the calculation.\n\nTo use from a library,\n\n    from entro import H, Bit, Nybble, Str, Utf8\n    bit_entropy    = H(Bit(data))\n    nybble_entropy = H(Nybble(data))\n    byte_entropy   = H(Str(data))\n    utf8_entropy   = H(Utf8(data))\n\n\nHistory / Credits\n-----------------\n\nAdapted from http://pythonfiddle.com/shannon-entropy-calculation/\nwhich in turn features the following comment:\n\nStolen from Ero Carrera\nhttp://blog.dkbza.org/2007/05/scanning-data-for-entropy-anomalies.html\n\n\nLICENSE\n-------\n\n2-clause BSD license, as generated by the friendly Github repository creator.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftripleee%2Fentro.py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftripleee%2Fentro.py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftripleee%2Fentro.py/lists"}