#547 – OCTOBER 18, 2022
View in Browser »
ChatterBot: Build a Chatbot With Python
Chatbots can help to provide real-time customer support and are a valuable asset in many industries. When you understand the basics of the ChatterBot library, you can build and train a self-learning chatbot with just a few lines of Python code.
REAL PYTHON
Writing Robust Tests for Data & Machine Learning Pipelines
This deep article talks about why some kinds of tests break more frequently than others and how to set the appropriate granularity of your test suites.
EUGENE YAN
Migrating Postgres From Heroku to Crunchy Bridge
Developers of a growing business were looking to migrate Postgres. They wanted a new vendor at least as good at Heroku, with new features and developer tools. They tested Amazon RDS and several others. Find out why they chose Crunchy Bridge for their cloud Postgres. Read the case study →
CRUNCHY DATAsponsor
Using LaTeX in Python
Python has great support for LaTeX: in Jupyter, in symbolic math tools, and in third party libraries. Learn about how easy it is to get started.
JOHN LOCKWOOD
Discussions
Python Jobs
Content Operations Manager (Anywhere)
Senior Full Stack Engineer (Python) - Remote - Full Time (Dallas, TX, USA)
Senior Software Engineer (Python, Remote) (Boston, MA, USA)
Senior Pipeline TD (Python) - Remote or On Site (Redmond, WA, USA)
Software Engineer III (.Net/Python) - Remote (Alpharetta, GA, USA)
Articles & Tutorials
Providing Multiple Constructors in Your Python Classes
In this video course, you’ll learn how to provide multiple constructors in your Python classes. To this end, you’ll learn different techniques, such as checking argument types, using default argument values, writing class methods, and implementing single-dispatch methods.
REAL PYTHONcourse
The Ultimate Guide to Sets in Python
“The set
class is one of the key data structures in Python. It is an unordered collection of elements without duplicates. It represents, to a certain degree, a mathematical set, and many of the common mathematical operations for sets exist in Python.”
JACOB FERUS
Deepgram Is the Preferred Speech-to-Text API of Python Developers
Engineers from companies like NASA, Spotify & Volley chose Deepgram’s speech-to-text API to automatically transcribe their audio with understanding features like summarization, topic detection and language detection. Make the most of your audio data and get 200 hours of free transcription →
DEEPGRAMsponsor
Type Annotation via Automated Refactoring
Jimmy’s team at Carta decided they wanted to add type annotations to their large code base, but doing so manually would have taken a very long time. This post shows you how they built automated refactoring tools to add type annotations to their code.
JIMMY LAI
Python’s Type Hinting: Friend, Foe, or Just a Headache?
You can use type hinting to increase code readability, but you must do it wisely. Type hints can make things better, or they can be misleading and decrease code readability. Marcin offers suggestions on how to use type hints for clearer code.
MARCIN KOZAK• Shared by Marcin
Accepting Files in Django
Maybe your app needs to handle files from users like profile pictures. Accepting files from others is tricky to do safely. See the tools that Django provides to manage files safely.
MATT LAYMAN
Decorator Shortcuts
“When using many decorators in code, there’s a shortcut you can use if you find yourself repeating them. They can be assigned to a variable just like any other Python expression.”
NED BATCHELDER
Watch the Iron Analyst [2022] - Powered by Bright Data. Python at It’s Best
Seven data analysts and engineers showed off their Python coding skills analyzing a mystery data set. They put their knowledge of Python, Pandas and Streamlet to the test as they clean, analyze, and create a spectacular visualization or dashboard.
BRIGHT DATAsponsor
13 Ways to Scrape Any Public Data From Any Website
There are many libraries for scraping and parsing from web content out there. This guide shows you several different techniques and why you would choose from among them.
DMITRIY ZUB
10 Python Mini Automation Projects
Automate some common tasks, such as: sending email, converting PDF to audio with text-to-speech, get weather information, and seven more.
HAIDER IMTIAZ
Projects & Code
Events
Weekly Real Python Office Hours Q&A (Virtual)
October 19, 2022
REALPYTHON.COM
PyData Bristol Meetup
October 20, 2022
MEETUP.COM
PyLadies Dublin
October 20, 2022
PYLADIES.COM
MadPUG
October 20 to October 21, 2022
MEETUP.COM
Karlsruhe Python User Group (KaPy)
October 21, 2022
BL0RG.NET
Chattanooga Python User Group
October 21 to October 22, 2022
MEETUP.COM
Happy Pythoning!
This was PyCoder’s Weekly Issue #547.
View in Browser »
[ Subscribe to 🐍 PyCoder’s Weekly 💌 – Get the best Python news, articles, and tutorials delivered to your inbox once a week >> Click here to learn more ]