{"id":19377983,"url":"https://github.com/hamolicious/lfsr-rng","last_synced_at":"2026-06-11T22:31:17.379Z","repository":{"id":135687740,"uuid":"416089611","full_name":"hamolicious/LFSR-RNG","owner":"hamolicious","description":"A Linear Feed Shift Register Random Number Generator written in python","archived":false,"fork":false,"pushed_at":"2022-03-02T14:43:36.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-24T16:19:04.292Z","etag":null,"topics":["from-scratch","lfsr","python","random-number-generators","rng"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hamolicious.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-10-11T21:17:58.000Z","updated_at":"2022-03-02T14:41:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"102195ba-126b-495d-bc18-4766643e686b","html_url":"https://github.com/hamolicious/LFSR-RNG","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hamolicious/LFSR-RNG","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamolicious%2FLFSR-RNG","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamolicious%2FLFSR-RNG/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamolicious%2FLFSR-RNG/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamolicious%2FLFSR-RNG/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hamolicious","download_url":"https://codeload.github.com/hamolicious/LFSR-RNG/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamolicious%2FLFSR-RNG/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34221150,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"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":["from-scratch","lfsr","python","random-number-generators","rng"],"created_at":"2024-11-10T09:04:26.649Z","updated_at":"2026-06-11T22:31:17.348Z","avatar_url":"https://github.com/hamolicious.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LFSR-RNG\nA Linear Feed Shift Register Random Number Generator written in python. Was written after watching a very interesting [video](https://www.youtube.com/watch?v=Ks1pw1X22y4\u0026t=162s\u0026ab_channel=Computerphile) by Computerphile. In theory a usable random number generator but due to lack of speed and optimisations, you're probably better off using the built in `random` library :smile:.\n\n```python\nfrom lfsrrng import Generator\n\nrng = Generator(seed=345667)\nnumber = rng.range(0, 10)                         # generate a number between 0 and 10 (10 not included)\nletter = rng.choice('abcdefghijklmnopqrstuvwxyz') # get a random element from an iterable\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamolicious%2Flfsr-rng","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhamolicious%2Flfsr-rng","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamolicious%2Flfsr-rng/lists"}