{"id":19153775,"url":"https://github.com/christimperley/comby-python","last_synced_at":"2025-05-07T06:27:59.605Z","repository":{"id":50125969,"uuid":"129783691","full_name":"ChrisTimperley/comby-python","owner":"ChrisTimperley","description":"Python bindings for Comby","archived":false,"fork":false,"pushed_at":"2023-11-07T23:22:57.000Z","size":88,"stargazers_count":13,"open_issues_count":9,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-19T19:05:34.723Z","etag":null,"topics":["comby","program-transformation","python-bindings","syntax-rewriter"],"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/ChrisTimperley.png","metadata":{"files":{"readme":"README.rst","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":"2018-04-16T17:50:40.000Z","updated_at":"2024-03-26T16:51:56.000Z","dependencies_parsed_at":"2024-11-09T08:25:21.512Z","dependency_job_id":"52b3f5b5-6a66-498c-9890-a7f0b1fddd96","html_url":"https://github.com/ChrisTimperley/comby-python","commit_stats":{"total_commits":109,"total_committers":2,"mean_commits":54.5,"dds":0.00917431192660545,"last_synced_commit":"a6e1614957a837494094b24fe5faac9abac4ac49"},"previous_names":["squareslab/rooibos.py"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChrisTimperley%2Fcomby-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChrisTimperley%2Fcomby-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChrisTimperley%2Fcomby-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChrisTimperley%2Fcomby-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChrisTimperley","download_url":"https://codeload.github.com/ChrisTimperley/comby-python/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252826259,"owners_count":21810083,"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":["comby","program-transformation","python-bindings","syntax-rewriter"],"created_at":"2024-11-09T08:24:14.006Z","updated_at":"2025-05-07T06:27:59.589Z","avatar_url":"https://github.com/ChrisTimperley.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":".. -*-restructuredtext-*-\n\ncomby-python\n============\n\n\n.. image:: https://travis-ci.org/ChrisTimperley/comby-python.svg?branch=master\n    :target: https://travis-ci.org/ChrisTimperley/comby-python\n\n.. image:: https://badge.fury.io/py/comby.svg\n    :target: https://badge.fury.io/py/comby\n\n.. image:: https://img.shields.io/pypi/pyversions/comby.svg\n    :target: https://pypi.org/project/comby\n\nPython bindings for `Comby \u003chttps://github.com/comby-tools/comby\u003e`_.\n\n\nInstallation\n------------\n\nComby must be installed: https://github.com/comby-tools/comby\n\nTo install the latest release from PyPI:\n\n.. code:: shell\n\n   $ pip install comby\n\nor to install from source:\n\n.. code:: shell\n\n   $ pip install .\n\n\nGetting Started\n---------------\n\nTo perform a basic match-rewrite on a given source text:\n\n.. code:: python\n\n   from comby import Comby\n\n   comby = Comby()\n   match = 'print :[[1]]'\n   rewrite = 'print(:[1])'\n   source_old = 'print \"hello world\"'\n   source_new = comby.rewrite(source_old, match, rewrite)\n   # -\u003e 'print(\"hello world\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchristimperley%2Fcomby-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchristimperley%2Fcomby-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchristimperley%2Fcomby-python/lists"}