{"id":31132952,"url":"https://github.com/peterfication/num-peek","last_synced_at":"2026-01-20T17:35:50.449Z","repository":{"id":314487060,"uuid":"1055359817","full_name":"peterfication/num-peek","owner":"peterfication","description":"A CLI tool to peek into *.npy files","archived":false,"fork":false,"pushed_at":"2025-09-14T09:42:43.000Z","size":106,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-20T07:51:28.464Z","etag":null,"topics":["cli","numpy","python","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/peterfication.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-12T06:43:25.000Z","updated_at":"2025-09-14T09:41:05.000Z","dependencies_parsed_at":"2025-09-12T19:57:00.596Z","dependency_job_id":"b5005cc0-b3fb-4a58-b5be-3cd6edfa23ce","html_url":"https://github.com/peterfication/num-peek","commit_stats":null,"previous_names":["peterfication/num-peek"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/peterfication/num-peek","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterfication%2Fnum-peek","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterfication%2Fnum-peek/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterfication%2Fnum-peek/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterfication%2Fnum-peek/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peterfication","download_url":"https://codeload.github.com/peterfication/num-peek/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterfication%2Fnum-peek/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002623,"owners_count":26083425,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cli","numpy","python","rust"],"created_at":"2025-09-18T05:02:13.290Z","updated_at":"2025-10-10T03:33:44.338Z","avatar_url":"https://github.com/peterfication.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# num-peek\n\nA CLI tool that can peek into `*.npy` files.\n\n## Installation\n\n### Cargo\n\n```bash\ncargo install num-peek\n```\n\n### Homebrew\n\n```bash\nbrew install peterfication/num-peek/num-peek\n```\n\n## Usage example\n\n```bash\n$ num-peek assets/demo.npy\nPeek into assets/demo.npy\n----------------------------------------\nDimensions: 2\nShape: [2, 3]\nType: Int8\n----------------------------------------\nNumber of unique values: 6\nUnique values: [1, 3, 4, 8, 12, 22]\nMin value: 1\nMax value: 22\n```\n\n### Yazi previewer\n\n`num-peek` can be used together with [`piper`](https://github.com/yazi-rs/plugins/tree/main/piper.yazi) as a [Yazi](https://yazi-rs.github.io/) previewer:\n\n```toml\n# yazi.toml\n[plugin]\nprepend_previewers = [\n  { name = \"*.npy\", run = 'piper -- num-peek $1' },\n]\n```\n\n## Development\n\n### Prerequisites\n\n- Rust version \u003e= `1.88.0`\n- [just](https://github.com/casey/just) task runner\n\n### Getting started\n\n```bash\njust ci\njust run\n```\n\n## Roadmap\n\n- Limit showing unique values to 10 values\n  - If there are more than 10 values, show the smallest 10 and the highest 10\n- Mean, Standard Deviation, Median\n- Different output formats: text, json, ...\n- Some ASCII graph representation of the data\n\n## License\n\nThis project is licensed under the MIT license ([LICENSE](LICENSE) or [opensource.org/licenses/MIT](https://opensource.org/licenses/MIT))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterfication%2Fnum-peek","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeterfication%2Fnum-peek","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterfication%2Fnum-peek/lists"}