Have you ever wondered how to get Python source code quickly? It turns out the Standard Library can do this pretty effortlessly. Here is some code to read more Python source.
Get to Python source code instantly using importlib and inspect
By Bob Belderbos on 14 December 2020
How to Create an AWS Lambda Layer For Any Python Dependency
By Michael Aydinbas on 5 October 2020
I finally managed to get scikit-learn running on the platform. On the way, I learned a lot about AWS Lambda Layers, AWS cli, and AWS cloud infrastructure in general. And now it’s time I share this knowledge with you. In this article you will learn about creating your own AWS Lambda Layer to support any Python package you may need.
Cleaning Text Data With Python
By David Colton on 30 September 2020
Machine Learning is super powerful if your data is numeric. What do you do, however, if you want to mine text data to discover hidden insights or to predict the sentiment of the text. What, for example, if you wanted to identify a post on a social media site as cyber bullying. In this article we introduce some methods to clean your text and prepare it for modelling.
10 Things We Picked Up From Code Reviewing
By Bob Belderbos on 24 September 2020
Here are some things we picked up from code reviews that when addressed can make your code a lot cleaner.
How to Deploy Your Open Source Package to PyPI
By Bob Belderbos on 31 August 2020
In this post I share some useful things I learned deploying an open source package to PyPI.
There is More Than One Way to Solve a Bite Exercise
By Harrison Morgan on 21 August 2020
According to the Zen of Python, “There should be one– and preferably only one –obvious way to do it.” It’s a good principle for designing a program: the more ways there are of doing something, the more confusing the software becomes, along with a host of other problems. In reality, though, there almost always is more than one way to accomplish something. The quotation even displays this fact: it places the dash in two different ways, neither of which are the obvious way.
How to Run External Python Libraries in AWS Cloud
By Bob Belderbos on 17 August 2020
AWS Lambda is awesome, but sometimes it can be hard to get external libraries working in this serverless environment. No worries, we learned a lesson or two which I will share in this article. Ready to run almost any Python library in the cloud? This should excite you and even trigger your entrepeneurial mind …
Freezegun – Real Joy for Fake Dates in Python
By AJ Kerrigan on 14 August 2020
Freezegun is a library for mocking Python datetimes. It does one thing, does it well, and lets you get on with your life.
Analyzing covid-19 data with pandas and matplotlib
By Cedric Sambre on 13 July 2020
One moment I was solving a pandas challenge, next I was analyzing real world covid-19 data with python…
Assertions About Exceptions With pytest.raises()
By AJ Kerrigan on 18 May 2020
It’s useful to test for exceptions exceptions in your code. A handy feature of pytest makes that fun and flexible!