<commit_before># Pymorm
Really simple pymongo-based ORM for MongoDB. The only requirements are Bunch and, obviously, pymongo.

# Updates

 * **0.3.0**   Added `__defaults__` property in `MongoObject`, used to declare default values for documents.
           The fields in `__defaults__` can also be callable. The callable will be called the first time the document is 
           retrieved through the library.
 
 * **0.3.3**   Cleaner mapping for returned documents. No need to monkeypatch the Cursor class anymore.
 * **0.3.4**   Overwritten default `find_and_modify` behavior, setting `manipulate=True` so that it returns an instance of
           the mapped class instead of a dictionary.

## Example
<commit_msg>Fixed heading in README.md<commit_after># Pymorm
Really simple pymongo-based ORM for MongoDB. The only requirements are Bunch and, obviously, pymongo.

## Updates

 * **0.3.0**   Added `__defaults__` property in `MongoObject`, used to declare default values for documents.
           The fields in `__defaults__` can also be callable. The callable will be called the first time the document is 
           retrieved through the library.
 
 * **0.3.3**   Cleaner mapping for returned documents. No need to monkeypatch the Cursor class anymore.
 * **0.3.4**   Overwritten default `find_and_modify` behavior, setting `manipulate=True` so that it returns an instance of
           the mapped class instead of a dictionary.

## Example

{'fraction_non_alphanumeric': 0.07320441988950276, 'fraction_numerical': 0.012430939226519336, 'mean_word_length': 3.542319749216301, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5573701', 'n_tokens_mistral': 411, 'n_tokens_neox': 392, 'n_words': 181}