{"id":13772480,"url":"https://github.com/ObjectProfile/PythonBridge","last_synced_at":"2025-05-11T04:31:29.376Z","repository":{"id":49235610,"uuid":"160011244","full_name":"ObjectProfile/PythonBridge","owner":"ObjectProfile","description":" Bridge between smalltalk and python","archived":false,"fork":false,"pushed_at":"2023-02-08T21:52:32.000Z","size":411,"stargazers_count":22,"open_issues_count":7,"forks_count":9,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-10-29T20:32:29.594Z","etag":null,"topics":["pharo","pharo-smalltalk","python","python3","pythonbridge","smalltalk"],"latest_commit_sha":null,"homepage":null,"language":"Smalltalk","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/ObjectProfile.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}},"created_at":"2018-12-02T03:51:51.000Z","updated_at":"2023-09-14T23:29:14.000Z","dependencies_parsed_at":"2024-01-12T17:45:24.627Z","dependency_job_id":null,"html_url":"https://github.com/ObjectProfile/PythonBridge","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/ObjectProfile%2FPythonBridge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ObjectProfile%2FPythonBridge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ObjectProfile%2FPythonBridge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ObjectProfile%2FPythonBridge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ObjectProfile","download_url":"https://codeload.github.com/ObjectProfile/PythonBridge/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253518941,"owners_count":21921074,"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":["pharo","pharo-smalltalk","python","python3","pythonbridge","smalltalk"],"created_at":"2024-08-03T17:01:04.494Z","updated_at":"2025-05-11T04:31:25.147Z","avatar_url":"https://github.com/ObjectProfile.png","language":"Smalltalk","funding_links":[],"categories":["System interaction"],"sub_categories":[],"readme":"# PythonBridge\n Bridge that allows executing arbitrary pieces of Python code directly from Pharo.\n \n The official webpage and documentation is https://objectprofile.github.io/PythonBridge/.\n\n# Requirements\n\nThis project depends on Python3.6 (or Python3.7) and Pipenv.\n\n# Installation\n\nTo install PythonBridge on Pharo just run the following script in a Pharo Playground:\n```Smalltalk\nMetacello new\n    baseline: 'PythonBridge';\n    repository: 'github://ObjectProfile/PythonBridge/src';\n    load.\n``` \nThe first part of the script is responsible of downloading the PythonBridge code and loading it in the image.\nThe second part of the script is responsible of creating a pipenv environment for isolating the python libraries used by the bridge.\n\nDepending on the internet connection, the script could take a couple of minutes to run.\n\nA more in depth guide is present on the official website of this project https://objectprofile.github.io/PythonBridge/.\n\n[Video installation for VisualWorks](https://vimeo.com/401196404)\n\n# Simple test\n\nEvaluating the following code in a playground should return `3`:\n```Smalltalk\nPBApplication do: [ \n\tPBCF \u003c\u003c (P3GBinaryOperator new\n\t\t\t\t\t\tleft: 1;\n\t\t\t\t\t\tright: 2;\n\t\t\t\t\t\toperator: $+;\n\t\t\t\t\t\tyourself).\n\tPBCF send waitForValue\n\t ]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FObjectProfile%2FPythonBridge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FObjectProfile%2FPythonBridge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FObjectProfile%2FPythonBridge/lists"}