{"id":16385435,"url":"https://github.com/paparascal2020/expansive-code-kata-python","last_synced_at":"2025-08-30T12:40:04.155Z","repository":{"id":128118044,"uuid":"507100246","full_name":"PapaRascal2020/expansive-code-kata-python","owner":"PapaRascal2020","description":"A port of my PHP code Kata to Python","archived":false,"fork":false,"pushed_at":"2022-06-24T18:13:55.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-22T05:18:31.403Z","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/PapaRascal2020.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":"2022-06-24T17:57:48.000Z","updated_at":"2022-06-24T17:59:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"5fb0da4c-6d8a-4553-b6b7-051138241cc9","html_url":"https://github.com/PapaRascal2020/expansive-code-kata-python","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PapaRascal2020/expansive-code-kata-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PapaRascal2020%2Fexpansive-code-kata-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PapaRascal2020%2Fexpansive-code-kata-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PapaRascal2020%2Fexpansive-code-kata-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PapaRascal2020%2Fexpansive-code-kata-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PapaRascal2020","download_url":"https://codeload.github.com/PapaRascal2020/expansive-code-kata-python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PapaRascal2020%2Fexpansive-code-kata-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272852284,"owners_count":25004054,"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-30T02:00:09.474Z","response_time":77,"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-10-11T04:14:30.647Z","updated_at":"2025-08-30T12:40:04.132Z","avatar_url":"https://github.com/PapaRascal2020.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Find the longest palindrome in a string\n\nA palindrome is a word, verse, sentence, or number which reads the same backward as it\ndoes forward.\n\n* Only find palindromes of at least 3 characters in length\n* If no palindromes are found, return `None`\n* If multiple palindromes are found of the same length, return the first found\n\n### For this scenario, we can:\n* Ignore any white-space characters in the string \n  * White-space characters do not need retaining for the output\n* Ignore casing in the string\n  * Uppercase characters can be considered equal to lowercase characters\n  * Character casing does not need retaining for the output\n* Ignore any non-alphanumeric characters, for example, commas.\n  * Non-alphanumeric characters do not need retaining for the output\n* Refer to chosen language documentation\n\n\nInput (palindromes underlined) | Expected Output\n--- | ---\n\u003cu\u003eRacecar\u003c/u\u003e|racecar\n\u003cu\u003eRed rum, sir, is murder\u003c/u\u003e|redrumsirismurder\n12345|`None`\n123\u003cu\u003eacaca\u003c/u\u003ecb123|acaca\nxx|`None`\n\u003cu\u003exxx\u003c/u\u003e|xxx\n.....\u003cu\u003ex\u003c/u\u003e , \u003cu\u003e1\u003c/u\u003e ?! \u003cu\u003ex\u003c/u\u003e......|x1x\n\u003cu\u003eaaa\u003c/u\u003e \u003cu\u003ebbb\u003c/u\u003e \u003cu\u003eccc\u003c/u\u003e|aaa\n\n### Info for running the test\n* Install Python3\n* CD into Root Directory in the Command Line\n* RUN pip install pytest\n* RUN python -m pytest tests\n\nYou should then see 13 passed the test and 0 failures\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaparascal2020%2Fexpansive-code-kata-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaparascal2020%2Fexpansive-code-kata-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaparascal2020%2Fexpansive-code-kata-python/lists"}