{"id":11540564,"name":"sample-lines","ecosystem":"cargo","description":"Command-line tool to sample lines from a file or stdin without replacement. It runs in one pass without reading the whole input into memory using reservoir sampling.","homepage":null,"licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/stringertheory/sample","keywords_array":["analysis","cli","sampling"],"namespace":null,"versions_count":5,"first_release_published_at":"2025-04-12T21:29:36.055Z","latest_release_published_at":"2025-04-13T22:39:02.203Z","latest_release_number":"1.3.0","last_synced_at":"2026-08-11T22:30:28.841Z","created_at":"2025-04-12T21:32:11.446Z","updated_at":"2026-10-04T02:46:35.821Z","registry_url":"https://crates.io/crates/sample-lines/","install_command":"cargo install sample-lines","documentation_url":"https://docs.rs/sample-lines/","metadata":{"categories":["command-line-utilities"]},"repo_metadata":{"id":287601365,"uuid":"965234305","full_name":"stringertheory/sample-lines","owner":"stringertheory","description":"Rust command line tool to randomly sample lines from a file or stdin","archived":false,"fork":false,"pushed_at":"2025-04-13T22:41:52.000Z","size":32,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-10-01T16:16:42.607Z","etag":null,"topics":[],"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/stringertheory.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,"zenodo":null}},"created_at":"2025-04-12T17:53:19.000Z","updated_at":"2025-04-14T00:57:37.000Z","dependencies_parsed_at":"2025-04-12T22:32:10.747Z","dependency_job_id":null,"html_url":"https://github.com/stringertheory/sample-lines","commit_stats":null,"previous_names":["stringertheory/sample","stringertheory/sample-lines"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/stringertheory/sample-lines","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stringertheory%2Fsample-lines","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stringertheory%2Fsample-lines/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stringertheory%2Fsample-lines/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stringertheory%2Fsample-lines/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stringertheory","download_url":"https://codeload.github.com/stringertheory/sample-lines/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stringertheory%2Fsample-lines/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":343072799,"owners_count":37990787,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-04T02:00:06.888Z","response_time":127,"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"},"owner_record":{"login":"stringertheory","name":"Mike Stringer","uuid":"1110950","kind":"user","description":"design and data science. formerly partner @ideo, co-founder @datascopeanalytics ","email":"mike.stringer.internet@gmail.com","website":null,"location":"Chicago","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/1110950?u=3da4a366ead9f57f86dee4ac559e76c891a50b07\u0026v=4","repositories_count":53,"last_synced_at":"2026-10-01T10:45:34.103Z","metadata":{"has_sponsors_listing":false,"funding":null},"html_url":"https://github.com/stringertheory","funding_links":[],"total_stars":562,"followers":55,"following":14,"created_at":"2022-11-05T14:08:02.108Z","updated_at":"2026-10-01T10:45:34.407Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stringertheory","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stringertheory/repositories"},"tags":[{"name":"v1.0.1","sha":"6c7005b86e0a07b132d0244932ebf336307791e2","kind":"commit","published_at":"2025-04-12T21:43:02.000Z","download_url":"https://codeload.github.com/stringertheory/sample-lines/tar.gz/v1.0.1","html_url":"https://github.com/stringertheory/sample-lines/releases/tag/v1.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stringertheory/sample-lines@v1.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stringertheory%2Fsample-lines/tags/v1.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stringertheory%2Fsample-lines/tags/v1.0.1/manifests"},{"name":"v1.0.0","sha":"f3e5cbc53a7a6badb2e393339da33cf7bbf77158","kind":"commit","published_at":"2025-04-12T21:29:11.000Z","download_url":"https://codeload.github.com/stringertheory/sample-lines/tar.gz/v1.0.0","html_url":"https://github.com/stringertheory/sample-lines/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stringertheory/sample-lines@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stringertheory%2Fsample-lines/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stringertheory%2Fsample-lines/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2026-10-04T02:46:35.820Z","dependent_packages_count":0,"downloads":2784,"downloads_period":"total","dependent_repos_count":0,"rankings":{"downloads":95.04250053798148,"dependent_repos_count":22.15730578868087,"dependent_packages_count":29.37325156014633,"stargazers_count":null,"forks_count":null,"docker_downloads_count":null,"average":48.85768596226956},"purl":"pkg:cargo/sample-lines","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/cargo/sample-lines","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/cargo/sample-lines","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/cargo/sample-lines/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-09-04T07:57:50.072Z","issues_count":4,"pull_requests_count":0,"avg_time_to_close_issue":31730.666666666668,"avg_time_to_close_pull_request":null,"issues_closed_count":3,"pull_requests_closed_count":0,"pull_request_authors_count":0,"issue_authors_count":1,"avg_comments_per_issue":0.0,"avg_comments_per_pull_request":null,"merged_pull_requests_count":0,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":4,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":31730.666666666668,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":3,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":1,"past_year_avg_comments_per_issue":0.0,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/stringertheory%2Fsample-lines/issues","maintainers":[{"login":"stringertheory","count":4,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/stringertheory"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/sample-lines/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/sample-lines/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/sample-lines/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/sample-lines/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/sample-lines/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/sample-lines/codemeta","maintainers":[{"uuid":"326454","login":"stringertheory","name":"Mike Stringer","email":null,"url":"https://github.com/stringertheory","packages_count":2,"html_url":"https://crates.io/users/stringertheory","role":null,"created_at":"2025-04-12T21:35:03.788Z","updated_at":"2025-04-12T21:35:03.788Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/maintainers/stringertheory/packages"}]}