This is a python interface to giac.
It simulates a giac session. As simple as it gets:
g = pygiac.GiacSession()
print g.compute('p := factor(a^2-b^2)')
Eventually, it should be platform independent; at the moment it works on windows; linux version may need some minor modifications.
If launched from command line, it simulates giac command line interaction (note that giac.exe does not work in windows' command line).
See __init__ for details.
See __main__ for some examples.
See also castex, a python script that compiles a latex document including giac computations and plots.