{"id":22686993,"url":"https://github.com/lp1dev/wordsgenerator","last_synced_at":"2025-08-26T20:18:04.839Z","repository":{"id":69591733,"uuid":"76956778","full_name":"lp1dev/WordsGenerator","owner":"lp1dev","description":"A pseudo-random based words generator","archived":false,"fork":false,"pushed_at":"2016-12-28T10:48:02.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-25T09:46:18.974Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lp1dev.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":"2016-12-20T12:59:45.000Z","updated_at":"2016-12-20T13:00:12.000Z","dependencies_parsed_at":"2023-07-16T09:24:00.823Z","dependency_job_id":null,"html_url":"https://github.com/lp1dev/WordsGenerator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lp1dev/WordsGenerator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lp1dev%2FWordsGenerator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lp1dev%2FWordsGenerator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lp1dev%2FWordsGenerator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lp1dev%2FWordsGenerator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lp1dev","download_url":"https://codeload.github.com/lp1dev/WordsGenerator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lp1dev%2FWordsGenerator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272253357,"owners_count":24900889,"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-08-26T02:00:07.904Z","response_time":60,"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":[],"created_at":"2024-12-09T23:16:28.494Z","updated_at":"2025-08-26T20:18:04.816Z","avatar_url":"https://github.com/lp1dev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Words Generator\n\n### Version 0.0.6\n\nWordgen - Words generator using pseudo random generation.\n\nIt is a HTTP API to generate random letters associations according to a list of rules, the goal is to be able to build an entire dictionnary of meaningful words of a randomly built language.\n\n### Working\n\n- HTTP API with the following routes :\n  - GET / : Generates a word of a random length with an audio output\n  - GET /generate/{length} : Generates a word of a given length\n\n### TODO\n\n- Store the created words and the associated outputs\n- Generate a definition for each word\n\n### Prequisites\n\n- Python 3.4+\n- Flask\n- festival\n\n### Install\n\nWith Python-Pip installed\n\npip install -r requirements.txt\n\n### Usage\n\npython wordgen.py or chmod +x wordgen.py \u0026\u0026 ./wordgen.py to run the API.\n\n### Rules syntax\n\nThe rules for the words generation are stored in the rules.py file.\n\nThey are written in a Python syntax and evaluated using eval* in the code.\n\nEvery rule must concern 'new_letter', since it is the variable component.\n\nYou can access the following objects and methods :\n\n- word (the whole word minus the new letter)\n- new_letter (the letter to be added)\n- last_letter (the last letter of the word) (usable only if len(word) \u003e 0)\n- vowels (an array of all the vowels)\n- consonants (an array of all the consonants)\n- self.num_vowels(word)\n- self.num_consonants(word)\n\n*Since the rules are evaluated using eval(), YOU MUST NOT use the generator on an environment containing sensitive data and only give access to the rules to restricted authorized users !*","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flp1dev%2Fwordsgenerator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flp1dev%2Fwordsgenerator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flp1dev%2Fwordsgenerator/lists"}