Software Development

Create an Upload and Download Files API Endpoint with FastAPI

FastAPI is an awesome and simple framework for building APIs (application programming interfaces). Among the various features of FastAPI out of the boxwe will be exploring how to include an endpoint whereby we can upload a json file and return another file that we can download. In this tutorial we will create an endpoint for …

Create an Upload and Download Files API Endpoint with FastAPI Read More »

Tools for Benchmarking Performance & Load Testing Web Apps

A Benchmark is a set of standard or point of reference against which things may be compared. As a reference point it helps us to know if our software or product is performing well or not. Hence in a way benchmarking is useful for determining and measuring performance. It is useful for setting a baseline …

Tools for Benchmarking Performance & Load Testing Web Apps Read More »

How to Stop Django or Flask Server without Ctrl + C

Ctrl + C is an awesome and common way to stop most process especially when being run from the terminal. In this tutorial we will explore how to stop a Django application or Flask application without using Ctrl + C. This idea is useful when you are working within a script or a CI/CD pipeline …

How to Stop Django or Flask Server without Ctrl + C Read More »

How to Run a PyPi Mirror Locally on Your Laptop using DevPi

Mirroring websites refer to the concept of replicating or copying a website or any network node with the purpose of Reducing network traffic, improve access speed Ensuring availability of the original site for technical or political reasons Providing a real-time backup of the original site. In this tutorial we will be making a mirror of PyPI …

How to Run a PyPi Mirror Locally on Your Laptop using DevPi Read More »

Deploying Streamlit and FastAPI apps using Docker and Docker-compose

Containerization refers to the process of virtualization in which all the components of an application are bundled into a single container image and can be run in isolated user space on the same shared operating system. The containers are basically a fully functional and portable cloud or non-cloud computing environment surrounding the application and keeping …

Deploying Streamlit and FastAPI apps using Docker and Docker-compose Read More »

How to Fix TypeError: ‘ ‘ object is not subscriptable

Object Oriented Programming is a vital feature when it comes to writing code. In Python, everything can be seen as an object and one of the ways of creating objects in python is via ‘Class’.A Class is like an object constructor, or a “blueprint” for creating objects.When working with classes one of the errors you …

How to Fix TypeError: ‘ ‘ object is not subscriptable Read More »