Skip to content

Issue #547 (Oct. 18, 2022)

#547 – OCTOBER 18, 2022

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 DATA sponsor

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 (Anywhere)

Real Python

Senior Full Stack Engineer (Python) – Remote – Full Time (Dallas, TX, USA)

Nisum

Senior Software Engineer (Python, Remote) (Boston, MA, USA)

Huxley

Senior Pipeline TD (Python) – Remote or On Site (Redmond, WA, USA)

Studio Wildcard

Software Engineer III (.Net/Python) – Remote (Alpharetta, GA, USA)

RELX Group plc

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 →
DEEPGRAM sponsor

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 DATA sponsor

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

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

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 ]

Source:: PyCoder’s