{"id":19811729,"url":"https://github.com/finsberg/category-theory-python","last_synced_at":"2025-05-01T08:33:11.087Z","repository":{"id":39878336,"uuid":"415391183","full_name":"finsberg/category-theory-python","owner":"finsberg","description":"Learning platform for category theory in python","archived":false,"fork":false,"pushed_at":"2025-05-01T06:32:04.000Z","size":7090,"stargazers_count":16,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-01T07:31:39.832Z","etag":null,"topics":["category-theory","functional-programming"],"latest_commit_sha":null,"homepage":"http://finsberg.github.io/category-theory-python/","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/finsberg.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,"zenodo":null}},"created_at":"2021-10-09T18:30:48.000Z","updated_at":"2025-05-01T06:32:07.000Z","dependencies_parsed_at":"2023-10-03T13:56:26.583Z","dependency_job_id":"10e9d136-3e3a-47c5-b635-d98f1295b3b1","html_url":"https://github.com/finsberg/category-theory-python","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/finsberg%2Fcategory-theory-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finsberg%2Fcategory-theory-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finsberg%2Fcategory-theory-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finsberg%2Fcategory-theory-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/finsberg","download_url":"https://codeload.github.com/finsberg/category-theory-python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251847846,"owners_count":21653583,"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":["category-theory","functional-programming"],"created_at":"2024-11-12T09:27:36.979Z","updated_at":"2025-05-01T08:33:10.845Z","avatar_url":"https://github.com/finsberg.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/finsberg/category-theory-python/main.svg)](https://results.pre-commit.ci/latest/github/finsberg/category-theory-python/main)\n[![CI](https://github.com/finsberg/category-theory-python/actions/workflows/main.yml/badge.svg)](https://github.com/finsberg/category-theory-python/actions/workflows/main.yml)\n[![github pages](https://github.com/finsberg/category-theory-python/actions/workflows/github-pages.yml/badge.svg)](https://github.com/finsberg/category-theory-python/actions/workflows/github-pages.yml)\n[![Coverage](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/finsberg/a7290de789564f03eb6b1ee122fce423/raw/category-theory-python-coverage.json)](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/finsberg/a7290de789564f03eb6b1ee122fce423/raw/category-theory-python-coverage.json)\n\n# Category Theory for python programmers\n\nThis is my attempt to implement some of the common structures from Category theory in python. Note that I am a beginner in Category theory and will use this repo as way to learn it.\n\nTopics to be covered are\n\n- [x] Monoids\n- [ ] Functors (in progress)\n- [ ] Applicative Functors (in progress)\n- [ ] Monads\n\nThis list might be more detailed in the future.\n\nMy assessment is manly based on the book called [Category Theory for Programmers](https://bartoszmilewski.com/2014/10/28/category-theory-for-programmers-the-preface/) by Bartosz Milewski and the podcast [LambdaCast](https://soundcloud.com/lambda-cast)\n\n\n## Typing\n\nI will also use this platform to investigate some of the more advanced features of python's typing system, and will therefore only support the latest version of python.\n\n## Testing\n\nI am definitely not capable of finding good test cases that can really test the corner cases of my implementation. Therefore I will try to use (and learn) property-based testing using [Hypothesis](https://hypothesis.readthedocs.io/en/latest/).\n\n\n## Contributing\nThis repo is manly for me to learn about these concepts in Category theory. If anyone finds this useful that is great. If you spot any bugs or mistakes I have made I would be grateful if you could file an issue (or even better : first file an issue and then submit a PR).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffinsberg%2Fcategory-theory-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffinsberg%2Fcategory-theory-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffinsberg%2Fcategory-theory-python/lists"}