A package for communicating with FORM
This package provides a mechanism to embed FORM    programs in Python code. The basic idea of the implementation is the same as FormLink : it utilizes unnamed pipes between FORM and an external program , Python in this case. It is expected to work on Unix-like systems.
$ pip install python-form
or directly from GitHub for the latest development version:
$ pip install git+https://github.com/tueda/python-form.git
See also the documentation for pip install.
import form with form.open() as f: f.write(''' AutoDeclare Vector p; Local F = g_(0,p1,...,p6); trace4,0; .sort ''') print(f.read('F'))
python-form is distributed under the MIT licence. See the LICENCE file.
Note that FORM itself adopts the GPL version 3. A program/package using FORM via python-form could be considered as an aggregate (at your own risk) or a combined work affected by the GPL.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for python_form-0.2.3-py2.py3-none-any.whl