Calendar Versioning, Rounding, Generating Test Data, and More

#635 โ€“ JUNE 25, 2024 VIEW IN BROWSER
The PyCoder’s Weekly Logo
PEP 2026: Calendar Versioning for Python
This PEP proposes updating the versioning scheme for Python to include the calendar year. This aims to make the support lifecycle clear by making it easy to see when a version was first released, and easier to work out when it will reach end of life (EOL). Associated discussion
PYTHON

Rounding Numbers in Python
In this video course, you’ll learn about the mistakes you might make when rounding numbers and how to best manage or avoid them. It’s a great place to start for the early to intermediate Python developer who’s interested in using Python for finance, data science, or scientific computing.
REAL PYTHON course

Pair Your Weekly Dose of Python With a Free Training Course
Stay up to date with the latest advancements in technology by joining the NVIDIA Developer community. Get access to the latest tools, training, and experts. Join the community today and get a free course from the Deep Learning Institute โ†’
NVIDIAsponsor

Testing With Python (Part 7)
The latest in a series of articles on testing in Python, this one shows you how to generate test data on the fly, in a repeatable way.
BITECODE

Quiz: Creating Great README Files for Your Python Projects
Take this quiz to test your understanding of how a great README file can make your Python project stand out and how to create your own README files.
REAL PYTHON

NumPy 2.0.0 Released
NUMPY


Articles & Tutorials


Ruff: A Python Linter for Error-Free and Maintainable Code
Ruff is an extremely fast, modern linter with a simple interface, making it straightforward to use. It also aims to be a drop-in replacement for other linting and formatting tools, like Pylint, isort, and Black. It’s no surprise it’s quickly becoming one of the most popular Python linters.
REAL PYTHON

Detecting Outliers in Your Data With Python
How do you find the most interesting or suspicious points within your data? What libraries and techniques can you use to detect these anomalies with Python? This week on the show, we speak with author Brett Kennedy about his book “Outlier Detection in Python.”
REAL PYTHON podcast

On Heroku? Read Our Ultimate Guide to Autoscaling
Autoscaling is critical for any resilient, cost-conscious deployment. Are you running Django, Flask, Celery, RQ? This is for you. Youโ€™ll learn the ups and downs ๐Ÿ˜Ž of autoscaling in our illustrated guide โ†’
JUDOSCALEsponsor

Why Does SQLite (In Production) Have Such a Bad Rep?
SQLite has improved a lot over the years, but its non-production reputation seems to have stuck. This is despite the fact that it is in almost every phone on the planet. This short post from Avinash talks about why it has the reputation it does.
AVINASH SAJJANSHETTY

Narwhals, scikit-lego, and Dataframe-Agnosticism
scikit-lego is a library that adds extra estimators for machine learning in scikit-learn. Its most recent release takes advantage of the Narwhals package to support dataframes from a variety of packages.
MARCO GORELLI โ€ข Shared by Marco Gorelli

How to Publish a Python Package to PyPI
Do you have a Python package that youโ€™d like to share with the world? You should publish it on the Python Package Index (PyPI). This article gives a short example of what you need to do to publish.
MIKE DRISCOLL

Joining Strings in Python: A “Huh” Moment
A post on Mastodon caused Veronica to go down a rabbit hole. Turns out that in one particular situation, a generator isn’t faster than a list. Learn why str.join() doesn’t like generators.
VERONICA BERGLYD OLSEN

Prohibiting Outlook Email Domains
Due to an inordinate amount of bot accounts coming from outlook.com and hotmail.com, PyPI has disallowed new account sign-ups with email addresses from these domains.
THE PYTHON PACKAGE INDEX BLOG

Python Wheel Filenames Have No Canonical Form
Turns out there are no canonical rules for the names of wheel files. This can cause some confusion when determining if two files are for the same version of a module.
WILLIAM YOSSARIAN

Optimal SQLite Settings for Django 5.1
The alpha version of Django 5.1 contains new features for setting pragma controls for databases. This article describes the best choices when working with SQLite.
GIOVANNI COLLAZO

Managing My Motivation as a Solo Dev
“One of the biggest sticking points of being a solo dev is maintaining motivation.” This post from Marcus discusses some of the things he does to stay motivated.
MARCUS BUFFETT

R or Python for Bioinformatics?
If you’re in the bioinformatics field and thinking of learning to code, is R or Python your better choice? This article and video highlight the differences.
MING TANG

My Thoughts on Python in Excel
Microsoft’s new Python in Excel functionality was released almost a year ago. Having now had time to play with it, Felix gives his take.
FELIX ZUMSTEIN

NumPy 2.0: An Evolutionary Milestone
Lots has changed and been added with the release of NumPy 2.0. This article gives you the highlights.
SCIENTIFIC PYTHON BLOG


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 โ†’

redis-py: Redis Python Client
GITHUB.COM/REDIS

