I’m really excited about log_to_json, an amazing project by rwhitt2049. It’s worth exploring! Yet another Python library to log to JSON
Publishing rhythm
I’m really excited about foam-template, an amazing project by foambubble. It’s worth exploring! Foam workpace template
The work on digital-gardeners by MaggieAppleton. Resources, links, projects, and ideas for gardeners tending their digital notes on the public interwebs
Check out react-adaptive-hooks by GoogleChromeLabs. It’s a well-crafted project with great potential. Deliver experiences best suited to a user’s device and network constraints
SLIDES - understanding python \*args and \*\*kwargs
Python and are super useful tools, that when used properly can make you code much simpler and easier to maintain. Large manual conversions from a dataset to function arguments can be packed and unpacked into lists or dictionaries. Beware though, this power can lead to some really unreadable/unusable code if done wrong. I generally post these as a carousel on LinkedIn based on a full article. Let mw know what you think of it shown inside of a blog @_waylonwalker. See the full article here Slides #
Gracefully adopt kedro, the catalog
Why use kedro catalog? # While using the catalog alone will not reap all of the benefits of the framework, it does get you and your project ready for the full framework eventually. For me the full benefit of the catalog comes when you combine it with the pipeline and dont even touch read/write steps at all. Taking a step into kedro by adopting the catalog first will give you a way to organize all of your data loads in one place, and stop manually writing read/write code, which can be different for each data and storage type. You just don’t need to think about it. iperitive loading style organizes your data all file locations can be quickly identified can be dropped into kedro later “can be dropped into kedro later” Let’s talk a bit more about that 2 Ways to Gracefully adopt the catalog # How do I get started with the kedro catalog add with the code api load from yaml ( recommended) 1. Adding to the catalog with the code api # how to use the kedro catalog code api It is possible to keep…
The work on streamlit by streamlit. Streamlit — A faster way to build and share data apps.
Just starred python-interrogate-check by JackMcKew. It’s an exciting project with a lot to offer. GitHub Action for use with python package interrogate
How to find things in your kedro catalog
kedro 0.16.2 just dropped last week with a long-awaited feature… catalog search! I went as far as monkey patching this into each of my projects. I work jump between a few really big projects that have tons of datasets. Being able to quickly search for what I need is so useful. The Catalog # The kedro data catalog is a key component to the kedro framework. It handles all data loading and saving for you. It is configurable and hackable. Having all your data connections listed in one place make it so easy to pick your project up and move it to a completely new environment. That sweet imperative loading style saves so much read/write overhead. I can load all my data with a single command whether it’s in amazon s3, google cloud platform, or a local file. Kick start a toy project # Just like with most of these articles, I am going to create a conda environment so that I don’t break any existing projects and scaffold up a toy project to learn from. Expect this set of commands to take a few mi…
Check out davidesantangelo and their project datoji. A tiny JSON storage service. Create, Read, Update, Delete and Search JSON data.
My first eight years as a working professional.
This day 8 years ago I started my first day as a Mechanical Engineer. I am so grateful for this journey that I have been able to have. There is no way that I could have planned this journey from the beginning. Keep Learning # My initial career plans were down a completely different path. I have been very flexible in taking on a new career path. I have been eager to learn new things and respond to life changes that I never would have imagined. Life Changes # Very severe chronic health issues from my family restricted my ability to travel to the facilities I served as a Mechanical Engineer. I was able to stay strong and make it work. But in the meantime, I was learning new skills that enabled me to be more effective remotely. I was scared. # It was in these times that I found a love for data, and taking action from insights I found with data. I learned how to use python to enable me to be more effective. I did this primarily from hospital waiting rooms and many overnight stays. This gave…
How Kedro handles your inputs
Passing inputs into kedro is a key concept. Understanding how it accepts a single catalog key as input is quite trivial that easily makes sense, but passing a list or dictionary of catalog entries can be a bit confusing. *args/**args review # Check out this post for a review of how work in python. understanding python *args and **kwargs python args and kwargs article by @_waylonwalker All Kedro inputs are catalog Entries # When kedro runs your pipeline it uses the catalog to imperatively load your data, meaning that you don’t tell kedro how to load your data, you tell it where your data is and what type it is. These catalog entries are like a store. You just need to give the key when setting up a node. Single Inputs # These are fairly straightforward to understand. In the example below when runs the pipeline it will load the input from the catalog, then pass that input to the func, then save the returned value to the output catalog entry. List of inputs # Let’s look at an example node…
visit1985 has done a fantastic job with mdp. Highly recommend taking a look. A command-line based markdown presentation tool.
Check out hotreload by say4n. It’s a well-crafted project with great potential. hot reload your python code!
I came across kedro-great from tamsanh, and it’s packed with great features and ideas. The easiest way to integrate Kedro and Great Expectations
I came across awesome-public-datasets from awesomedata, and it’s packed with great features and ideas. A topic-centric list of HQ open datasets.
Master No More
It’s been a long time coming. We use some very harsh language within tech so much sometimes that we become numb to it. It’s time to do my very small part in this movement and purge this language from my active repos starting with this blog right here. Large Refactor At The Command Line this post follows my method of refactoring code bases from the command line, read more about that in this article. c-s-f # First off browsing through the content of my blog I found many references to master. I cannot completely whole-sale find and replace each one of them, because some of them are links that I do not own. Any set of instructions got upgraded from to There were countless cases of examples like this to comb through, but it feels good to have them purged of old language. rename routes # Following yesterdays post, I am going to rename my markdown files /static/_redirects shorteners # redirect posts # redirect external links to repo # More info on refactoring your blog routes with netlify her…
Refactoring your blog urls
I just did a quick refactoring of my JAMStack blog urls. Some didn’t fit with my style, some had that I wanted to switch to, and others were ridiculously long. I’ve been using forestry as my CMS, I write many of my posts there, and sometimes it picks some crazy file names (based on my titles). It was time to refactor. Large Refactor At The Command Line When refactorings similar to this get really big I often need to do some project wide find an replace, I usually do this right from the command line. 🖊 Rename posts change the filename # My post urls are based on the file name of my markdown file, so I can simply go through my filesystem and rename anything I want. From here its probably best to only commit the addition of the new file name, until the redirects clear, but these are all low traffic posts for me so I just commited both at once. Safely redirect without breaking links _redirects ⤴ /redirects # I am hosted on netlify, which automatically puts very ⚡ performant redirects on th…
understanding python \*args and \*\*kwargs
Python and are super useful tools, that when used properly can make you code much simpler and easier to maintain. Large manual conversions from a dataset to function arguments can be packed and unpacked into lists or dictionaries. Beware though, this power can lead to some really unreadable/unusable code if done wrong. Python and are super useful tools, that when used properly can make you code much simpler and easier to maintain. Large manual conversions from a dataset to function arguments can be packed and unpacked into lists or dictionaries. Beware though, this power can lead to some really unreadable/unusable code if done wrong. *args are for lists # *args are some magical syntax that will collect function arguments into a list, or unpack a list into individual arguments. recieving *args # When recieving variables as a, commonly, the arguments get packed into an ordered list. Never add *args to your function definition (almost never) Generally I find poor naming and it only drives…
I recently discovered pytest-sugar by Teemu, and it’s truly impressive. a plugin for py.test that changes the default look and feel of py.test (e.g. progressbar, show tests that fail instantly)