Metadata-Version: 2.1
Name: recutilswrap
Version: 0.1.0
Summary: 
Author: tullpu
Author-email: tullpu@proton.me
Requires-Python: >=3.10,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: bash (>=0.6,<0.7)
Description-Content-Type: text/markdown

# RecUtilsWrap

A Wrap class to make the use of recutils easier


# Simple example

```python
from recutilswrap import *

# Create a database book in a file book.rec with Id as primary key
r = RecUtilsWrap('Book','book.rec','Id')

# create / overwrite the db file. Should be done once
r.create_db()

# Insert some entries
r.insert(title="The Trial",author="Kafka")
r.insert(title="The Castle",author="Kafka")
r.insert(title="Thus Spoke Zarathustra",author="Nietzsche")
r.insert(title="The Plague", author="Camus")
r.insert(title="The Stranger", author="Camus")

# print a dictionary with the books of Camus
print(r.select(EQ('author',"Camus")))
```


