Blog

Kartoza Internship: Programming Sessions
Python
Kartoza Internship: Programming Sessions

The Kartoza Internship aims to prepare candidates for the workplace and build their skills, knowledge, experience, and portfolio.

Managing Legacy Code - PyConID 2023 - Cover Image
Python
Managing Legacy Code - PyConID 2023

Tips on dealing with legacy code, from a keynote at PythonID 2023

FOSS4G 2022: STAC Highlights and using PySTAC - Cover Image
Conference
FOSS4G 2022: STAC Highlights and using PySTAC

FOSS4G 2022 was the first on-site FOSS4G conference held after the pandemic. There were around 330 talks delivered, and it seemed to me that Spatio-Temporal Asset Catalog (STAC) is a hot topic.

Reading and Writing XLSX File with Openpyxl
Python
Reading and Writing XLSX File with Openpyxl

Openpyxl is a Python library used for manipulating Excel files. I came across a work that needs to export data to XLSX format, and I used Openpyxl as it’s pretty straightforward.

Mocking Requests with Responses
Python
Mocking Requests with Responses

This blog will show you an alternative to requests_mock, the one that is simpler to use yet offers more features: responses

Python Type-Hint
Python
Python Type-Hint

Python is a dynamically-typed language, which means the interpreter does type-checking when the code is executed, and the variable type can change over its lifetime.

Making Django Custom Migrations
Python
Making Django Custom Migrations

Working with Django, we must be familiar with makemigrations and the migrate command. We use makemigrations to automa

Python Mocking Introduction
Python
Python Mocking Introduction

Mocking is a process in unit testing when the test has external dependencies. We isolate our code during the test, without having to worry about the unexpected behavior

Working with Web Data using Requests and Beautiful Soup - Cover Image
Python
Working with Web Data using Requests and Beautiful Soup

Imagine us in charge of developing a feature to show public data coming from a third party that doesn’t have an API

Mocking Requests with requests_mock
Python
Mocking Requests with requests_mock

Testing is an important part of software development, be it manual or automated.