Skip to content

Python

Scripting, web frameworks, testing and data work. 78 posts, newest first. All topics

  1. PythonReplicating Laravel's Crypt::decryptString Logic in PythonA technical deep dive into decoding Laravel encrypted strings using Python's 'pycryptodome' library. Learn the AES-256-CBC, HMAC-SHA256 protocol used by Laravel and how to successfully verify the MAC and decrypt the payload outside the PHP environment.
  2. PythonHow to build a contact book cli application in PythonA contact book is a simple but useful tool that allows users to store and manage their contacts. In this article, we will discuss how to implement a contact book using Python and SQLite.
  3. PythonBuilding Fast and Efficient Web APIs with FastAPI in PythonIn this article, we'll explore the basics of FastAPI, including how to set up a FastAPI project, define API endpoints, and use FastAPI's powerful features such as dependency injection and validation
  4. PythonUsing TensorFlow in Python A Comprehensive GuideIn this article, we'll explore how to use TensorFlow in Python, covering essential topics like data preparation, model creation, training, evaluation, and deployment
  5. PythonGetting Started with Python-Levenshtein A Comprehensive GuideIn this article, we will discuss how to install and use the Python-Levenshtein library in your Python projects
  6. PythonAn Introduction to Flask A Lightweight Web Framework for PythonIn this article, we will explore the basics of Flask and demonstrate how to create a simple web application
  7. PythonUsing Pygame in Python A Comprehensive GuideIn this article, we will provide a comprehensive guide on using Pygame in Python, covering topics such as installing the library, creating a simple game, handling user input, and managing game objects
  8. PythonUsing Requests in Python A Comprehensive GuideIn this article, we will cover:
  9. PythonMastering Python Development with PyCharmIn this article, we will dive into the key features of PyCharm and explore how to use them effectively
  10. PythonHow to extract text from a PDF file in PythonTo extract text from a PDF file, you can use the `PyPDF2` library.
  11. PythonA Comprehensive Guide to Data Visualization with Seaborn in PythonIn this article, we will explore Seaborn, a powerful Python library for data visualization
  12. PythonMastering Personal FinanceA Practical Guide to Building Wealth and Financial Freedom
  13. PythonUsing python to generate audio files from youtubeA simple demonstrating how to use ffmpeg and ytp-dl to generate audio clips from youtube videos
  14. PythonUsing PyInstaller to Create Standalone Executables in PythonIn this article, we will explore how to use PyInstaller to create standalone executables for your Python applications
  15. PythonChapter 2 Basic syntax and data types.Describing how to use python to program.
  16. PythonChapter 10 Introduction to data science in python.For my introductory book on python, data science.
  17. PythonChapter 7 File handling and data processing.For my introductory book on python, I am going to explain how to handle files.
  18. PythonChapter 8 File handling and data processing.For my introductory book on python, functional programming.
  19. PythonChapter 8 File handling and data processing.For my introductory book on python, functional programming.
  20. PythonYield Functions in PythonExplaining how to use yield functions in python.
  21. PythonAutomating GUI Interactions with Python Using PyAutoGUIIn this article, we will explore various features of PyAutoGUI, including how to install the library, interact with the mouse and keyboard, and use screenshots to control your applications
  22. PythonChapter 4 Control flow and functions.Describing how to use python to program.
  23. PythonChapter 5 Object-oriented programming.Describing how to use python for object-oriented programming.
  24. PythonChapter 5 Object-oriented programming.Describing how to use python for object-oriented programming.
  25. PythonUrl Shortener in PythonDescribing how to build a basic URL shortener in Python
  26. PythonUsing Fabric in Python A Step-by-Step GuideThis article will guide you through the process of installing and using Fabric in Python, with practical examples
  27. PythonRunning Python Web Applications with GunicornIn this article, we will discuss the basics of Gunicorn, how to install and configure it, and how to use it to serve a Python web application
  28. PythonUsing Redis in Python A Comprehensive GuideThis article will guide you through the process of using Redis in Python applications.
  29. PythonUsing pandas and bs4 for web scrapping.Explaining how to use pandas and bs4 for web scrapping.
  30. PythonHow I will describe how to make a qt app that edits a yaml file.Using qt in python, we can create a qt app to modify/save yaml files.
  31. PythonBuilding RESTful APIs with Flask-RESTful in Python By the end of this tutorial, you'll have a basic understanding of how to create, retrieve, update, and delete (CRUD) resources using this library.
  32. PythonUsing chatgpt to write my posts instead of edge gpt.Comparing differences between chatgpt and edge gpt.
  33. PythonPython script to determine the size of objects in an imageTo build a Python script that detects objects from an input image and outputs the relative size of the objects to the input image, you can use the OpenCV library and the YOLOv3 object detection algorithm..
  34. PythonCalculate Income Tax with IPythonHow to calculate your income tax using IPytohn
  35. PythonUsing chatgpt to write my posts instead of edge gpt.Comparing differences between chatgpt and edge gpt.
  36. PythonConfiguing a Subdomain for Google Compute Engine and Setting Up FastAPI with ApacheA comprehensive guide on how to point a subdomain to a Google Compute Engine instance and set up a FastAPI application using Apache as a reverse proxy. This tutorial includes steps from assigning a static IP to your instance, configuring DNS, and setting up SSL with Apache to serve FastAPI applications securely.
  37. PythonA Comprehensive Guide to Pytest in PythonIn this article, we will explore the basics of Pytest, its features, and best practices for writing effective test cases.
  38. PythonHere I will cover how to use chatgpt extract keywords and describe code.In this post I will show you how to use chatgpt to describe code and get keywords.
  39. PythonOptimizing Web Scraping with Proxy Integration: Techniques and ToolsExplore how proxies can transform your web scraping projects by providing anonymity, overcoming geo-restrictions, and avoiding rate limits; includes a step-by-step guide on scraping proxies using Python.
  40. PythonUsing Pillow in Python A Comprehensive GuideIn this article, we'll explore the capabilities of Pillow and demonstrate its usage with practical examples
  41. PythonGetting youtube videos of interest in pythonIn this post I will show you how to use the youtube api to get videos of interest in python.
  42. PythonGetting Started with SOAP APIs Using Zeep in PythonAn introductory guide to interacting with SOAP APIs using Zeep, a modern Python SOAP client. Learn the basics of SOAP protocol, WSDL, and how to consume SOAP services in Python.
  43. PythonA Comprehensive Guide to Using Matplotlib in PythonIn this article, we will explore the fundamentals of Matplotlib, including installation, basic plots, customization, and advanced functionality
  44. PythonLeveraging Pytest Fixtures and Markers to Exclude Specific Test CasesThis technical article explores how to use pytest fixtures and markers to effectively manage and exclude specific test cases, particularly those requiring live server interaction, ensuring efficient testing and system integrity.
  45. PythonUtilizing `tempfile` for File Storage in Read-Only Environments: A Case Study with Azure Function AppsExplore how the Python `tempfile` module can be leveraged to work with file storage in read-only environments like Azure Function Apps. Learn to create and manage temporary files securely and efficiently, ensuring applications are scalable and compliant with serverless architecture constraints.
  46. PythonWeb Scrapping Super Bowl WinnersWeb scrapping of the espn page for super bowl winners
  47. PythonHandling File Uploads with FastAPI, Django, and Flask: A Beginner's GuideA comprehensive guide for junior developers on implementing file upload features in FastAPI, Django, and Flask, focusing on ease of use and installation dependencies.
  48. PythonIntegrating microsoft entra (active directory) with wagtailIn this article, we will explore how to integrate microsoft entra with wagtail
  49. PythonWeb Scraping with Beautiful Soup in PythonIn this article, we will look at how to use Beautiful Soup for web scraping in Python
  50. PythonIntroduction to jupyter notebooksExplaining jupyter notebooks and how to use them
  51. PythonIntroduction to pythonExplaining the history of csharp and how it is used
  52. PythonHow to download reports from the CSE exchange with pythonBy using the cad tickers library we can easily get links to docs from stocks.
  53. PythonConverting pdfs to pngs with imagemagickHow to convert from pdf to png by using python with imagemagick.
  54. PythonUsing OpenCV in Python A Comprehensive GuideThis article will provide a comprehensive guide on how to use OpenCV in Python, covering installation, basic operations, image processing techniques, and more.
  55. PythonUsing PyPDF2 in Python A Comprehensive GuideIn this article, we'll explore the PyPDF2 library, its features, and demonstrate its usage through practical examples
  56. PythonUsing Django in Python A Comprehensive GuideIn this article, we will delve into the key concepts of Django and demonstrate how to create a simple web application using this powerful framework
  57. PythonReading indeed posts to scrap job listings (does not work anymore)Scrapping indeed (2021) to get job listings.
  58. PythonUsing PySerial in Python A Comprehensive GuideIn this article, we will explore the PySerial library and its various functions, as well as how to use it effectively in Python
  59. PythonUsing SQLAlchemy in Python A Comprehensive GuideIn this article, we will explore SQLAlchemy, a powerful and versatile Object Relational Mapper (ORM) for Python that makes database interactions easy and efficient
  60. PythonUsing Celery in Python A Comprehensive GuideIn this article, we will explore how to use Celery to improve the performance and reliability of your Python applications
  61. PythonUsing chatgpt to generate blog postsAI powered tools can whittle down writing time and making writing blog posts simplier.
  62. PythonGetting started with APIs in Python by building a weather appDescribing how to build a weather app in Python
  63. PythonA Guide to Using Python-telegram-bot in PythonIn this article, we will walk through the process of setting up a bot, handling messages, and implementing custom commands
  64. PythonCreating custom subtitles using python and ffmpegHow to create custom subtitles using python and ffmpeg
  65. PythonUsing PyJWT for JSON Web Token Authentication in PythonIn this article, we will discuss JSON Web Tokens (JWT) and how to use the PyJWT library to encode and decode JWTs in your Python applications
  66. PythonManaging Python Environments with AnacondaIn this article, we will explore how to use Anaconda to create isolated Python environments, manage packages, and streamline your workflow
  67. PythonUsing Jupyter Notebook in Python An Interactive Computing EnvironmentIn this article, we'll explore the features of Jupyter Notebook and how to use it in your Python projects
  68. PythonAn Introduction to Pygame Zero Building Your First Game in PythonIn this article, we will explore the basics of Pygame Zero and guide you through the process of creating a simple game
  69. PythonMastering NumPy A Comprehensive Guide to Efficient Numerical Computing in PythonThis article will provide a comprehensive introduction to NumPy and its capabilities.
  70. PythonHow to use argparse with pythonParsing git commits with golang
  71. PythonTortoise TTS: A Multi-Voice Text-to-Speech SystemText-to-speech (TTS) is a technology that converts text into natural-sounding speech using natural language processing (NLP) and speech synthesis techniques.
  72. PythonHow to Create a Password Generator in PythonCreating a password generator is a useful programming exercise that can teach you about random number generation, string manipulation, and graphical user interface (GUI) design. In this article, we'll go through the steps to create a password generator in Python and then show you how to create a simple GUI using the tkinter library.
  73. PythonAutomated Data Extraction from Online Retail Flyers Using Python and SeleniumThis article explores the `flipp_flyer_parser` Python script, an advanced web scraping tool for extracting promotional data from retail websites like Save-On-Foods, Walmart, and Superstore.
  74. PythonHow to find the status of youtube livestream with web scrapping in pythonBy leveraging a web browser we can extract the livestream status from a upcoming video from a youtube channel.
  75. PythonGetting started in opencv with pythonComputer vision is the field of artificial intelligence that focuses on teaching computers to identify and process images in the same way that humans do. Computer vision algorithms allow machines to identify objects, scenes, faces, text, and more in digital images and videos.
  76. PythonSimple deta micro to show my deta drive filesLeveraging fastapi to show stock report files
  77. PythonThoughts on dash v2.5.0After updating a project to dash v2.5.0
  78. PythonWhat I did when open source library changed to semi open sourceHere I explain what my actions when an open source library got taken down from github.

© 2026 David Li · Home · Blog · RSS ·Classic site · Built with Astro, Starlight and three.js