{"id":41585455,"url":"https://github.com/mhbxyz/fptk","last_synced_at":"2026-01-24T09:03:09.067Z","repository":{"id":310441876,"uuid":"1039840805","full_name":"mhbxyz/fptk","owner":"mhbxyz","description":"Pragmatic functional programming helpers for Python.","archived":false,"fork":false,"pushed_at":"2026-01-19T11:00:27.000Z","size":288,"stargazers_count":0,"open_issues_count":15,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-19T16:43:33.273Z","etag":null,"topics":["functional","functional-programming","python"],"latest_commit_sha":null,"homepage":"https://mhbxyz.github.io/fptk/","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/mhbxyz.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-18T04:14:03.000Z","updated_at":"2026-01-19T14:54:35.000Z","dependencies_parsed_at":"2025-08-18T06:33:18.887Z","dependency_job_id":"18a85b9c-27ce-469f-9851-9dbf1c3dc26d","html_url":"https://github.com/mhbxyz/fptk","commit_stats":null,"previous_names":["mhbxyz/funktools","mhbxyz/fptk"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/mhbxyz/fptk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhbxyz%2Ffptk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhbxyz%2Ffptk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhbxyz%2Ffptk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhbxyz%2Ffptk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mhbxyz","download_url":"https://codeload.github.com/mhbxyz/fptk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhbxyz%2Ffptk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28721985,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T08:27:05.734Z","status":"ssl_error","status_checked_at":"2026-01-24T08:27:01.197Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["functional","functional-programming","python"],"created_at":"2026-01-24T09:03:02.987Z","updated_at":"2026-01-24T09:03:09.063Z","avatar_url":"https://github.com/mhbxyz.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/mhbxyz/fptk/main/docs/assets/fptk-logo.svg\" alt=\"fptk\" width=\"400\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003ePragmatic functional programming for Python 3.13+\u003c/strong\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://pypi.org/project/fptk/\"\u003e\u003cimg src=\"https://img.shields.io/pypi/v/fptk?color=blue\" alt=\"PyPI\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://pypi.org/project/fptk/\"\u003e\u003cimg src=\"https://img.shields.io/pypi/pyversions/fptk\" alt=\"Python\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/mhbxyz/fptk/actions/workflows/ci.yml\"\u003e\u003cimg src=\"https://github.com/mhbxyz/fptk/actions/workflows/ci.yml/badge.svg\" alt=\"CI\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/mhbxyz/fptk/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/mhbxyz/fptk\" alt=\"License\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n## Install\n\n```bash\npip install fptk\n```\n\n## Quick Example\n\n```python\nfrom fptk.core.func import pipe\nfrom fptk.adt.option import Some, NOTHING\nfrom fptk.adt.result import Ok, Err\n\n# Compose transformations\nresult = pipe(5, lambda x: x + 1, lambda x: x * 2)  # 12\n\n# Handle absence explicitly\nname = Some(\"alice\").map(str.upper).unwrap_or(\"anonymous\")  # \"ALICE\"\n\n# Type-safe error handling\ndef parse(s: str) -\u003e Result[int, str]:\n    try:\n        return Ok(int(s))\n    except ValueError:\n        return Err(f\"invalid: {s}\")\n\nparse(\"42\").map(lambda x: x * 2)  # Ok(84)\n```\n\n## Documentation\n\n**[mhbxyz.github.io/fptk](https://mhbxyz.github.io/fptk)**\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhbxyz%2Ffptk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmhbxyz%2Ffptk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhbxyz%2Ffptk/lists"}