Integrating MongoDB with Flask Using Flask-PyMongo

Introduction Building a web app almost always means dealing with data from a database. There are various databases to choose from, depending on your preference. In this article, we shall be taking a look at how to integrate one of the most popular NoSQL databases – MongoDB – with the Flask micro-framework. They are several Flask extensions for integrating MongoDB, here we’ll be using the Flask-PyMongo extension. We will also be working on a simple Todo-List API to explore the […]

Read more

Analyzing API Data with MongoDB, Seaborn, and Matplotlib

Introduction A commonly requested skill for software development positions is experience with NoSQL databases, including MongoDB. This tutorial will explore collecting data using an API, storing it in a MongoDB database, and doing some analysis of the data. However, before jumping into the code let’s take a moment to go over MongoDB and APIs, to make sure we understand how we’ll be dealing with the data we’re collecting. MongoDB and NoSQL MongoDB is a form of NoSQL database, enabling the […]

Read more

Integrating MongoDB with Python Using PyMongo

Introduction In this post, we will dive into MongoDB as a data store from a Python perspective. To that end, we’ll write a simple script to showcase what we can achieve and any benefits we can reap from it. Web applications, like many other software applications, are powered by data. The organization and storage of this data are important as they dictate how we interact with the various applications at our disposal. The kind of data handled can also have […]

Read more