Skip to main content

File based MongoDB server with pymongo compatible API.

Project description

LiteMongo

Code style: black Commitizen friendly security: bandit

About

LiteMongo provides a drop-in replacement for pymongo without the need for a MongoDB server. The database is stored on disk, making this an ideal tool for projects that require small MongoDB databases without wanting to go to the effort of installing the official server. This is all made possible by building on top of the wonderful Mongomock library.

Development

Tests

Simply run pytest. For more detailed output, including test coverage:

pytest -vv --cov=. --cov-report term-missing

Contributing

If you would like to contribute to the project:

  • if you're making code contributions, please try and write some tests to accompany your code, and ensure that the tests pass.
  • commit your changes via cz commit. Follow the prompts. When you're done, pre-commit will be invoked to ensure that your contributions and commits follow defined conventions. See pre-commit-config.yaml for more details.
  • your commit messages should follow the conventions described here. Write your commit message in the imperative: "Fix bug" and not "Fixed bug" or "Fixes bug." This convention matches up with commit messages generated by commands like git merge and git revert. Once you are done, please send a merge request.

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

litemongo-0.1.3.tar.gz (175.1 kB view details)

Uploaded Source

Built Distribution

litemongo-0.1.3-py3-none-any.whl (73.9 kB view details)

Uploaded Python 3

File details

Details for the file litemongo-0.1.3.tar.gz.

File metadata

  • Download URL: litemongo-0.1.3.tar.gz
  • Upload date:
  • Size: 175.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.27.1

File hashes

Hashes for litemongo-0.1.3.tar.gz
Algorithm Hash digest
SHA256 99a6a2bc65a3d5b1171020c001368f52d174a61a3e9a483650a6991f02459c82
MD5 9d88d1ee5a3d88ad09f9e8d854d9b2fd
BLAKE2b-256 a5037f45d60f42e6afac387480d4bccd5f39c1044f322ee2a8b530bd454e3c27

See more details on using hashes here.

File details

Details for the file litemongo-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: litemongo-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 73.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.27.1

File hashes

Hashes for litemongo-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a17e2990e2e96adc6123c70040aa023508a99a2fe6a6d9fcda7e593e334764b8
MD5 915cde071a5223765badc1f5fd099935
BLAKE2b-256 9d0fdf77665d74e4ea8db5a0906cf6945dfed73335777f03abcdd7f023c725c7

See more details on using hashes here.

Supported by

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