{"id":26745406,"url":"https://github.com/boolka/mnistidx","last_synced_at":"2026-04-27T23:37:25.296Z","repository":{"id":275603359,"uuid":"926593688","full_name":"boolka/mnistidx","owner":"boolka","description":"mnist database api","archived":false,"fork":false,"pushed_at":"2025-03-10T16:58:44.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T08:17:02.687Z","etag":null,"topics":["api","database","mnist","mnist-database","mnist-model"],"latest_commit_sha":null,"homepage":"","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/boolka.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-03T14:33:40.000Z","updated_at":"2025-03-10T16:58:47.000Z","dependencies_parsed_at":"2025-02-03T15:45:11.258Z","dependency_job_id":"701b2a1d-4f12-47a2-a69b-4e29f1e42c5a","html_url":"https://github.com/boolka/mnistidx","commit_stats":null,"previous_names":["boolka/mnistidx"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/boolka/mnistidx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boolka%2Fmnistidx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boolka%2Fmnistidx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boolka%2Fmnistidx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boolka%2Fmnistidx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boolka","download_url":"https://codeload.github.com/boolka/mnistidx/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boolka%2Fmnistidx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32360116,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["api","database","mnist","mnist-database","mnist-model"],"created_at":"2025-03-28T08:17:05.558Z","updated_at":"2026-04-27T23:37:25.281Z","avatar_url":"https://github.com/boolka.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mnistidx\n\nMnistidx module provides api to work with mnist databases.\n\n## Usage\n\n```go\npackage main\n\nimport (\n\t\"os\"\n)\n\nfunc main() {\n\timagesFile, err := os.Open(\"filepath/to/images/database/file\")\n\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tlabelsFile, err := os.Open(\"filepath/to/labels/database/file\")\n\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\ti, err := mnistidx.NewIDX(imagesFile, labelsFile)\n\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tbuf := make([]byte, i.ImageBufSize())\n\n\tfor {\n\t\tl, err := i.Read(buf)\n\n\t\tif err == io.EOF {\n\t\t\tbreak\n\t\t}\n\n\t\t// buf contains image\n\t\t// l represent current label\n\t}\n}\n```\n\n## Tests\n\nIf you run tests mnist databases automatically downloaded to `~/.mnistdb` directory \n\n## Info\n\nFor additional info look at [mnistdb](https://yann.lecun.com/exdb/mnist/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboolka%2Fmnistidx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboolka%2Fmnistidx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboolka%2Fmnistidx/lists"}