Python Mock

Open-source Python projects categorized as Mock

Top 20 Python Mock Projects

  • Moto

    A library that allows you to easily mock out tests based on AWS infrastructure.

    Project mention: What is the development enviroment for AWS? | /r/aws | 2023-04-28

    If using Python use Moto to mock AWS Services

  • Mimesis

    Mimesis is a robust data generator for Python, capable of rapidly producing large volumes of synthetic data for various use cases.

    Project mention: Mimesis allows you toeasily generate detailed dummy datasets. | /r/datascience | 2023-04-12

    Mimesis has well-structured and comprehensive documentation: https://mimesis.name

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • responses

    A utility for mocking out the Python Requests library.

    Project mention: Please recommend a good API Mocking tool | /r/django | 2023-05-16
  • freezegun

    Let your Python tests travel through time

    Project mention: How to simulate a delay in a test? | /r/django | 2022-09-21

    I had much fun with https://github.com/spulec/freezegun

  • VCR.py

    Automatically mock your HTTP interactions to simplify and speed up testing

    Project mention: Please recommend a good API Mocking tool | /r/django | 2023-05-16

    I made a library for this: https://github.com/kevin1024/vcrpy

  • httpretty

    Intercept HTTP requests at the Python socket level. Fakes the whole socket module (by gabrielfalcao)

  • betamax

    A VCR imitation designed only for python-requests.

  • Sonar

    Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • mock

    The Python mock library (by testing-cabal)

  • respx

    Mock HTTPX with awesome request patterns and response side effects 🦋

    Project mention: Fully Remote: Django Developer Who Loves Linux And Open Source -- Apply Via Ssh(!) at 5 Monkeys Agency | /r/PythonJobs | 2022-07-04

    In addition we maintain a few open source projects ourselves. Some examples include Djedi CMS, django-bananas, RESPX and Kapten.

  • httmock

    A mocking library for requests

  • time-machine

    Travel through time in your tests.

  • Mocket

    a socket mock framework - for all kinds of socket animals, web-clients included

  • mockintosh

    Mocks for microservice environments

  • cornell

    Cornell - record & replay mock server (by hiredscorelabs)

  • python-libfaketime

    A fast time mocking alternative to freezegun that wraps libfaketime.

  • apyr

    API mocking with Python.

  • mock-ssh-server

    Python mock SSH server for testing purposes

    Project mention: How test a SSH Paramiko connection? | /r/learnpython | 2022-06-14

    I've found mockSSH, but I can't use password to authenticate, which is required, and it's not working for me either.

  • Mock Generator

    A tool to auto generate the basic mocks and asserts for faster unit testing

  • pytest-mock-generator

    A pytest fixture wrapper for https://pypi.org/project/mock-generator

  • pymox

    Pymox - open source mock object framework for Python

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-05-16.

Python Mock related posts

Index

What are some of the best open-source Mock projects in Python? This list will help you:

Project Stars
1 Moto 6,845
2 Mimesis 3,972
3 responses 3,884
4 freezegun 3,687
5 VCR.py 2,420
6 httpretty 2,045
7 betamax 536
8 mock 521
9 respx 471
10 httmock 454
11 time-machine 453
12 Mocket 263
13 mockintosh 149
14 cornell 137
15 python-libfaketime 68
16 apyr 57
17 mock-ssh-server 51
18 Mock Generator 34
19 pytest-mock-generator 29
20 pymox 10
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com