answered 7 years ago
There is a citation module:
citation
sage: from sage.misc.citation import get_systems sage: get_systems('plot(lambda x: sin(x), 0, 2*pi)') ['ginac']