{"id":23085801,"url":"https://github.com/neurodatawithoutborders/diff","last_synced_at":"2026-03-09T00:34:11.750Z","repository":{"id":35010445,"uuid":"39106558","full_name":"NeurodataWithoutBorders/diff","owner":"NeurodataWithoutBorders","description":"Python script that compares two HDF5 files. ","archived":false,"fork":false,"pushed_at":"2019-02-27T01:29:57.000Z","size":140,"stargazers_count":12,"open_issues_count":3,"forks_count":10,"subscribers_count":27,"default_branch":"master","last_synced_at":"2025-08-18T19:36:05.144Z","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":"opentracing/opentracing-javascript","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NeurodataWithoutBorders.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}},"created_at":"2015-07-14T23:59:05.000Z","updated_at":"2025-04-07T01:02:22.000Z","dependencies_parsed_at":"2022-09-17T08:20:08.952Z","dependency_job_id":null,"html_url":"https://github.com/NeurodataWithoutBorders/diff","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NeurodataWithoutBorders/diff","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeurodataWithoutBorders%2Fdiff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeurodataWithoutBorders%2Fdiff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeurodataWithoutBorders%2Fdiff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeurodataWithoutBorders%2Fdiff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NeurodataWithoutBorders","download_url":"https://codeload.github.com/NeurodataWithoutBorders/diff/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeurodataWithoutBorders%2Fdiff/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30278558,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T20:45:49.896Z","status":"ssl_error","status_checked_at":"2026-03-08T20:45:49.525Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-12-16T18:11:03.941Z","updated_at":"2026-03-09T00:34:11.730Z","avatar_url":"https://github.com/NeurodataWithoutBorders.png","language":"Python","readme":"# diff\nPython script that compares two HDF5 files. \n\nUsage:\n\n  python ndiff.py \u003cfile-A\u003e \u003cfile-B\u003e\n\nor:\n\n  ./ndiff.py \u003cfile-A\u003e \u003cfile-B\u003e\n\n\nThe script opens two HDF5 files and recursively compares the datasets\nand groups in the files. It examines groups, datasets and attributes\nand reports if some of these exist in one file and not the other, and\nif their names or types differ between the two files. \n\nNOTE: it does not compare the values stored in datasets or attributes\n\nWhen a difference is found, it will report one of the following codes:\n\n\tDIFF_UNIQUE_A\t-- a dataset or group only exists in file A\n\n\tDIFF_UNIQUE_B\t-- a dataset or group only exists in file B\n\n\tDIFF_OBJECTS\t-- an object is a dataset in one file and a group in the other\n\n\tDIFF_DTYPE\t\t-- the type of an object is different between files\n\n\tDIFF_UNIQ_ATTR_A -- an attribute is only present in file A\n\n\tDIFF_UNIQ_ATTR_B -- an attribute is only present in file B\n\n\tDIFF_ATTR_DTYPE\t-- the type of an attribute differs between files\n\n\nExample (command-line linux):\n\n\n\tkeith:~$ ./ndiff.py foo.h5 bar.h5 \n\n\tComparing 'foo.h5' and 'bar.h5'\n\t------------------------------\n\tExamining /\n\t\tbar5\n\t\tbar3\n\t** Attribute 'a' only in 'bar.h5' (DIFF_UNIQ_ATTR_B)**\n\t\tbar2\n\t\tbar\n\t\tbar4\n\t**  Different element types: 'group' and 'dataset' (DIFF_OBJECTS)\n\t------------------------------\n\tExamining /bar5/\n\t** Element 'bar7' only in 'foo.h5' (DIFF_UNIQUE_A)**\n\t** Element 'bar8' only in 'bar.h5' (DIFF_UNIQUE_B)**\n\t\tbar6\n\t** Different dtypes: '\u003ctype 'str'\u003e' and '\u003ctype 'numpy.ndarray'\u003e' (DIFF_DTYPE)**\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneurodatawithoutborders%2Fdiff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneurodatawithoutborders%2Fdiff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneurodatawithoutborders%2Fdiff/lists"}