{"id":15008680,"url":"https://github.com/brokeyourbike/dart-zipf","last_synced_at":"2026-04-02T01:58:59.514Z","repository":{"id":62458631,"uuid":"331404824","full_name":"brokeyourbike/dart-zipf","owner":"brokeyourbike","description":"Dart implementation of a Zipf-distributed random number generator.","archived":false,"fork":false,"pushed_at":"2023-08-22T21:51:37.000Z","size":36,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-19T02:50:02.072Z","etag":null,"topics":["dart","dart-library","dartlang","hacktoberfest","library","random","random-number-generators","zipf","zipfs-law"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brokeyourbike.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"brokeyourbike","open_collective":"brokeyourbike"}},"created_at":"2021-01-20T19:07:29.000Z","updated_at":"2024-01-04T07:02:35.000Z","dependencies_parsed_at":"2024-10-12T09:10:27.769Z","dependency_job_id":null,"html_url":"https://github.com/brokeyourbike/dart-zipf","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/brokeyourbike%2Fdart-zipf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brokeyourbike%2Fdart-zipf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brokeyourbike%2Fdart-zipf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brokeyourbike%2Fdart-zipf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brokeyourbike","download_url":"https://codeload.github.com/brokeyourbike/dart-zipf/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243204546,"owners_count":20253414,"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":["dart","dart-library","dartlang","hacktoberfest","library","random","random-number-generators","zipf","zipfs-law"],"created_at":"2024-09-24T19:20:00.109Z","updated_at":"2025-12-26T05:40:15.920Z","avatar_url":"https://github.com/brokeyourbike.png","language":"Dart","funding_links":["https://github.com/sponsors/brokeyourbike","https://opencollective.com/brokeyourbike"],"categories":[],"sub_categories":[],"readme":"# dart-zipf\n\n![Pub Version (including pre-releases)](https://img.shields.io/pub/v/zipf)\n[![Actions Status](https://github.com/brokeyourbike/dart-zipf/workflows/build/badge.svg)](https://github.com/brokeyourbike/dart-zipf/actions?query=workflow%3Abuild)\n[![codecov](https://codecov.io/gh/brokeyourbike/dart-zipf/branch/main/graph/badge.svg?token=0T3FR74Q0V)](https://codecov.io/gh/brokeyourbike/dart-zipf)\n\nDart implementation of a [Zipf-distributed](https://en.wikipedia.org/wiki/Zipf's_law) random number generator.\n\nThis implementation is effectively a direct port of Apache Common's\n[RejectionInversionZipfSampler](https://github.com/apache/commons-rng/blob/6a1b0c16090912e8fc5de2c1fb5bd8490ac14699/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/RejectionInversionZipfSampler.java),\nwritten in Java. It is based on the method described by Wolfgang Hörmann and Gerhard Derflinger\nin [*Rejection-inversion to generate variates from monotone discrete\ndistributions*](https://dl.acm.org/citation.cfm?id=235029) from *ACM Transactions on Modeling\nand Computer Simulation (TOMACS) 6.3 (1996)*.\n\nInspired by [rust-zipf](https://github.com/jonhoo/rust-zipf)\n\n## Authors\n\n- [Ivan Stasiuk](https://github.com/brokeyourbike) | [Twitter](https://twitter.com/brokeyourbike) | [LinkedIn](https://www.linkedin.com/in/brokeyourbike) | [stasi.uk](https://stasi.uk)\n\n## License\n\n[Apache-2.0 License](https://github.com/brokeyourbike/dart-zipf/blob/main/LICENSE)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrokeyourbike%2Fdart-zipf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrokeyourbike%2Fdart-zipf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrokeyourbike%2Fdart-zipf/lists"}