Articles by Per Wagner Nielsen

  1. Asyncio basic II

    Tutorial on how to use Asyncio in a Jupyter Notebook

    This story will show the basic of using Asyncio in a Jupyter Notebook

    Prerequisites

    Using Python 3.12. Need to install a few packages via pip along the way, but that will be obvious once we get to that.

    The …

    Tagged as : asyncio python
  2. Mini agent with Langgraph

    Tutorial on how to make a mini agent using langgraph

    Prerequisites

    I'm working on an Ubuntu 24 with a langgraph 0.2.60 for good measure. This is also not an introduction to LangChain or LangGraph and you are expected to have a basic understanding of these two libraries.

    What …

  3. Asyncio basic I

    Tutorial on how to use Asyncio in Python

    This story will show the basic of using Asyncio in Python

    Prerequisites

    Using Python 3.10. Need to install a few packages via pip along the way, but that will be obvious once we get to that.

    Concepts

    Concurrency, parallelism and multitasking …

    Tagged as : asyncio python
  4. Django on the cheap

    Story on how to setup Django as cheaply as possible.
    NB: Still work in progress.

    This story will show how to create a Django application and deploy it to a hosting provider as cheaply as I could possible do it.

    Prerequisites

    I will not be free, but my aim is …

    Tagged as : django
  5. K Nearest Neighbor

    We will look into the basics of K Nearest Neighbor

    Prerequisites

    We will be using Jupyter lab, so make sure you have that installed

    What is KNN (K Nearest Neighbor)

    KNN is a classification algorithm meaning we are trying to determine if an instance belongs to a specific group or …

    Tagged as : machine learning
  6. Django logging

    Tutorial on how to use logging with Django.

    Prerequisites

    I'm working on an Ubuntu 20.04, Django 3.1.1 and django-extensions 3.0.9 for good measure.

    This will not be a complete from zero to hero tutorial, rather I'll assume that you know enough basic Django to be …

    Tagged as : django logging

Page 1 / 3