Skip to main content

FAke mongodb implementation

Project description

This package provides a fake mongodb implementation and is quite handy for testing.

CHANGES

3.13.6 (2026-04-16)

  • bugfix; doProjection used ‘if v:’ which dropped falsy values (False, 0, empty string) from projected documents. Use _marker sentinel to only skip truly missing keys.

3.13.5 (2026-04-16)

  • bugfix; doProjection falsy value fix (superseded by 3.13.6)

3.13.4 (2025-01-07)

  • feature; implemented aggragate method

3.13.3 (2025-07-10)

  • make code python 3 compatible

3.13.2 (2025-06-26)

  • bugfix: return correct result for delete_on and delete_many

  • make m01.fake compatible with pymongo 3.13.0

  • remove the index options cache_for and drop_dups

3.13.1 (2025-06-25)

  • support list_database_names

3.13.0 (2025-06-24)

  • make m01.fake compatible with pymongo 3.13.0

3.0.6 (2025-05-27)

  • Update requirement pymongo>=4.0

3.0.5 (2025-05-06)

  • migration: python 2.7/3 version compatibility

3.0.4 (2022-02-06)

  • bugfix: fixed TyoeError if the deque get sliced in skip cursor method

3.0.3 (2018-11-24)

  • bugfix: fix find_one_and_update and ensure that upsert is working.

3.0.2 (2017-01-11)

  • bugfix: fix $setOnInsert, _id as a part of $setOnInsert didn’t get applied to the new inserted document

3.0.1 (2015-12-24)

  • make implementation compatible with final pymongo 3.2 version

3.0.0 (2015-11-11)

  • initial release

  • implemented update operator

  • implemented find operator

  • use 3.0.0 as package version and reflect pymongo > 3.0.0 compatibility

  • m01.mongofake replacement, support pymongo >= 3.0.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

m01_fake-3.13.6.tar.gz (88.1 kB view details)

Uploaded Source

File details

Details for the file m01_fake-3.13.6.tar.gz.

File metadata

  • Download URL: m01_fake-3.13.6.tar.gz
  • Upload date:
  • Size: 88.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.8.3 requests/2.27.1 setuptools/39.1.0 requests-toolbelt/1.0.0 tqdm/4.64.1 CPython/2.7.18

File hashes

Hashes for m01_fake-3.13.6.tar.gz
Algorithm Hash digest
SHA256 60835feaab77b6f4d8d6fb6ed37c40460fd73dcbc9c4577bc3df730c666a27dd
MD5 a59a5438310b9584002a18e495a27526
BLAKE2b-256 921f15d807c37b29d89ebb334c353e96ee0dc9748c68fb518a6b1af254438588

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page