Skip to main content

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

CHANGES

3.13.7 (2026-05-30)

  • bugfix: _index_list (used by cursor.sort) accepted only py2 str for the key argument and raised TypeError on unicode keys. Most callers pass u’fieldName’ in py2 (e.g. xserver Connection / Dossier / Application views, xpo browser views). Switched the isinstance check to the module-level string_type alias (basestring in py2, str in py3) so unicode sort keys are now accepted.

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

Metadata

Release files for m01.fake 3.13.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for m01.fake 3.13.7
File Size Uploaded Provenance Actions
m01_fake-3.13.7.tar.gz 86.7 kB Without provenance Details for m01_fake-3.13.7.tar.gz

Release files / m01_fake-3.13.7.tar.gz

Download URL m01_fake-3.13.7.tar.gz
Size 86.7 kB
Tags Source
SHA-256 checksum
How to use checksums
cd5e561e08612b2928d586ca1e8d8c199b501bd5d82cbbfcc84c93e821ef8be7
BLAKE2b-256 checksum
How to use checksums
4ec79167046bae1a967340b8874b03d18c6cbf3134b16813d139219e112767f8
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for m01.fake 3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page