Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Codementor: How to Build RESTful APIs with Python and Flask

Link: https://www.codementor.io/dongido/how-to-build-restful-apis-with-python-and-flask-12qto530jd

For some time now I have been working with Python but I just got to try out Flask recently, so I felt it would be nice to write about it. In this aritcle I'll discuss about Flask and how you can...
Tim Arnold / reachtim: Reading Binary Data with Python

Link: https://reachtim.com/articles/reading-binary-data-with-python.html

Table of contents:
Overview
Initial Data from the Network


ctypes module
Class Instantiation


struct module
Binary Manipulations
High nybble
Low nybble




Conclusion


Overview
When you deal with e
Python Software Foundation: Start using 2FA and API tokens on PyPI

Link: http://feedproxy.google.com/~r/PythonSoftwareFoundationNews/~3/3wzQ4odyH-4/start-using-2fa-and-api-tokens-on-pypi.html

To increase the security of PyPI downloads, we have added two-factor authentication (2FA) as a login security option, and API tokens for uploading packages. This is thanks to a grant from the Open Tec
IslandT: Create the input text box with tkinter

Link: https://kibiwebgeek.com/create-the-input-text-box-with-tkinter/

In the previous post, I have written a python program to create the database, earning table as well as input the first row of data into the earning table. In this chapter, I will create a simple UI to
Peter Bengtsson: JavaScript destructuring like Python kwargs with defaults

Link: https://www.peterbe.com/plog/javascript-destructuring-like-python-kwargs-with-defaults

In Python
I'm sure it's been blogged about a buncha times before but, I couldn't find it, and I had to search too hard to find an example of this. Basically, what I'm trying to do is what Python does
Catalin George Festila: Python 3.7.5 : Is Django the best web framework?

Link: http://python-catalin.blogspot.com/2019/12/python-375-is-django-best-web-framework.html

This is the question for today in order to lineup the Django features with any web framework from my point of view.
Let's start with a brief introduction to this framework:
Django was created in the f
Catalin George Festila: Python 3.7.5 : Django security issues - part 001.

Link: http://python-catalin.blogspot.com/2020/01/python-375-django-security-issues-part.html

Django like any website development and framework implementation requires security settings and configurations.
Today I will present some aspects of this topic and then I will come back with other inf
Python Circle: How to display flash messages in Django templates

Link: https://www.pythoncircle.com/post/700/how-to-display-flash-messages-in-django-templates/

flash messages in Django template, one-time notifications in Django template, messages framework Django, displaying success message in Django, error message display in Django
Python Circle: Top 5 Python Books

Link: https://www.pythoncircle.com/post/646/top-5-python-books/

top 10 python programming books, List of python books to start with, Start with a python book collection, Buy best python books, Top and best python books,
Python Circle: Encryption-Decryption in Python Django

Link: https://www.pythoncircle.com/post/641/encryption-decryption-in-python-django/

How to encrypt and decrypt the content in Django, Encrypting the critical information in Django App, Encrypting username, email and password in Django, Django security
Python Circle: How to set a variable in Django template

Link: https://www.pythoncircle.com/post/701/how-to-set-a-variable-in-django-template/

Declaring a new variable in Django template, Set the value of a variable in Django template, using custom template tag in Django, Defining variables in Django template tag
Weekly Python StackOverflow Report: (ccxi) stackoverflow python report

Link: http://python-weekly.blogspot.com/2020/01/ccxi-stackoverflow-python-report.html

These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2020-01-19 12:01:13 GMTUse data in pandas data frames to match columns
Simple is Better Than Complex: How to Use Chart.js with Django

Link: https://simpleisbetterthancomplex.com/tutorial/2020/01/19/how-to-use-chart-js-with-django.html

Chart.js is a cool open source JavaScript library that helps you render HTML5 charts. It is responsive and counts with
8 different chart types.
In this tutorial we are going to explore a little bit of
Ionel Cristian Maries: Is there anything safe in python?

Link: https://blog.ionelmc.ro/2020/01/20/is-there-anything-safe-in-python/

In the process of working on Hunter I have found many strange things from merely trying to
do a repr on objects that are passed around. Code blowing up with an exception is the least of your concerns.
IslandT: Link together the Tkinter user interface and database Input class

Link: https://kibiwebgeek.com/link-together-the-tkinter-user-interface-and-database-input-class/

In this chapter, we will create the Input class which has a few methods used to create a database and the earning table as well as an insert method to insert earning values into that earning table. Af
Erik Marsja: How to Save a Seaborn Plot as a File (e.g., PNG, PDF, EPS, TIFF)

Link: https://www.marsja.se/how-to-save-a-seaborn-plot-as-a-file-e-g-png-pdf-eps-tiff/?utm_source=rss&utm_medium=rss&utm_campaign=how-to-save-a-seaborn-plot-as-a-file-e-g-png-pdf-eps-tiff

The post How to Save a Seaborn Plot as a File (e.g., PNG, PDF, EPS, TIFF) appeared first on Erik Marsja.
In this short post, we will learn how to save Seaborn plots to a range of different file form