{"id":21934913,"url":"https://github.com/tueda/python-form","last_synced_at":"2025-10-13T14:15:15.659Z","repository":{"id":35331370,"uuid":"39593458","full_name":"tueda/python-form","owner":"tueda","description":"A Python package for communicating with FORM.","archived":false,"fork":false,"pushed_at":"2021-01-08T14:07:54.000Z","size":161,"stargazers_count":7,"open_issues_count":3,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-19T22:44:09.636Z","etag":null,"topics":["binding","computer-algebra","form","python"],"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/tueda.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-23T21:17:29.000Z","updated_at":"2024-04-04T13:47:36.000Z","dependencies_parsed_at":"2022-09-15T13:02:24.000Z","dependency_job_id":null,"html_url":"https://github.com/tueda/python-form","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/tueda%2Fpython-form","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tueda%2Fpython-form/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tueda%2Fpython-form/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tueda%2Fpython-form/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tueda","download_url":"https://codeload.github.com/tueda/python-form/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249822484,"owners_count":21329975,"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":["binding","computer-algebra","form","python"],"created_at":"2024-11-29T00:17:42.516Z","updated_at":"2025-10-13T14:15:15.576Z","avatar_url":"https://github.com/tueda.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"python-form\n===========\n\n.. image:: https://badge.fury.io/py/python-form.svg\n    :target: https://pypi.python.org/pypi/python-form\n    :alt: PyPI version\n\n.. image:: https://img.shields.io/pypi/pyversions/python-form.svg\n    :target: https://pypi.python.org/pypi/python-form\n    :alt: Python versions\n\n.. image:: https://travis-ci.org/tueda/python-form.svg?branch=master\n    :target: https://travis-ci.org/tueda/python-form\n    :alt: Build Status\n\n.. image:: https://coveralls.io/repos/tueda/python-form/badge.svg?branch=master\u0026service=github\n    :target: https://coveralls.io/github/tueda/python-form?branch=master\n    :alt: Coverage\n\n.. image:: https://readthedocs.org/projects/python-form/badge/?version=latest\n    :target: https://python-form.readthedocs.io/en/latest\n    :alt: Documentation Status\n\n.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.1044009.svg\n    :target: https://doi.org/10.5281/zenodo.1044009\n    :alt: DOI\n\nThis package provides a mechanism to embed FORM_ [1]_ [2]_ [3]_ programs in\nPython code. The basic idea of the implementation is the same as FormLink_ [4]_:\nit utilizes unnamed pipes between FORM and an external program [5]_, Python in\nthis case. It is expected to work on Unix-like systems.\n\nInstallation\n------------\n\n::\n\n    $ pip install python-form\n\nor directly from GitHub for the latest development version:\n\n::\n\n    $ pip install git+https://github.com/tueda/python-form.git\n\nSee also the documentation for `pip install`_.\n\nExample\n-------\n\n.. code:: python\n\n    import form\n\n    with form.open() as f:\n        f.write('''\n            AutoDeclare Vector p;\n            Local F = g_(0,p1,...,p6);\n            trace4,0;\n            .sort\n        ''')\n        print(f.read('F'))\n\nDocumentation\n-------------\n\n- `Package Documentation`_\n- CHANGELOG_\n\nLicence\n-------\n\npython-form is distributed under the MIT licence.\nSee the LICENCE_ file.\n\nNote that FORM itself adopts the GPL version 3. A program/package using FORM via\npython-form could be considered as an aggregate (at your own risk) or a combined\nwork affected by the GPL.\n\nReferences\n----------\n\n.. _FORM: https://www.nikhef.nl/~form/\n.. _FormLink: https://www.feyncalc.org/formlink/\n.. _pip install: https://pip.pypa.io/en/stable/reference/pip_install/\n.. _Package Documentation: https://python-form.readthedocs.io/en/stable/\n.. _CHANGELOG: https://github.com/tueda/python-form/blob/master/CHANGELOG.md\n.. _LICENCE: https://github.com/tueda/python-form/blob/master/LICENCE.md\n\n.. [1] J.A.M. Vermaseren,\n       New features of FORM,\n       `arXiv:math-ph/0010025\n       \u003chttps://arxiv.org/abs/math-ph/0010025\u003e`_.\n.. [2] J. Kuipers, T. Ueda, J.A.M. Vermaseren and J. Vollinga,\n       FORM version 4.0,\n       `Comput.Phys.Commun. 184 (2013) 1453-1467\n       \u003chttps://dx.doi.org/10.1016/j.cpc.2012.12.028\u003e`_,\n       `arXiv:1203.6543 [cs.SC]\n       \u003chttps://arxiv.org/abs/1203.6543\u003e`_.\n.. [3] https://github.com/vermaseren/form\n.. [4] Feng Feng and Rolf Mertig,\n       FormLink/FeynCalcFormLink : Embedding FORM in Mathematica and FeynCalc,\n       `arXiv:1212.3522 [hep-ph]\n       \u003chttps://arxiv.org/abs/1212.3522\u003e`_.\n.. [5] M. Tentyukov and J.A.M. Vermaseren,\n       Extension of the functionality of the symbolic program FORM by external software,\n       `Comput.Phys.Commun. 176 (2007) 385-405\n       \u003chttps://dx.doi.org/10.1016/j.cpc.2006.11.007\u003e`_,\n       `arXiv:cs/0604052\n       \u003chttps://arxiv.org/abs/cs/0604052\u003e`_.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftueda%2Fpython-form","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftueda%2Fpython-form","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftueda%2Fpython-form/lists"}