Issue #547

Chatbots, Testing in ML, Python Dev Survey, and More

Oct. 18, 2022

Chatbots, Testing in ML, Python Dev Survey, and More
#547 – OCTOBER 18, 2022 VIEW IN BROWSER
The PyCoder’s Weekly Logo
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

Python Developers Survey 2022
PYTHON SOFTWARE FOUNDATION

Python 3.10.8 Bug Fix Release
PYTHON.ORG


Discussions


Best Programming Books in the Last Couple of Years?
HACKER NEWS


Python Jobs


Content Operations Manager
REAL PYTHON 📍 ANYWHERE

Senior Full Stack Engineer (Python) - Remote - Full Time
NISUM 📍 DALLAS, TX, USA

Senior Software Engineer (Python, Remote)
HUXLEY 📍 BOSTON, MA, USA

Senior Pipeline TD (Python) - Remote or On Site
STUDIO WILDCARD 📍 REDMOND, WA, USA

Software Engineer III (.Net/Python) - Remote
RELX GROUP PLC 📍 ALPHARETTA, GA, USA

More Python Jobs >>>


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 PYTHON course

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


Brought to you by Real Python for Teamssponsor
Online Python training created by a community of experts. Give your team the real-world Python skills they need to succeed →

red-box: Next Generation Email Box Manager
GITHUB.COM/MIKSUS

pyscript Now Has a REPL
PYSCRIPT.NET

panel: A High-Level App and Dashboarding Solution for Python
GITHUB.COM/HOLOVIZ

fpdf2: Minimalist PDF Creation Library
PYFPDF.GITHUB.IO

zython: WebAssembly Python for Servers and Browsers
GITHUB.COM/SAGEMATHINC

📆🐍 Upcoming Python Events


Weekly Real Python Office Hours Q&A (Virtual)
October 19, 2022

PyData Bristol Meetup
October 20, 2022

PyLadies Dublin
October 20, 2022

MadPUG
October 20 to October 21, 2022

Karlsruhe Python User Group (KaPy)
October 21, 2022

Chattanooga Python User Group
October 21 to October 22, 2022
Happy Pythoning!
Copyright © 2022 PyCoder’s Weekly, All rights reserved.