DerivKit is a robust Python toolkit for stable numerical derivatives, built for scientific computing, cosmology, and any domain requiring accurate gradients or higher-order expansions.
Detailed documentation, examples, and API reference can be found at the derivkit documentation.
If you use DerivKit in your research, please cite the associated paper:
@misc{sarcevic2026derivkitstablenumericalderivatives,
title = {DerivKit: stable numerical derivatives bridging Fisher forecasts and MCMC},
author = {Šarčević, Nikolina and van der Wild, Matthijs and Trendafilova, Cynthia},
year = {2026},
eprint = {2602.08078},
archivePrefix= {arXiv},
primaryClass = {astro-ph.IM},
url = {https://arxiv.org/abs/2602.08078}
}MIT License © 2025 Niko Šarčević, Matthijs van der Wild, Cynthia Trendafilova and contributors.