SimpleAI

Episode 7-Interesting software part1 - Fastcore The Underrated Python Library


Listen Later

Interesting software part1 - Fastcore The Underrated Python Library
First of all apologies for the audio quality of this episode. Due to some reasons I am not bale to record at my original place and on top of it I am still not able to procure quality recording equipment due to budget constraints. I am trying to improve the audio quality of upcoming episodes as soon as am able to fund myself to buy audio equipment.
This episode onwards I have started a new series where I would be finding interesting python and Julia projects and would be talking about it.
The first library about which I want to talk about is Fastcore. Fastcore is a library developed by Jeremy Howard , co-founder of fastai and creator of the popular fastai deep learning library. The Fastcore library extends the python programming language and supercharges it with magic.
One of the capabilities which it adds to python is type dispatch whereby you can have multiple functions with the same name  but different behavior based on the input they receive. Now this capability is common in languages like Julia but this was unheard of in python before fastcore came out.
Another thing is that fastcore provides function composition. This is a powerful technique which allows you to chain together different functions to create a sort of pipeline and move data through this pipeline. With fastcore, function composition becomes almost magical .
One more beautiful thing that fastcore provides is monkey patching through a decorator. Monkey patching is not a new thing in python. You can learn more about monkey patching by going to the link given in the show notes. Fastcore makes it possible to do monkey patching with a decorator. In short, fastcore reduces the boiler plate and introduces patterns and features from many other languages into python.
Do try out fastcore and let me know via comments or on my twitter handle you thoughts about this awesome library.
Listen to SimpleAI on google podcast or any other podcast player of your choice and do give it a 5 star. Subscribe to it and share it across so that others can also discover the contents which I post here.
It's goodbye for now and we will meet next time with some more interesting stuff.
Read more about Fastcore- https://fastpages.fast.ai/fastcore/
Subscribe to my blog at medium.com/ml-and-automation.
...more
View all episodesView all episodes
Download on the App Store

SimpleAIBy satyabrata pal