|
Welcome to the first tip sheet of 2025! This will be a big year for me, as my book Hands-on APIs for AI and Data Science will be released in March, so I'm excited for it to get started! Meet the Experts: Francisco Goitia, StatsbombWhen I was looking for sports-related companies that really have figured out how to use SDKs in their API and data strategies, I quickly zeroed in on Statsbomb. Statsbomb (which was recently purchased and named Hudl Statsbomb) has a big presence in the soccer analytics field and has been expanding into American football in recent years. They publish a soccer data SDK in Python (statsbomby) and R (StatsBombR) and the cool feature is that these SDKs work for free users and paid users in two different methods: the SDKs pull open static data for free users, and call the API for paid users. That feature inspired how I built the SDKs in the book, which can take a parameter for bulk file downloads or direct API calls. To learn more about their SDK strategy (especially for Python users), I interviewed Francisco Goitia, a lead machine learning engineer at Statsbomb. He said the history of the statsbombpy library was pretty simple: when he first joined the company, he needed to call the Statsbomb APIs in Python, so he started creating a basic client. He was following best practices -- keep your API code separate -- so it made sense. After he used it for a short time, the company open-sourced it so that customers could use it. Classic case of eating your own dog food/drinking your own champagne, right? Francisco shared a lot of great tips, and I used this quote in the book because it's a really clear explanation of why publishing SDKs in PyPi is so powerful when your users are data scientists: ...if they can install a Python library with pip install and start using the data, it makes their life easier.
- Francisco Goitia, Statsbomb
Statsbomb does a nice job providing webinars and blog posts about using their SDKs. Here's a recent blog post that mentions a webinar that Martha Reyna and Lily Wood-Blake gave on accessing the data: Using Hudl Statsbomb Free Data In Python. Python's popularity and top Python librariesI'll finish this week with a couple of articles I came across in PyCoders Weekly newsletter this week. Python's popularity continues to grow in the programming world, firmly putting it at #1 in two major indexes, according to Paul Krill's InfoWorld article Python scores its highest rating in Tiobe According to the article, Python's 18% share in the TIOBE index is the highest than any language has had in the last 8 years. Tryloabs has an interesting blog post about new Python libraries that are getting a lot of interest: Top Python libraries of 2024. There are a couple that I'm going to put on my 2025 learning list:
Take a look at the list, and you might find something interesting to check out. Keep coding, Ryan |
This is my weekly newsletter where I share some useful tips that I've learned while researching and writing the book Hands-on APIs for AI and Data Science, a #1 New Release from O'Reilly Publishing
Hi Tip-Sheeters, One of the key areas where APIs are used in machine learning is for model inference. This is where the model is made available for real-time API calls to receive predictions. This is one of the two primary modes of model inference (along with batch inference). Tip Sheet #12 listed some of the top Python libraries worth exploring. One of those was LitServe, which is a framework for hosting models with a FastAPI backend. This week, I'll demonstrate this framework using my...
Hi Tip-Sheeters, Today is Veteran's Day, and I want to start with appreciation for any service members who are reading this. The holiday was originally created to remember the armistice that ended the first World War in 1918. Peace is a blessing that we should never take for granted. Entering a Hackathon Quick and Dirty As data and IT pros, we are constantly honing our craft. One of the best ways is through taking on intense challenges or projects to drive our learning in a short period of...
Hi Tip-Sheeters, This week, I’m sharing a few of the questions that I’ve had this past year from readers, people at events, or folks who’ve reached out on LinkedIn. If you ever have a question or something I can assist with, please hit reply on the newsletter email, and I’ll be happy to share my thoughts. Let’s jump in! Q&A About Data, Tech, and Career Q: What is the new tool or framework you are learning about right now? If you’ve been keeping up with the Tip Sheet, you won’t be surprised...