Following is at a very early stage of development and highly experimental, before using consult your doctor or pharmacist.
LatexrateC is a simple header only C library that aims to interweave C and Latex to create system that accomplishes some of the goals of Literate Programming paradigm.
Partialy implemented: 2D ploting utilites not implemented: 3D ploting not implemented: interweaving beetween calculations (numerical and symbolical) and equation in Latex not implemented: testing of code snipets in Latex document not implemented: generator of LaterateC project from Latex project not implemented: pip package to use this from Python
Currently there is a simple example in C showcasing how to use Latexrate to generate simple 2D graphs in article class document.