haykot.dev
  • Blog

  • Python
    · March 5, 2023

    TIL How to Reset Python Environment

    Here’s a short script to reset your python environment to a clean state.

    1 Minute Read

  • Mealie , Python
    · August 1, 2022

    What's New in Mealie v1.0.0beta-4

    The highlights and of the latest release of Mealie including some security updates, and a some new features.

    2 Minute Read

  • Python
    · July 30, 2022

    TIL: Stopping Requests Mid Flight

    Today I learned how you stop a request mid flight with the python requests library

    1 Minute Read

  • Python , FastAPI , Programming
    · August 20, 2021

    How to Improve The Jinja2 Experience with FastAPI

    While FastAPI is a great first choice for any API development in Python, it’s often not considered when your primary goal is to use Jinja2 templates to return HTML to the user. It’’s hard to match the Ecosystem and support that comes with Flask, but it’s easy to get started.

    3 Minute Read

  • Python , Git
    · August 14, 2021

    Lessons From a Rewrite: Improving Your Git Workflow

    The first article in the series on lessons I’ve learned from re-writing my open-source project.

    2 Minute Read

  • Python
    · August 9, 2021

    FastAPI and Rich Tracebacks in Development

    Let’s take a look at how we can integrate Rich’s logging and traceback behavior into FastAPI.

    2 Minute Read

  • Python
    · August 5, 2021

    Auto Initialize SQLAlchemy Models from A Python Dictionary

    As an avid FastAPI and Pydantic user, I’ve stumbled into a problem that is common with any web framework. How do I turn JSON into a dictionary and then into an entry in my SQL Database?

    3 Minute Read

  • Python , Programming
    · August 5, 2021

    Generating Blog Frontmatter

    I recently began the process of migrating my small blog from Ghost to a static site build with Nuxt. As apart of the process I wanted to create a small script that would automate some of the basic metadata creation the Nuxt can use to generate cards and sort content. Luckily, frontmatter in markdown is just yaml, making it easy to parse and manipulate.

    3 Minute Read

hayden's headshot

hayden@haybytes.com

Stay in Touch


Hayden's Blog List

Explore Blog About Me RSS
Social Bluesky Github LinkedIn