S
S
Sergey Aganezov2010-12-26 12:03:51
Python
Sergey Aganezov, 2010-12-26 12:03:51

NoSQL + Python

Where can I read his NoSQL databases? Interested in theory, pros and cons, use cases and perspectives. I decided to diversify my knowledge and read about databases, and for some reason (apparently a tribute to fashion and “it's cool”) I decided to study NoSQL.

Also interested in what tools are there for working with databases of this type in Python?

And it would be absolutely great to find an article / book where there would be examples of working with NoSQL in Python from the very basics to interesting tricks.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
superhabra, 2010-12-26
@superhabra

I think we should start from here
Then go through these links

V
VBart, 2010-12-26
@VBart

The database and the language in which you write the application are usually little related things. If only there was a driver for the database you chose. Python is a popular language, there are no problems with it. First decide what you want from the database.

V
Vladimir Chernyshev, 2010-12-26
@VolCh

There is quite a lot of useful information about NoSQL (when used on the web in general, and in django in particular) here allbuttonspressed.com/

V
Vas3K, 2010-12-26
@Vas3K

Well, you read the theory yourself, we don’t consider the questions “do we need it”. I will share my experience. The “lowest level” of access to mongo in python is pymongo. It’s like mysqldb for MySQL (if it worked), that is, bare queries, bare iterators, so add-ons were invented for this whole thing (like Alchemy for SQL) to do MVC. Of those that I used (like the two most famous and usable ones) these are mongokit and mongoengine. My blog is written on mongokit (you will find the link where necessary), and a couple of other projects. From my impressions: a very cool description of models - just dictionaries, like in mongo, but a little confusing declaration of keys and DBRef. I also really liked the requests, almost exactly the same as in the mongo console. Didn't like some of the queries, but it's mostly due to the rapid development of mongo and the slowness of mongokit itself. Ah yes if you write on all sorts of dzhangs and don’t know how to do authorization with pens and don’t master the admin panel, then this is not for you. There's nothing here. But there is in mongoengine. But there are some drawbacks: strange description of models (as in Dzhang ORM, on classes, good for SQL, but not for mongo), strange queries. Mongoengine is more like a SQL brain, which is why I don't like it. But more ... hmm ... abstract or something.
All of the above is IMHO.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question