Python

Python Programming Tutorials

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 »

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 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 »

An Intro to DagsHub For Data Scientists

DagsHub is a platform for data scientists and machine learning engineers to version their data, models, experiments, and code. In a way it is like Github for Data Scientists and ML Engineers. It is where Data Scientists build their ML projects without any external and complicated devops. It seeks to simplify MLOps for everyone. It allows …

An Intro to DagsHub For Data Scientists Read More »

Natural Language Processing with Spark NLU

Natural Language Processing ( NLP for short) is an exciting and useful field of Data Science. Some of applications of NLP involves Text Classification Sentiment Analysis Machine Translation Chatbots Creation Keyword Extraction NER etc With the increase of textual data, comes the increase of performant and fine tuned State of the Art(SoTA) models. These models …

Natural Language Processing with Spark NLU Read More »

Streamlit Projects – An App Challenge Series

In this series of post we will be building several web applications using Streamlit. The plethora of apps we will be building will range from simple fun and useful apps to complex data science apps. Our main framework will be streamlit. So what is streamlit? Streamlit is a powerful framework for build data apps as …

Streamlit Projects – An App Challenge Series Read More »

How to Programmatically Label Datasets using Snorkel in Python

Machine Learning can be grouped into two based on the presence or absence of labels or target class. This gives us the main branches of supervised machine learning (where the dataset is provided with predefined labels) and unsupervised machine learning (where there are no labels given). The task of assigning labels to a dataset is …

How to Programmatically Label Datasets using Snorkel in Python Read More »