Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
PSF GSoC students blogs: Paginate Django Feeds

Link: https://blogs.python-gsoc.org/en/sounak98s-blog/paginate-django-feeds/

Django has a great framework for generating feeds, but sadly it doesn't support pagination out of the box. Currently we have tons of blogs and the feeds page was loading especially slow with all the p
PSF GSoC students blogs: Weekly Check-In #10

Link: https://blogs.python-gsoc.org/en/sounak98s-blog/weekly-check-in-10-1/

What did I do in these two weeks?
There were a lot of bugs posted, kind of like the last set of major fixes that we need to make.

be able to add gsoc_year
add username to password reset email
prepopu
PSF GSoC students blogs: Final Report

Link: https://blogs.python-gsoc.org/en/sounak98s-blog/final-report/

Summer Rewind
Let’s rewind to the beginning of this year. We had started working on this application way before GSoC had even started. The goal was to have a working application which PSF will be able
Kushal Das: How to crack Open Source?

Link: https://kushaldas.in/posts/how-to-crack-open-source.html



Open Source has become a big thing, now everyone heard the term,
and know about it (in their own way). It became so popular, that
Indian college students now want to crack it like any other entrance
Matt Layman: Celery In A Shiv App - Building SaaS #31

Link: https://www.mattlayman.com/building-saas/celery-in-shiv/

In this episode, we baked the Celery worker and beat scheduler tool into the Shiv app. This is one more step on the path to simplifying the set of tools on the production server.
I started the stream
PSF GSoC students blogs: Week 13: Weekly Check-In (#7) - Last Check-In

Link: https://blogs.python-gsoc.org/en/digyts-blog/week-13-weekly-check-in-7-last-check-in/

1. What did you do this week?
As described in my previous post, I spent last week doing some smaller corrections on my Pull Requests. The biggest amount of work was dedicated to allowing fast and memo
PSF GSoC students blogs: Google Summer of Code with Nuitka 7th Weekly Check-in

Link: https://blogs.python-gsoc.org/en/tommyli3318s-blog/google-summer-of-code-with-nuitka-7th-weekly-check-in/

1. What did you do this week?
As GSoC is wrapping up, I wrote a summary of my work which can be found here. 
In addition, I have finalized my pull requests #495 and #484 which are now ready for merge.
Kushal Das: Highest used Python code in the Pentesting/Security world

Link: https://kushaldas.in/posts/highest-used-python-code-in-the-pentesting-security-world.html


python -c 'import pty;pty.spawn("/bin/bash")'

I think this is the highest used Python program in the land of Pentesting/Security, Almost every blog post or tutorial I read, they talk about the abov
Kushal Das: Setting up WKD

Link: https://kushaldas.in/posts/setting-up-wkd.html


We fetch any GPG public key from the keyservers using the GPG fingerprint (or
parts of it). This step is still a problematic one for most of us. As the
servers may not be responding, or the key is mi
Kushal Das: Using signify tool for sign and verification

Link: https://kushaldas.in/posts/using-signify-tool-for-sign-and-verification.html


We generally use GNUPG for sign and verify files on our systems. There are
other tools available to do so; some tools are particularly written only for
this purpose. signify is one such
tool from the
Kushal Das: Setting up authorized v3 Onion services

Link: https://kushaldas.in/posts/setting-up-authorized-v3-onion-services.html


Just like v2 Onion services, we can also set up client authorization for Onion
services v3. In simple terms, when you have a client authorization setup on an
Onion service, only the Tor clients with
Kushal Das: Using sops with Ansible for vars encryption

Link: https://kushaldas.in/posts/using-sops-with-ansible-for-vars-encryption.html



Sops is a secret management tool from Mozilla. According to the official
Github page, it is defined as:

sops is an editor of encrypted files that supports YAML, JSON, ENV, INI and BINARY formats an
Kushal Das: Adding directory to path in csh on FreeBSD

Link: https://kushaldas.in/posts/adding-directory-to-path-in-csh-on-freebsd.html


While I was trying to install rust on a FreeBSD
box, I figured that I will have to update the path on the system with
directory path of the ~/.cargo/bin. I added the following line in the
~/.cshrc fi
Kushal Das: git checkout to previous branch

Link: https://kushaldas.in/posts/git-checkout-to-previous-branch.html


We regularly move between git branches while working on projects. I always
used to type in the full branch name, say to go back to develop branch and
then come back to the feature branch. This genera
Kushal Das: Remember to mark drive as removable for tails vm install

Link: https://kushaldas.in/posts/remember-to-mark-drive-as-removable-for-tails-vm-install.html


If you are installing Tails into a VM for testing
or anything else, always remember to mark the drive as a removable USB drive.
Otherwise, the installation step will finish properly, but, you will ge
Erik Marsja: Python MANOVA Made Easy using Statsmodels

Link: https://www.marsja.se/python-manova-made-easy-using-statsmodels/

The post Python MANOVA Made Easy using Statsmodels appeared first on Erik Marsja.
In previous posts, we learned how to use Python to detect group differences on a single dependent variable. However, t
Matt Layman: Quick and dirty mock service with Starlette

Link: https://www.mattlayman.com/blog/2019/starlette-mock-service/

I had a challenge at work. The team needed to mock out a third party service in a testing environment. The service was slow and configuring it was painful. If we could mock it out, then the team could
Chris Moffitt: Combine Multiple Excel Worksheets Into a Single Pandas Dataframe

Link: https://pbpython.com/pandas-excel-tabs.html


Introduction
One of the most commonly used pandas functions is
read_excel
. This short article shows how you
can read in all the tabs in an Excel workbook and combine them into a single pandas dataf
Stack Abuse: Minimax with Alpha-Beta Pruning in Python

Link: https://stackabuse.com/minimax-and-alpha-beta-pruning-in-python/

Introduction
Way back in the late 1920s John Von Neumann established the main problem in game theory that has remained relevant still today:

Players s1, s2, ..., sn are playing a given game G. Which
Real Python: A Guide to Excel Spreadsheets in Python With openpyxl

Link: https://realpython.com/openpyxl-excel-spreadsheets-python/

Excel spreadsheets are one of those things you might have to deal with at some point. Either it’s because your boss loves them or because marketing needs them, you might have to learn how to work with