{"id":13781561,"url":"https://github.com/amykyta3/tclpython","last_synced_at":"2025-05-11T15:31:55.083Z","repository":{"id":58344834,"uuid":"104168542","full_name":"amykyta3/tclpython","owner":"amykyta3","description":"Tcl package that provides access to a Python interpreter","archived":false,"fork":false,"pushed_at":"2022-09-01T02:20:09.000Z","size":61,"stargazers_count":15,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-01T23:12:20.783Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amykyta3.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}},"created_at":"2017-09-20T05:11:56.000Z","updated_at":"2024-07-05T01:57:01.000Z","dependencies_parsed_at":"2022-09-06T08:22:52.755Z","dependency_job_id":null,"html_url":"https://github.com/amykyta3/tclpython","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amykyta3%2Ftclpython","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amykyta3%2Ftclpython/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amykyta3%2Ftclpython/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amykyta3%2Ftclpython/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amykyta3","download_url":"https://codeload.github.com/amykyta3/tclpython/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253588566,"owners_count":21932278,"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":[],"created_at":"2024-08-03T18:01:27.139Z","updated_at":"2025-05-11T15:31:54.830Z","avatar_url":"https://github.com/amykyta3.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"[![build](https://github.com/amykyta3/tclpython/workflows/build/badge.svg)](https://github.com/amykyta3/tclpython/actions?query=workflow%3Abuild+branch%3Amaster)\n\n# TclPython\n\nThis package allows the execution of Python code from a Tcl interpreter.\n\nThe Python interpreter is accessed using the `tclpython3` package:\n\n```tcl\npackage require tclpython3\nset interpreter [python3::interp new]\n$interpreter exec {print(\"Hello World\")}\nputs [$interpreter eval 3/2.0]\npython3::interp delete $interpreter\n```\n\n\n## Installing (Linux)\n\n### 1. Install Dependencies\n\n#### Debian\n```bash\nsudo apt install python3-dev tcl-dev\n```\n\n#### Red Hat\n```bash\nsudo yum install python3-devel tcl-devel\n```\n\n### 2. Determine install path\nTcl package installation paths vary depending on the platform.\n\nEither pick one that looks right from the output of the following:\n\n```bash\necho 'foreach p $auto_path {puts $p}' | tclsh\n```\n\n... or create a new location, and add it to the `TCLLIBPATH` environment variable:\n\n```bash\nexport TCLLIBPATH=$TCLLIBPATH:/path/to/my/tcl/packages\n```\n\n### 3. Compile from source\n\n```bash\nmake\nmake test\nmake install INSTALL_DIR=path/from/step/2\n```\n\n## Installing (Windows)\nSee [msvc/README.md](msvc/README.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famykyta3%2Ftclpython","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famykyta3%2Ftclpython","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famykyta3%2Ftclpython/lists"}