Automate WordPress Page Creation
GITHUB.COM/MAUBORRE

pyodmongo: ODM for MongoDB
GITHUB.COM/MAURO-ANDRE

wavepde: Wave Partial Differential Equation Solver in Python
GITHUB.COM/SALASTRO

simpleaudiostretch: Change Audio Files Speed
GITHUB.COM/MEWS

๐Ÿ“†๐Ÿ Upcoming Python Events


Weekly Real Python Office Hours Q&A (Virtual)
June 26, 2024

SPb Python Drinkup
June 27, 2024

North Bay Python 2024
June 29 to June 30, 2024

PyDelhi User Group Meetup
June 29, 2024

PythOnRio Meetup
June 29, 2024
Happy Pythoning!
Copyright ยฉ 2024 PyCoder’s Weekly, All rights reserved.
You are receiving this email because you opted in on our website at pycoders.com
Our mailing address: DevCademy Media Inc. ยท #720-999 West Broadway, Vancouver BC V5Z 1K5, Canada

Unsubscribe | Update Email Address

Older messages

NumPy 2.0, Calendar Versioning, Mappings, and More

Tuesday, June 18, 2024

Should Python Adopt Calendar Versioning? #634 – JUNE 18, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Should Python Adopt Calendar Versioning? Python's use of semantic style versioning

String Interpolation, Music Processing, Command-Line Utilities, and More

Tuesday, June 11, 2024

String Interpolation in Python: Exploring Available Tools #633 – JUNE 11, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo String Interpolation in Python: Exploring Available Tools In this tutorial,

Hashables, PyCon US Recap, Circular Imports, and More

Tuesday, June 4, 2024

What's a Python Hashable Object? #632 – JUNE 4, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo What's a Python Hashable Object? You can ignore reading about hashable objects for quite a bit

Tkinter, pyastgrep, Django 5.1, and More

Monday, June 3, 2024

Building a Python GUI Application With Tkinter #631 – MAY 28, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Building a Python GUI Application With Tkinter In this video course, you'll learn

Accessibility, Reinventing Notebooks, Crawlee, and More

Tuesday, May 21, 2024

Accessibility & Assistive Tech as a Python Developer #630 – MAY 21, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Accessibility & Assistive Tech as a Python Developer What's it like to

You Might Also Like

💡 Can Renters Have a Smart Home? — Getting the SteamOS Beta on Steam Deck

Saturday, September 28, 2024

Also: Your Google Doc Can Now Have a Stylish Cover, and More! How-To Geek Logo September 28, 2024 Did You Know If Johnny Depp hadn't been available to play Willy Wonka in Charlie and the Chocolate

Meta's new empire: VR, AR and AI - Sync #486

Saturday, September 28, 2024

Plus: Mira Murati leaves OpenAI; Microsoft to revive a nuclear plant for its AI data centre; bioengineered trees that capture more carbon; stem cell therapy for diabetes; and more! ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

The Paywall’s Final Frontier 🔒

Saturday, September 28, 2024

Could CNN's planned paywall be a harbinger for free online news? Here's a version for your browser. Hunting for the end of the long tail • September 28, 2024 The Paywall's Final Frontier

Feature | The Best Visualizations from September on Voronoi 🏆

Saturday, September 28, 2024

See the most popular, most discussed, and most liked visualizations on our new data storytelling app Voronoi from September View Online | Subscribe In December 2023, we publicly launched Voronoi, our

Daily Coding Problem: Problem #1570 [Medium]

Saturday, September 28, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Epic. The "look and say" sequence is defined as follows: beginning with the

Will Data Centers Ruin Your Neighborhood?

Saturday, September 28, 2024

Top Tech Content sent at Noon! A dev conference with discussions, workshops, and 1:1 feedback sessions Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today

🐍 New Python tutorials on Real Python

Saturday, September 28, 2024

Hey there, There's always something going on over at Real Python as far as Python tutorials go. Here's what you may have missed this past week: Python Virtual Environments: A Primer In this

ALERT - Critical Linux Printing System Flaws Could Allow Remote Command Execution

Saturday, September 28, 2024

THN Daily Updates Newsletter cover [Watch LIVE] Building a Successful Data Security Posture Management Program Learn From the Leaders: Early DSPM Adopters Reveal Their Data Security Success Secrets

Monitor Your Heart Health Every Day

Saturday, September 28, 2024

Withings is reducing the price of BPM Connect to $99.95 in the US, reaffirming our dedication to accessible health tech. With nearly half the adult population affected by high blood pressure, we're

📧 Breaking It Down: How to Migrate Your Modular Monolith to Microservices

Saturday, September 28, 2024

​ Breaking It Down: How to Migrate Your Modular Monolith to Microservices Read on: m​y website / Read time: 9 minutes The .NET Weekly is brought to you by: Integrate e-signatures into your workflows