The Principal Dev – Masterclass for Tech Leads

The Principal Dev – Masterclass for Tech LeadsNov 27-28

Join

Top Python Mocking Libraries 2025

GitHub Libraries Python Mocking Libraries

spulec/freezegun 4K +5

added 5 months ago

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

getsentry/responses 4K +2

added 5 months ago

A utility for mocking out the Python Requests library.

kevin1024/vcrpy 2K +13

added 5 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.