Planet Python RSS
214 subscribers
17.1K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Codementor: Python Program to Check a Number is Prime or Not

Link: https://www.codementor.io/valipishetty/python-program-to-check-a-number-is-prime-or-not-1jlwpbavxj

Factors of a number: When two whole numbers are multiplied, the result is a product. The factors of the product are the numbers we multiply. In mathematics, a factor is a number or algebraic…
Andre Roberge: friendly-traceback is back!

Link: https://aroberge.blogspot.com/2021/07/friendly-traceback-is-back.html

 A few months ago, I mentioned that friendly-traceback had been renamed friendly. As friendly/friendly-traceback evolved, the number of dependencies increased. For some third-party projects that use f
Python for Beginners: Bytearray in Python

Link: https://www.pythonforbeginners.com/data-types/bytearray-in-python


You must have studied different data types in python such as strings and numeric data types like integers and floating point numbers. In this article you will learn about another data type called byt
Ben Cook: Development containers in VS Code: a quick start guide

Link: https://sparrow.dev/devcontainers-quickstart/

If you’re building production ML systems, dev containers are the killer feature of VS Code. Dev containers give you full VS Code functionality inside a Docker container. This lets you unify your dev a
Ben Cook: Poetry for Package Management in Machine Learning Projects

Link: https://sparrow.dev/python-poetry-machine-learning/

When you’re building a production machine learning system, reproducibility is a proxy for the effectiveness of your development process. But without locking all your Python dependencies, your builds a
Read the Docs: Read the Docs newsletter - July 2021

Link: https://blog.readthedocs.com/newsletter-july-2021/


Welcome to a new edition of our monthly newsletter, where we
share the most relevant updates around Read the Docs,
offer a summary of new features we shipped
during the previous month,
and share what
Test and Code: 160: DRY, WET, DAMP, AHA, and removing duplication from production code and test code

Link: https://testandcode.com/160

Should your code be DRY or DAMP or something completely different?
How about your test code? Do different rules apply?
Wait, what do all of these acronyms mean?
We'll get to all of these definitions,
Simple is Better Than Complex: What You Should Know About The Django User Model

Link: https://simpleisbetterthancomplex.com/article/2021/07/08/what-you-should-know-about-the-django-user-model.html

The goal of this article is to discuss the caveats of the default Django user model implementation and also to give you
some advice on how to address them. It is important to know the limitations of
Programming Ideas With Jake: Command and Command Handlers (and Why I Don’t Care Much For Them)

Link: https://programmingideaswithjake.wordpress.com/2021/07/08/command-and-command-handlers-and-why-i-dont-care-much-for-them/

The Command pattern is typically overkill. Here, I discuss an alternative that gives most of the benefits of the Command pattern and fewer weaknesses.
Zato Blog: Scalable API and AI architectures

Link: https://zato.io/blog/posts/scalable-api-ai-architectures.html

Architectural tenets
The architecture of Zato reflects several key foundational concepts underlying
the design of the platform. Each component of the architecture takes each of the concepts into accou
Real Python: The Real Python Podcast – Episode #68: Exploring the functools Module and Complex Numbers in Python

Link: https://realpython.com/podcasts/rpp/68/

Are you ready to expand your Python knowledge into the intermediate to advanced territory? What tools are awaiting your discovery inside Python's functools module? This week on the show, David Amos is
Stack Abuse: Python: Remove the Prefix and Suffix From a String

Link: https://stackabuse.com/python-remove-the-prefix-and-suffix-from-a-string

Introduction
There are multiple ways to remove whitespace and other characters from a string in Python. The most commonly known methods are strip(), lstrip(), and rstrip(). Since Python version 3.9, t
Talk Python to Me: #324: Gatorade-powered Python APIs

Link: https://talkpython.fm/episodes/show/324/gatorade-powered-python-apis

Python is used to solve a large and varied set of problems. One of its core pillars is web APIs. Another one is ML and data science. Those two important pieces were brought together in an unexpected y
Pythonicity: Primes

Link: https://coady.github.io/posts/primes/




An old interview challenge is to generate prime numbers or check if a number is prime. No advanced mathematics needed, just variants on the Sieve of Eratosthenes. Starting with a basic prime checke
Weekly Python StackOverflow Report: (cclxxxiii) stackoverflow python report

Link: http://python-weekly.blogspot.com/2021/07/cclxxxiii-stackoverflow-python-report.html

These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2021-07-10 20:49:08 GMTPython self-referential list produces weird outp