{"repo":"davidlatwe/montydb","free":true,"listed":false,"github":"https://github.com/davidlatwe/montydb","clone":"git clone https://github.com/davidlatwe/montydb.git","description":"Monty, Mongo tinified. MongoDB implemented in Python !","language":"Python","stars":618,"topics":["mongodb","tinydb","python","pymongo","mocking","lmdb"],"license":"BSD-3-Clause","category":"databases-storage","readme_excerpt":"Monty, Mongo tinified. MongoDB implemented in Python! Inspired by TinyDB and it's extension TinyMongo What is it? A pure Python-implemented database that looks and works like MongoDB. Most of the CRUD operators have been implemented. You can visit issue #14 to see the full list. This project is tested against: - MongoDB: 3.6, 4.0, 4.2 (4.4 on the way💦) - Python: 3.7, 3.8, 3.9, 3.10, 3.11, 3.12 Install Or with uv: - optional, to use real bson in operation ( pymongo will be installed) For minimum requirements, montydb ships with it's own fork of ObjectId in montydb.types , so you may ignore this option if ObjectId is all you need from bson - optional, to use lightning memory-mapped db as storage engine Storage 🦄 Available storage engines: in-memory flat-file sqlite lmdb (lightning memory-mapped db) Depending on which one you use, you may have to configure the storage engine before you start. ⚠️ The configuration process only required on repository creation or modification. And, one repository (the parent level of databases) can only assign one storage engine. To configure a storage, see flat-file storage for example: Once that done, there should be a file named monty.storage.cfg saved in your db repository path. It would be /db/repo for the above examples. Configuration Now let's moving on to each storage engine's config settings. 🌟 In-Memory memory storage does not need nor have any configuration, nothing saved to disk. 🔰 Flat-File flatfile is the default on-disk storage e","default_branch":null,"files":null,"tree":[],"storefront":"/r/davidlatwe","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/davidlatwe/montydb/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}