{"id":16444180,"url":"https://github.com/douglascdev/cookiecutter-competitive-programming","last_synced_at":"2026-05-28T16:30:54.369Z","repository":{"id":134791510,"uuid":"357989717","full_name":"douglascdev/cookiecutter-competitive-programming","owner":"douglascdev","description":"A cookiecutter template for competitive programming with mocked input and output to facilitate testing/TDD.","archived":false,"fork":false,"pushed_at":"2021-05-15T18:13:32.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-20T16:14:20.991Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/douglascdev.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-14T17:34:31.000Z","updated_at":"2021-05-15T18:13:35.000Z","dependencies_parsed_at":"2023-06-19T11:43:43.717Z","dependency_job_id":null,"html_url":"https://github.com/douglascdev/cookiecutter-competitive-programming","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/douglascdev/cookiecutter-competitive-programming","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douglascdev%2Fcookiecutter-competitive-programming","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douglascdev%2Fcookiecutter-competitive-programming/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douglascdev%2Fcookiecutter-competitive-programming/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douglascdev%2Fcookiecutter-competitive-programming/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/douglascdev","download_url":"https://codeload.github.com/douglascdev/cookiecutter-competitive-programming/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douglascdev%2Fcookiecutter-competitive-programming/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33617718,"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-05-28T02:00:06.440Z","response_time":99,"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-11T09:23:32.495Z","updated_at":"2026-05-28T16:30:54.342Z","avatar_url":"https://github.com/douglascdev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cookiecutter for Python Competitive Programming\nA cookiecutter template for competitive programming with mocked input and output to facilitate testing/TDD. \n\nThe advantage of this approach is that you can easily create methods to test inputs and outputs replacing values that are entered with stdin and stdout by entering the values in a string, and then just paste your solution on the contest directly.\n\nThe running time is also printed for each test by default.\n\n## Usage\nInstall cookiecutter:\n```\npip install cookiecutter\n```\nCreate a project using the template:\n```\ncookiecutter https://github.com/douglascdev/cookiecutter-competitive-programming\n```\nYou'll be asked for the project name, which will be created at the current folder.\n\n\nAfter that, you can implement the tests to make sure your code will work on the file ```cp_problem_tests.py```, and your solution at ```cp_problem.py```.\n\nFurther explanations are on the files.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdouglascdev%2Fcookiecutter-competitive-programming","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdouglascdev%2Fcookiecutter-competitive-programming","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdouglascdev%2Fcookiecutter-competitive-programming/lists"}