TableMongo. A MongoDB ORM based on Google's BigTable Syntax
Project description
# TableMongo. A MongoDB ORM
Contributers · [Hunter Larco](http://hunterlarco.com)
> TableMongo syntax emulates Google's Python BigTable ORM, making it easier to transition from Google Cloud Platform to a MongoDB based systems.
## Example
```python
import TableMongo as db
class User(db.Model):
email = db.StringProperty()
password = db.StringProperty()
favourite_things = db.StringProperty(multiple=True)
User(
email='john@doe.com',
password='p@ssword',
favourite_things=['apples', 'pie']
).save()
users = User.query(User.email == 'john@doe.com')
```
## Installation
Installation is super friendly using `pip`
```
$ pip install TableMongo
```
## Documentation
* [Quickstart](./Documentation/quickstart.md)
Contributers · [Hunter Larco](http://hunterlarco.com)
> TableMongo syntax emulates Google's Python BigTable ORM, making it easier to transition from Google Cloud Platform to a MongoDB based systems.
## Example
```python
import TableMongo as db
class User(db.Model):
email = db.StringProperty()
password = db.StringProperty()
favourite_things = db.StringProperty(multiple=True)
User(
email='john@doe.com',
password='p@ssword',
favourite_things=['apples', 'pie']
).save()
users = User.query(User.email == 'john@doe.com')
```
## Installation
Installation is super friendly using `pip`
```
$ pip install TableMongo
```
## Documentation
* [Quickstart](./Documentation/quickstart.md)
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
TableMongo-1.0.3.tar.gz
(11.9 kB
view hashes)