What are the popular NoSQL databases that are used with Python ? I know there are a few options as explained at http://nosql-database.org/ but which one does python programmers use/recommend the most?
MongoDB is a document-oriented database classified as NoSQL. It's become popular throughout the industry in recent years and integrates extremely well with Python. Unlike traditional SQL RDBMSs, MongoDB uses collections of documents instead of tables of rows to organize and store data.
SQLite is likely the most clear database and the most popular SQL databases to connect with a Python application since you don't have to install any external Python SQL database or type or SQL database modules.
Python can also interact with NoSQL databases in a similar way as is interacts with Relational databases. In this chapter we will use python to interact with MongoDB as a NoSQL database. In case you are new to MongoDB, you can learn it in our tutorial here.
NoSQL databases vary in architecture and function, so you need to pick the type that is best for the desired task: In general, key-value stores are best for the persistent sharing of data by multiple processes or microservices in an application.
Most of the nosql databases have python clients which are actively supported. Pick your database based on your usage needs. Using it from python shouldn't be a problem.
To name a few:
Cassandra: https://github.com/datastax/python-driver
Riak: https://github.com/basho/riak-python-client
MongoDB: http://api.mongodb.org/python/current/
CouchDB: http://wiki.apache.org/couchdb/Getting_started_with_Python
Redis: https://github.com/andymccurdy/redis-py
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With