{"id":19236779,"url":"https://github.com/ready-steady/hdf5","last_synced_at":"2025-04-21T05:32:36.014Z","repository":{"id":29340053,"uuid":"32874034","full_name":"ready-steady/hdf5","owner":"ready-steady","description":"Reader and writer of HDF5 files","archived":false,"fork":false,"pushed_at":"2017-07-15T04:51:50.000Z","size":29,"stargazers_count":18,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T10:35:38.910Z","etag":null,"topics":["data-format","science"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/ready-steady.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-25T15:39:56.000Z","updated_at":"2023-04-05T16:59:30.000Z","dependencies_parsed_at":"2022-09-06T19:30:42.803Z","dependency_job_id":null,"html_url":"https://github.com/ready-steady/hdf5","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ready-steady%2Fhdf5","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ready-steady%2Fhdf5/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ready-steady%2Fhdf5/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ready-steady%2Fhdf5/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ready-steady","download_url":"https://codeload.github.com/ready-steady/hdf5/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250002302,"owners_count":21359091,"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-format","science"],"created_at":"2024-11-09T16:23:13.060Z","updated_at":"2025-04-21T05:32:35.730Z","avatar_url":"https://github.com/ready-steady.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HDF5 [![Build Status][travis-img]][travis-url]\n\nThe package provides a reader and writer of [HDF5][1] files.\n\n## [Documentation][doc]\n\n## Installation\n\nFetch the package:\n\n```bash\ngo get -d github.com/ready-steady/hdf5\n```\n\nGo to the directory of the package:\n\n```bash\ncd $GOPATH/src/github.com/ready-steady/hdf5\n```\n\nInstall the package:\n\n```bash\nmake install\n```\n\n## Usage\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/ready-steady/hdf5\"\n)\n\nfunc main() {\n\tput(\"data.h5\")\n\tget(\"data.h5\")\n}\n\nfunc put(path string) {\n\tfile, _ := hdf5.Create(path)\n\tdefer file.Close()\n\n\tA := 42\n\tfile.Put(\"A\", A)\n\n\tB := []float64{1, 2, 3}\n\tfile.Put(\"B\", B)\n\n\tC := struct {\n\t\tD int\n\t\tE []float64\n\t}{\n\t\tD: 42,\n\t\tE: []float64{1, 2, 3},\n\t}\n\tfile.Put(\"C\", C)\n}\n\nfunc get(path string) {\n\tfile, _ := hdf5.Open(path)\n\tdefer file.Close()\n\n\tA := 0\n\tfile.Get(\"A\", \u0026A)\n\tfmt.Println(A)\n\n\tB := []float64{}\n\tfile.Get(\"B\", \u0026B)\n\tfmt.Println(B)\n\n\tC := struct {\n\t\tD int\n\t\tE []float64\n\t}{}\n\tfile.Get(\"C\", \u0026C)\n\tfmt.Println(C)\n}\n```\n\n## Contribution\n\n1. Fork the project.\n2. Implement your idea.\n3. Open a pull request.\n\n[1]: https://en.wikipedia.org/wiki/Hierarchical_Data_Format\n\n[doc]: http://godoc.org/github.com/ready-steady/hdf5\n[travis-img]: https://travis-ci.org/ready-steady/hdf5.svg?branch=master\n[travis-url]: https://travis-ci.org/ready-steady/hdf5\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fready-steady%2Fhdf5","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fready-steady%2Fhdf5","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fready-steady%2Fhdf5/lists"}