pip install pyfakefs==4.5.1

pyfakefs implements a fake file system that mocks the Python file system modules.

Source
Among top 1% packages on PyPI.
Over 1.5M downloads in the last 90 days.

Commonly used with pyfakefs

Based on how often these packages appear together in public requirements.txt files on GitHub.

docformatter

Formats docstrings to follow PEP 257.

i3ipc

An improved Python library to control i3wm and sway

isort

A Python utility / library to sort Python imports.

autopep8

A tool that automatically formats Python code to conform to the PEP 8 style guide

unify

Modifies strings to all use the same (single/double) quote where possible.

wrapt

Module for decorators, wrappers and monkey patching.

pylint

python code static checker

github-backup

backup a github user or organization

backports.functools-lru-cache

Backport of functools.lru_cache

vcrpy

Automatically mock your HTTP interactions to simplify and speed up testing

sphinx-paramlinks

Allows param links in Sphinx function/method descriptions to be linkable

yamlloader

Ordered YAML loader and dumper for PyYAML.

pylama

pylama -- Code audit tool for python

typed-ast

a fork of Python 2 and 3 ast modules with type comment support

tox-battery

Additional functionality for tox

pytest-pylint

pytest plugin to check source code with pylint

flake8-deprecated

Warns about deprecated method calls.

prospector

Prospector: python static analysis tool

swaggapi

Swagger REST API builder

Version usage of pyfakefs

Proportion of downloaded versions in the last 3 months (only versions over 1%).

4.1.0

33.56%

4.5.1

17.45%

4.5.0

10.90%

3.4.1

10.55%

3.7.2

6.81%

4.2.1

5.92%

3.7.1

3.52%

4.4.0

2.96%

3.2

2.21%

4.3.3

1.03%