The Principal Dev – Masterclass for Tech Leads

The Principal Dev – Masterclass for Tech LeadsJuly 17-18

Join

Top Python Mocking Libraries 2025

GitHub Libraries Python Mocking Libraries

spulec/freezegun 4K +1

added 3 months ago

FreezeGun is a library that allows your Python tests to travel through time by mocking the datetime module.

getsentry/responses 4K

added 3 months ago

A utility for mocking out the Python Requests library.

kevin1024/vcrpy 2K +2

added 3 months ago

Automatically mock your HTTP interactions to simplify and speed up testing

Join libs.tech

...and unlock some superpowers

GitHub

We won't share your data with anyone else.