Published

All published posts

2717 posts latest post 2026-11-11
Publishing rhythm
Oct 2026 | 30 posts
codelucas has done a fantastic job with newspaper. Highly recommend taking a look. newspaper3k is a news, full-text, and article metadata extraction in Python 3. Advanced docs:
I recently discovered delta-rs by delta-io, and it’s truly impressive. A native Rust library for Delta Lake, with bindings into Python

Just Ask Ipython for help

It happens to the best of us We can’t all remember every single function signature out there, it’s just not possible. If you want to stay productive while coding without the temptation to hit YouTube or Twitter. Use the built in help. Here are 5 ways to get help without leaving your terminal. https://youtu.be/TZrRAP-9UMk Docstrings In any python repl you can access the docstring of a function by calling for. In Ipython we can even get some syntax highlighting with the. Source Code Sometimes the docstrings are not good enough, and don’t give us the content we need, and we just need to look at the source. Without leaving your terminal there are two ways I often use to get to the source of a function I am trying to use. The more common way I do it is with the ipython. Bonus rich.inspect You thought the syntax highlighting was good with ipython, check out what can do! As far as I know there is no way to get to source code, but the results are still fantastic. Install rich then inspect Conn…
2 min read

Hacktoberfest 2021?

Are you participating in Hacktoberfest 2021? I got my start with open source with Hacktoberfest 2018. I remember being so nervous for those first pr’s. I have continued to participate every year, and it feels good to give back. It made a big change on me Something that it really did for me was to lower the hurdle to contribute regularly. I am not a huge contributor to open source. I am not necessarily a regular maintainer of any large project, but I do often raise issues when I see things as a user that would make things easier or more clear. After participating it does not feel like such a big deal to go through the motions of making my own fork, making a small change, and submitting it for review. What can you do? As a user, you might be in a unique position to see a library from the perspective of other users rather than from the eyes of a maintainer. You can help bring the user perspective to your favorite library. https://twitter.com/_WaylonWalker/status/1446440878864846909 My fav…

I made a neovim plugin

I’ve slowly adding more and more lua functions into my neovim configuration, and recently I noticed a pattern for a class of functions that reach out to run shell commands that can be abstracted away. https://youtu.be/8m5ipBuopPU Telegraph.nvim Check out the project readme for the most up to date details on the plugin itself. Motivation I want a simple way to make remaps into shell commands that can open new tmux windows, popups, or just run a command with context from the editor. For example I want to make remaps to do things like open the current file in lookatme. The main goal here is that remaps become one liners that can just be put directly in my without creating a whole new lua module for each shell command I want to bind. how takes in a argument to determine where to tun the command.j (default) runs command in the built in terminal runs command in a new tmux session and joins it. runs command in a tmux popup window. runs command in a tmux session and displays it in a popup runs…

Setting Parameters in kedro

Parameters are a place for you to store variables for your pipeline that can be accessed by any node that needs it, and can be easily changed by changing your environment. Parameters are stored in the repository in yaml files. https://youtu.be/Jj5cQ5bqcjg What is Kedro 👆 Unsure what kedro is? Check out this post. parameters files You can have multiple parameters files and choose which ones to load by setting your environment. By default kedro will give you a and parameters file. base The base environment should contain all of the default values you want to run. NOTE base will always be loaded first. accessing parameters Parameters can be accessed through context or through the catalog. Generally when you are working with nodes it will be loaded through the catalog. Loding with the context. Loading with the catalog. Loading a specific key with the catalog. using parameters in nodes Here is an example from the complete spaceflights demo. The entire parameters dict is passed in, then the…

Writing your first kedro Nodes

https://youtu.be/-gEwU-MrPuA Before we jump in with anything crazy, let’s make some nodes with some vanilla data structures. import node You will need to import node from kedro.pipeline to start creating nodes. func The is a callable that will take the and create the. inputs / outputs Inputs and outputs can be None, a single catalog entry as a string, mutiple catalog entries as a List of strings, or a dictionary of strings where the key is the keyword argument of the func and the value is the catalog entry to use for that keyword. our first node Sometimes in our pipelines our data is coming from an api where we already have python functions built to pull with. Thats ok, kedro supposrts that with. second node Now we have some data to work from, lets use that as our input. Multiple Inputs Kedro can take lists or dicts as either input or output when your function needs more than one input or output. Links all of my kedro articles kedro playlist on YouTube node docs first_nodes.py
I’m impressed by skimpy from aeturrell. skimpy is a light weight tool that provides summary statistics about variables in data frames within the console.
I’m really excited about vim-startuptime, an amazing project by dstein64. It’s worth exploring! A plugin for viewing Vim and Neovim startup event timing information.
I like wbthomason’s project packer.nvim. A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config