
We present \href{https://github.com/lontelis/Einsteinpy_to_latex}{{\color{cyan}\texttt{EinsteinKPy2Tex}}}, an open-source Python package that computes fundamental geometric quantities for the Friedmann-Lema\^{i}tre-Robertson-Walker (FLRW) and Schwarzschild metrics using the EinsteinPy library. The code automatically calculates the Christoffel symbols, Riemann curvature tensor, Ricci tensor and scalar, Einstein tensor, geodesic equations, and a complete set of quadratic curvature invariants: the Kretschmann scalar ($R_{\mu\nu\rho\sigma}R^{\mu\nu\rho\sigma}$), the Ricci squared invariant ($R_{\mu\nu}R^{\mu\nu}$), the Gauss–Bonnet scalar ($R^2-4R_{\mu\nu}R^{\mu\nu}+R_{\mu\nu\rho\sigma}R^{\mu\nu\rho\sigma}$), the Weyl tensor, and the Weyl squared invariant ($C_{\mu\nu\rho\sigma}C^{\mu\nu\rho\sigma}$). All results are exported as professionally formatted \LaTeX\ documents showing only non‑zero components, ready for direct inclusion in research papers and educational materials. The FLRW implementation is essential for cosmology, enabling the study of the universe's large-scale structure and dynamics, while the Schwarzschild implementation is fundamental for black hole physics, describing the spacetime geometry around non-rotating compact objects. The code includes built‑in citations for Einstein (1915) and the EinsteinPy library (Ribeiro et al., 2020), ensuring proper academic attribution. \href{https://github.com/lontelis/Einsteinpy_to_latex}{{\color{cyan}\texttt{EinsteinKPy2Tex}}} is designed for educators, students, and researchers needing rapid, accurate tensor calculations with publication-ready output. The software is available at \href{https://github.com/lontelis/Einsteinpy_to_latex}{{\color{cyan}\texttt{GitHub}}} under an MIT license.
