Library to collect sub-expressions from SymPy expressions and generate C or Python code