<commit_before>RethinkDB Python Wrapper Class
==============================
Since I've been using Django a lot recently I've become sort of spoiled by the
Database abstraction that comes with it, but unfortunately using that with RDB
just isn't an option so I tried to find a nice middle ground. This wrapper
allows me to emulate the most common usages from Django's DB abstraction -- for
anything more complex I believe it would be best to do a manual query.

Related post: http://c2journal.com/2012/12/29/making-a-wrapper-for-your-rethinkdb-tables-in-python/


Class Examples
==============
###### Example Table #1
```
class MyTable(rwrapper):
  field1 = None
  field2 = None
  _db_table = 'my_table'<commit_msg>cleaned up intro<commit_after>RethinkDB Python Wrapper Class
==============================
This wrapper allows you to emulate the most common usages from Django's DB abstraction -- for
anything more complex I believe it would be best to do a manual query.

Related post: http://c2journal.com/2012/12/29/making-a-wrapper-for-your-rethinkdb-tables-in-python/


Class Examples
==============
###### Example Table #1
```
class MyTable(rwrapper):
  field1 = None
  field2 = None
  _db_table = 'my_table'
{'fraction_non_alphanumeric': 0.14744645799011533, 'fraction_numerical': 0.019769357495881382, 'mean_word_length': 4.731132075471698, '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': '1607553', 'n_tokens_mistral': 373, 'n_tokens_neox': 330, 'n_words': 139}