{"id":16948813,"url":"https://github.com/dentosal/imbapython","last_synced_at":"2026-04-16T07:33:34.599Z","repository":{"id":83101246,"uuid":"75780164","full_name":"Dentosal/ImbaPython","owner":"Dentosal","description":"Extending Python 3 by patching built in types","archived":false,"fork":false,"pushed_at":"2016-12-07T13:10:38.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-21T09:48:11.997Z","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/Dentosal.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":"2016-12-06T23:20:44.000Z","updated_at":"2017-11-07T13:04:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"e2961343-0b54-4a74-884d-07ec2985b5ac","html_url":"https://github.com/Dentosal/ImbaPython","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Dentosal/ImbaPython","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dentosal%2FImbaPython","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dentosal%2FImbaPython/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dentosal%2FImbaPython/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dentosal%2FImbaPython/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dentosal","download_url":"https://codeload.github.com/Dentosal/ImbaPython/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dentosal%2FImbaPython/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31876506,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"online","status_checked_at":"2026-04-16T02:00:06.042Z","response_time":69,"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-13T21:52:27.681Z","updated_at":"2026-04-16T07:33:34.584Z","avatar_url":"https://github.com/Dentosal.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ImbaPython \u003csub\u003ev0.1.0\u003c/sub\u003e\u003csup\u003e\u003csup\u003eA bit unstable\u003c/sup\u003e\u003c/sup\u003e\n\nImbaPython is a Python extender, using the [forbiddenfruit](https://github.com/clarete/forbiddenfruit) library. The maing goal of this project is to show how good Python could be if it had functional lists and consistent method/function separation. Less legacy, more methods.\n\nThis project is heavily influenced by Haskell and Scala, and it is trying to provide similar toolset. While this is only demonstration, I hope that some day we will have programming language like this.\n\n## Installation\n\nFirst install the [forbiddenfruit](https://github.com/clarete/forbiddenfruit) library:\n`pip3 install forbiddenfruit`\nThen just copy the [`imba.py`](imba.py) file to your project directory.\n\n## Usage\n\n```python\n# Import it\nimport imba\n\n# Install addtional features\nimba.install([\"requests\", \"json\"])\n\n# Do whatever you want\n\n# times table\nprint(\n    range(1,11)\n        .map(lambda row: range(1,11)\n        .map(lambda col: row*col))\n        .map(lambda row: row.fmt(\"{:4}\")).join(\"\\n\")\n)\n\n# fetch ip\nprint(\"http://httpbin.org/ip\".fetch().json[\"origin\"])\n\n# quick and efficient factorial\ndef factorial(n):\n    assert n \u003e 0\n    return range(1, n+1).product()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdentosal%2Fimbapython","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdentosal%2Fimbapython","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdentosal%2Fimbapython/lists"}