Planet Python RSS
213 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Zato Blog: How to invoke REST APIs from Zato microservices

Link: https://zato.io/blog/posts/invoke-rest-api.html

This Zato article is a companion to
an earlier post
- previously we covered accepting REST API calls and now we look at how Zato services can invoke external REST endpoints.
Outgoing connections
Just
Python Pool: Matplotlib Zorder Explained with Examples

Link: https://www.pythonpool.com/matplotlib-zorder/?utm_source=rss&utm_medium=rss&utm_campaign=matplotlib-zorder

Hello geeks and welcome in this article, we will cover Matplotlib Zorder. Along with that, we look at its syntax, what difference does it make to the graph. To do so, we will look at a couple of examp
Mike Driscoll: PyDev of the Week: Carl Friedrich Bolz

Link: https://www.blog.pythonlibrary.org/2021/02/01/pydev-of-the-week-carl-friedrich-bolz/

This week we welcome Carl Friedrich Bolz (@cfbolz) as our PyDev of the Week! Carl is a core developer of PyPy, which is an RPython variant of CPython that runs faster in general than regular Python. I
Django Weblog: Django security releases issued: 3.1.6, 3.0.12, and 2.2.18

Link: https://www.djangoproject.com/weblog/2021/feb/01/security-releases/

In accordance with our security release policy, the Django team is issuing
Django 3.1.6,
Django 3.0.12 and
Django 2.2.18.
These releases address the security issue with severity "low" detailed below.
Stack Abuse: Python: How to Handle Missing Data in Pandas DataFrame

Link: https://stackabuse.com/python-how-to-handle-missing-dataframe-values-in-pandas/

Introduction
Pandas is a Python library for data analysis and manipulation. Almost all operations in pandas revolve around DataFrames, an abstract data structure tailor-made for handling a metric ton
Django Weblog: DjangoCon Europe 2021 Announcement

Link: https://www.djangoproject.com/weblog/2021/feb/01/djangocon-europe-2021-announcement/

We are happy to announce that DjangoCon Europe 2021 will take place in Porto, Portugal 🇵🇹 and online between between June 2 and 6! The website is will be online soon at 2021.djangocon.eu and it will b
"Morphex's Blogologue": A small script to find suitable, recurring dates

Link: http://blogologue.com/blog_entry?id=1612204587X59

So, I recently was in a long process, to find an arrangement between me and the kids mom regarding the kids.We made a court settlement, and the setup is that I see them every 8th week. Through my vol
Real Python: Python Web Applications: Deploy Your Script as a Flask App

Link: https://realpython.com/python-web-applications/

You wrote a Python script that you’re proud of, and now you want to show it off to the world. But how? Most people won’t know what to do with your .py file. Converting your script into a Python web ap
LAAC Technology: Database Constraints in Django

Link: https://www.laac.dev/blog/database-constraints-in-django/

Table of Contents

Introduction
Example Code
Unique Constraint
Check Constraint
Exclusion Constraint
Final Thoughts

Introduction
Data integrity refers to the accuracy of data stored inside a database
Podcast.__init__: Exploring Literate Programming For Python Projects With nbdev

Link: https://www.pythonpodcast.com/nbdev-literate-programming-episode-300/

Creating well designed software is largely a problem of context and understanding. The majority of programming environments rely on documentation, tests, and code being logically separated despite bei
Mike Driscoll: Drawing Text on Images with Pillow and Python

Link: https://www.blog.pythonlibrary.org/2021/02/02/drawing-text-on-images-with-pillow-and-python/

Pillow supports drawing text on your images in addition to shapes. Pillow uses its own font file format to store bitmap fonts, limited to 256 characters. Pillow also supports TrueType and OpenType fon
Python Pool: NumPy Cross Product in Python with Examples

Link: https://www.pythonpool.com/numpy-cross-product/?utm_source=rss&utm_medium=rss&utm_campaign=numpy-cross-product

Hello coders!! In this example, we will be learning about NumPy cross product in Python. We will also see different examples to clarify the concept. Let us dive into the topic.
What is a cross product
Justin Mayer: Python Development Environment on macOS Big Sur, Catalina, and Mojave

Link: https://hackercodex.com/guide/python-development-environment-on-mac-osx/

While installing Python and Virtualenv on macOS Big Sur, Catalina, and Mojave can be done several ways, this tutorial will guide you through the process of configuring a stock Mac system into a solid
IslandT: The difference of Volumes of Cuboids

Link: https://kibiwebgeek.com/the-difference-of-volumes-of-cuboids/

In this simple exercise, you will create a program that will take two lists of integers, a and b. Each list will consist of 3 positive integers above 0, representing the dimensions of cuboids a and b.
Stack Abuse: How to Rename Pandas DataFrame Column in Python

Link: https://stackabuse.com/how-to-rename-pandas-dataframe-column-in-python/

Introduction
Pandas is a Python library for data analysis and manipulation. Almost all operations in pandas revolve around DataFrames.
A Dataframe is is an abstract representation of a two-dimensional
Real Python: Plot With Pandas: Python Data Visualization Basics

Link: https://realpython.com/courses/plot-pandas-data-visualization/

Whether you’re just getting to know a dataset or preparing to publish your findings, visualization is an essential tool. Python’s popular data analysis library, pandas, provides several different opti
Python Morsels: String Concatenation and String Interpolation

Link: https://www.pythonmorsels.com/topics/string-concatenation-and-string-interpolation/




Transcript
Let's talk about how to build-up bigger strings out of smaller strings in Python. The two methods for doing this are string concatenation and string interpolation.
String Concatenation
W
PyCoder’s Weekly: Issue #458 (Feb. 2, 2021)

Link: https://pycoders.com/issues/458

#458 – FEBRUARY 2, 2021 View in Browser » Finding and Fixing an Unexpected Memory Explosion in Pandas Storing string columns as categories can result in massive memory savings when working with