{"id":18008885,"url":"https://github.com/hansalemaos/numpy_choices","last_synced_at":"2025-04-04T12:40:33.841Z","repository":{"id":65143435,"uuid":"583449276","full_name":"hansalemaos/numpy_choices","owner":"hansalemaos","description":"Some useful np.random functions","archived":false,"fork":false,"pushed_at":"2022-12-29T20:17:51.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-01T13:04:14.285Z","etag":null,"topics":["choices","numpy","python","random"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/numpy-choices/","language":"Python","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/hansalemaos.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}},"created_at":"2022-12-29T20:17:48.000Z","updated_at":"2022-12-29T20:18:56.000Z","dependencies_parsed_at":"2023-01-01T00:16:01.342Z","dependency_job_id":null,"html_url":"https://github.com/hansalemaos/numpy_choices","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/hansalemaos%2Fnumpy_choices","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansalemaos%2Fnumpy_choices/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansalemaos%2Fnumpy_choices/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansalemaos%2Fnumpy_choices/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hansalemaos","download_url":"https://codeload.github.com/hansalemaos/numpy_choices/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247182337,"owners_count":20897379,"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":["choices","numpy","python","random"],"created_at":"2024-10-30T02:07:45.574Z","updated_at":"2025-04-04T12:40:33.816Z","avatar_url":"https://github.com/hansalemaos.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Some useful np.random functions \n\n```python\n\n\n$pip install numpy-choices\nfrom numpy_choices import get_random_floats, get_random_ints, get_random_items_from_list\n\nrand = get_random_items_from_list(\n    list(range(1, 20)), size=10, replace=False, p=None, replace_raise=False\n)\nprint(rand)\n# [ 6 16 10  2  9  5 12 15  4 19]\n\nprint(get_random_ints(low=0, high=20, size=10))\n# [ 0 14  3 14  3 11 15  0  4  5]\n\nprint(get_random_floats(low=0, high=20, size=10))\n# [10.69714652  9.85398014  1.79753204 18.85165542  8.35101616  9.00431022\n#   0.04652976  4.05292685 13.6940055   2.25818349]\n\n\n    \n```\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansalemaos%2Fnumpy_choices","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhansalemaos%2Fnumpy_choices","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansalemaos%2Fnumpy_choices/lists"}