How to Install and Uninstall python3-mongomock Package on Kali Linux

Last updated: December 26,2024

1. Install "python3-mongomock" package

Please follow the steps below to install python3-mongomock on Kali Linux

$ sudo apt update $ sudo apt install python3-mongomock

2. Uninstall "python3-mongomock" package

In this section, we are going to explain the necessary steps to uninstall python3-mongomock on Kali Linux:

$ sudo apt remove python3-mongomock $ sudo apt autoclean && sudo apt autoremove

3. Information about the python3-mongomock package on Kali Linux

Package: python3-mongomock
Source: python-mongomock
Version: 4.1.3-1
Installed-Size: 261
Maintainer: Debian Python Team
Architecture: all
Depends: python3-pkg-resources, python3-packaging, python3-sentinels, python3-tz, python3:any
Size: 47212
SHA256: e00deb6ea7e2d23f6fb1e5fb9dc0a4d21a72b022529c150885685543e1eee13e
SHA1: 0796cb5acadfe641a83d56f9306ee8993987d627
MD5sum: f8f27e40dc5e92b2fad493b733a47d4e
Description: Fake pymongo stub for testing simple MongoDB-dependent code (Python 3)
Mongomock is a small library to help testing Python code that interacts with
MongoDB via Pymongo.
.
The code can be tested in several ways:
.
1. It can be tested against a real mongodb instance with pymongo.
2. It can receive a record-replay style mock as an argument. In this manner
we record the expected calls (find, and then a series of updates), and
replay them later.
3. It can receive a carefully hand-crafted mock responding to find() and
update() appropriately.
.
This package installs the library for Python 3.
Description-md5:
Homepage: https://github.com/mongomock/mongomock
Section: python
Priority: optional
Filename: pool/main/p/python-mongomock/python3-mongomock_4.1.3-1_all.deb