Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Stack Abuse: Variable-Length Arguments in Python with *args and **kwargs

Link: https://stackabuse.com/variable-length-arguments-in-python-with-args-and-kwargs/

Introduction
Some functions have no arguments, others have multiple. There are times we have functions with arguments we don't know about beforehand. We may have a variable number of arguments because
Matt Layman: User Accounts With django-allauth - Building SaaS #41

Link: https://www.mattlayman.com/building-saas/user-accounts-django-allauth/

In this episode, we added django-allauth to create accounts that default to email instead of using usernames. We added the package, configured some templates, and created tests.
We continued to look a
Talk Python to Me: #247 Solo maintainer of open-source in academia

Link: https://talkpython.fm/episodes/show/247/solo-maintainer-of-open-source-in-academia

Do you run an open-source project? Does it seem like you never have enough time to support it? Have you considered starting one but are unsure you can commit to it? It's a real challenge.
PyPy Development: Leysin Winter sprint 2020: Feb 28 - March 7th

Link: http://feedproxy.google.com/~r/PyPyStatusBlog/~3/NIBXnG16Ucc/leysin-winter-sprint-2020-feb-28-march.html

The next PyPy sprint will be in Leysin, Switzerland, for the fourteenth
time. This is a fully public sprint: newcomers and topics other than
those proposed below are welcome.




Goals and topics of
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