Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
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
PSF GSoC students blogs: Check-in: 13th and final week of GSoC (Aug 19 - Aug 25)

Link: https://blogs.python-gsoc.org/en/josealaniss-blog/check-in-13th-and-final-week-of-gsoc-aug-19-aug-25/

1. What did you do this week?

As this was the final week of GSoC, I have written and posted a final report of the project here.
In addition, I made a major overhaul of the project's website. Wich now
PSF GSoC students blogs: Final Weekly Check-in

Link: https://blogs.python-gsoc.org/en/sudharsana-kjls-blog/final-weekly-check-in/

In the final week of coding, I was refining the hadoop source PR.
What did I do this week?
The dockerfile is finally working now. We are able to set up hadoop using dockerfile. Also the connection set
Podcast.__init__: AI Driven Automated Code Review With DeepCode

Link: https://www.pythonpodcast.com/deepcode-automated-code-review-episode-226/

Software engineers are frequently faced with problems that have been fixed by other developers in different projects. The challenge is how and when to surface that information in a way that increases
PSF GSoC students blogs: Final work submission and future work

Link: https://blogs.python-gsoc.org/en/yashlambas-blog/final-work-submission-and-future-work/

As the final week ended, we had to submit a compilation of our work during GSoC. Below are some insights:
What was the original aim?
Adding new machine learning models to DFFML, the proposed models ar
Wingware Blog: Introducing Variables with Refactoring in Wing Pro

Link: https://wingware.com/blog/refactor-intro-var

In past issues of Wing Tips we covered a number of the refactoring operations
available in Wing Pro, such as renaming symbols, moving
symbols, and introducing functions and methods. To finish our seri
Test and Code: 85: Speed Up Test Suites - Nicklas Meinzer

Link: https://testandcode.com/85

Good software testing strategy is one of the best ways to save developer time and shorten software development delivery cycle time.
Software test suites grow from small quick suites at the beginning o
PSF GSoC students blogs: Final Blog - A Journey full of learnings

Link: https://blogs.python-gsoc.org/en/funnelferrys-blog/final-blog-a-journey-full-of-learnings/

Name : Anveshan Lal
Organisation : Mission Support System (Python Software Foundation)
Mentors : Joern Ungermann, Jens-Uwe Grooß
Project : Updating Geographical Plotting Routines
Project Code : Pull R