API Development

Types of Processing Units for LLM and Machine Learning Apps

Every software requires a processing unit in order for it to run, however the kind of processing unit and circuitry among other things has a great influence on the performance and speed of the software. Large Language Models are also a form of software and they require the right infrastructure for better speed of inference. …

Types of Processing Units for LLM and Machine Learning Apps Read More »

How to Use Jinja-Like Syntax in Julia Web Apps with Oxygen.jl

Oxygen.jl is a simple microframework that is quite useful for creating web apps and APIs in Julia. In my opinion, it is like the Flask of Julia as GenieFramework.jl is like the Django of Julia. Since it is quite new( Sept 2023), it does not yet have support for using Jinja – a templating engine …

How to Use Jinja-Like Syntax in Julia Web Apps with Oxygen.jl Read More »

Copying Model Instance Vs Versioning Model Instance In Django

Recently I was working on a project that involved how to keep track of changes made to a django model. This brought us to consider which approach to use, i.e whether to copy or to version using different strategies. To begin let us understand the different between the two concept. Difference Between Copying A Model …

Copying Model Instance Vs Versioning Model Instance In Django Read More »

How to Use Github Workflow for Django Projects

Designing a GitHub workflow for CI/CD (Continuous Integration and Continuous Deployment) for a Django project involves creating a YAML configuration file that defines the steps to build, test, and deploy your Django application.In this tutorial we will explore a step-by-step guide on how to set up a GitHub workflow for a Django project: Create a …

How to Use Github Workflow for Django Projects Read More »

Deploying Django with Gunicorn,Nginx & Supervisor

In this tutorial we will explore how to deploy our django project to a production server. Below are the general steps. Serving Django Project with gunicorn Setup nginx conf in /etc/nginx/sites-available/myproject.conf Create a symbolic link in /etc/nginx/sites-enabled Restart nginx to see 501 Create a myproject.supervisor.conf file in /supervisor/conf.d/ directory Run supervisorctl Using Gunicorn to Serve …

Deploying Django with Gunicorn,Nginx & Supervisor Read More »

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 »

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 »