Planet Python RSS
213 subscribers
16.8K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Continuum Analytics Blog: Intake: Parsing Data from Filenames and Paths

Link: https://www.anaconda.com/blog/developer-blog/intake-parsing-data-from-filenames-and-paths/

By Julia Signell Motivation Do you have data in collections of files, where information is encoded both in the contents and the file/directory names? Perhaps something like '{year}/{month}/{day}/{site
PyBites: Persistent Virtualenv Environment Variables with python-dotenv

Link: https://pybit.es/persistent-environment-variables.html

I can't count the amount of times I've followed a tutorial or guide that's said something along the lines of "Store your API Keys in environment variables".
It's easy enough to do with os.getenv but t
Weekly Python StackOverflow Report: (cxlvi) stackoverflow python report

Link: http://python-weekly.blogspot.com/2018/10/cxlvi-stackoverflow-python-report.html

These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2018-10-06 21:03:54 GMTSpeed comparison. numpy vs python standard - [9/
PyBites: PyBites Twitter Digest - Issue 31, 2018

Link: https://pybit.es/twitter_digest_201831.html

Read about how Dropbox migrated to Python 3!
Submitted by @dgjustice
Read about the Dropbox Client Python 3 migration! https://t.co/dXIJvxn9lL— Guido van Rossum (@gvanrossum) September 27, 2018
Tutori
Ned Batchelder: Who tests what is here

Link: https://nedbatchelder.com//blog/201810/who_tests_what_is_here.html

A long-awaited feature of coverage.py is now available in a rough form:
Who Tests What annotates coverage data with the
name of the test function that ran the code.To try it out:
Install cover
Davy Wybiral: DIY Pumpkin Bluetooth Stereo

Link: http://davywybiral.blogspot.com/2018/10/diy-pumpkin-bluetooth-stereo.html

It's October and Halloween is my favorite holiday so to celebrate I built this Jack-o-lantern Bluetooth stereo out of a real pumpkin. It sounds great and should be really easy to scare people with (no
Codementor: Web scraping using Python and BeautifulSoup

Link: https://www.codementor.io/dankhan/web-scrapping-using-python-and-beautifulsoup-o3hxadit4

Intro
In the era of data science it is common to collect data from websites for analytics purposes.
Python is one of the most commonly used programming languages for data science projects. Using...
Jeff Knupp: Extended Absence

Link: https://jeffknupp.com/blog/2018/10/06/extended-absence//

For those who have been keeping score, I've been on somewhat of an extended absence, especially since October of last year. Much of it was the result of events in my personal life which I'll not discu
Mike Driscoll: PyDev of the Week: K Lars Lohn

Link: http://www.blog.pythonlibrary.org/2018/10/08/pydev-of-the-week-k-lars-lohn/

This week we welcome K Lars Lohn (@2braids) as our PyDev of the Week! He has been a part of the Python community for quite a few years. You can learn a bit more about him over on his blog or by checki
Test and Code: 48: A GUI for pytest

Link: https://testandcode.com/48

The story of how I came to find a good user interface for running and debugging automated tests is interleaved with a multi-year effort of mine to have a test workflow that’s works smoothly with produ
Jaime Buelta: I wrote a Python book!

Link: https://wrongsideofmemphis.wordpress.com/2018/10/08/i-wrote-a-python-book/

So, great news, I wrote a book and it’s available! It’s called Python Automation Cookbook, and it’s aimed to people that already know a bit of Python (not necessarily developers only), but would like
Made With Mu: PortaMu - Making Mu Portable

Link: https://madewith.mu/mu/portamu/2018/10/08/portamu.html

(In this guest post, 14 year old Mu user and wunderkind Josh Lowe explains how
to get Mu working on locked-down school computers running Windows. School
network admins are going to go nuts over this!)
Blue Yonder Tech: Oxidizing Python: Speeding up URL quoting by 10x using Rust

Link: https://tech.blue-yonder.com/oxidizing-python-speeding-up-urlquoting-by-using-rust/

Motivation Recently a colleague of mine told me about a small bottleneck with url quoting since we are quoting a lot of storage keys at least once when loading or storing a dataset. To speed it up, we
Chris Moffitt: Pandas Crosstab Explained

Link: http://pbpython.com/pandas-crosstab.html


Introduction
Pandas offers several options for grouping and summarizing data but this variety of
options can be a blessing and a curse. These approaches are all powerful data
analysis tools but it ca
PythonClub - A Brazilian collaborative blog about Python: Trabalhando com operadores ternários

Link: http://pythonclub.com.br/trabalhando-com-operadores-ternarios.html

Quando estamos escrevendo um código qualquer, possivelmente
a expressão que mais utilizamos é o if. Para qualquer
tarefas que buscamos automatizar ou problemas que buscamos
resolver, sempre acabamo
Real Python: How to Round Numbers in Python

Link: https://realpython.com/python-rounding/

It’s the era of big data, and every day more and more business are trying to leverage their data to make informed decisions. Many businesses are turning to Python’s powerful data science ecosystem to
Full Stack Python: How to Add User Authentication to Flask Apps with Okta

Link: https://www.fullstackpython.com/blog/add-user-authentication-flask-apps-okta.html

User authentication is a basic feature in web applications
so that people can create and access their own accounts. Unfortunately,
there are many ways to improperly implement authentication.
This tut
Peter Bengtsson: The ideal number of workers in Jest

Link: https://www.peterbe.com/plog/ideal-number-of-workers-in-jest-maxWorkers

tl;dr; Use --runInBand when running jest in CI and use --maxWorkers=3 on your laptop.

We have a test suite that covers 236 tests across 68 suites and runs mainly a bunch of enzyme rendering of React