Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Codementor: Headless Web Scraping in Python with Beautiful Soup 4

Link: https://www.codementor.io/alibabacloud/headless-web-scraping-in-python-with-beautiful-soup-4-mctwzyskk

By Mark Andrews, Alibaba Cloud Tech Share Author. Tech Share is Alibaba Cloud's incentive program to encourage the sharing of technical knowledge and best practices within the cloud...
Toshio Kuratomi: Voluptuous and Python-3.4 Enums

Link: https://anonbadger.wordpress.com/2018/08/12/voluptuous-and-python-3-4-enums/

Last year I played around with using jsonschema for validating some data that I was reading into my Python programs.  The API for the library was straightforward but the schema turned out to be a pret
Mike Driscoll: PyDev of the Week: Lovely ricel Banquil

Link: http://www.blog.pythonlibrary.org/2018/08/13/pydev-of-the-week-lovely-ricel-banquil/

This week we welcome Lovely ricel Banquil (AKA Banx) as our PyDev of the Week. Banx is a tester by trade and recently presented a talk at PyCon Thailand. Let’s spend some time getting to know Lovely b
Red Hat Developers: How to install Python 3 on RHEL

Link: https://developers.redhat.com/blog/2018/08/13/install-python3-rhel/

This article shows how to install Python 3, pip, venv, virtualenv, and pipenv on Red Hat Enterprise Linux 7. After following the steps in this article, you should be in a good position to follow many
Mike Driscoll: Only 2 Days Left for Jupyter Notebook 101

Link: http://www.blog.pythonlibrary.org/2018/08/13/only-2-days-left-for-jupyter-notebook-101/

There’s only two days left to join the Kickstarter for my latest book, Jupyter Notebook 101. It’s also one of the best times to help out as you get to help shape the book right now. I always take my r
Test and Code: 45: David Heinemeier Hansson - Software Development and Testing, TDD, and exploratory QA

Link: http://testandcode.com/45

David Heinemeier Hansson is the creator of Ruby on Rails, founder & CTO at Basecamp (formerly 37signals). He's a best selling author, public speaker, and even a Le Mans class winning racing driver.
A
Peter Bengtsson: django-html-validator now supports Django 2.x

Link: https://www.peterbe.com/plog/django-html-validator-now-supports-django-2.x

django-html-validator is a Django project that can validate your generated HTML. It does so by sending the HTML to https://html5.validator.nu/ or you can start your own Java server locally with vnu.ja
Simple is Better Than Complex: How to Use Bootstrap 4 Forms With Django

Link: https://simpleisbetterthancomplex.com/tutorial/2018/08/13/how-to-use-bootstrap-4-forms-with-django.html

This is a quick tutorial to get you start with django-crispy-forms
and never look back.
Crispy-forms is a great application that gives you control over how you render Django forms, without breaking th
Fabio Zadrozny: Profiling pytest startup

Link: http://feedproxy.google.com/~r/blogspot/pydev/~3/BPj1i-ACYXI/profiling-pytest-startup.html

I'm a fan of pytest (http://www.pytest.org), yet, it seems that the startup time for running tests locally in the app I'm working on is slowly ramping up, so, I decided to do a profile to see if there
Spyder IDE: Spyder featured on Episode 1 of Open Source Directions web show

Link: https://www.spyder-ide.org/blog/webcast-quansight-ep1/

Quansight, the company recently founded by NumPy, SciPy and Anaconda creator Travis Oliphant to help connect companies with open source communities built around data science and machine learning, just
Mike Driscoll: Python 101: Episode #20 – The sys module

Link: http://www.blog.pythonlibrary.org/2018/08/14/python-101-episode-20-the-sys-module/


In this screencast, you will learn the basics of Python’s sys module from the standard library. You can also read the chapter this screencast is based on here or on Leanpub
Check out the entire Pytho
Semaphore Community: Getting Started with Mocking in Python

Link: https://semaphoreci.com/community/tutorials/getting-started-with-mocking-in-python

This article is brought with to you by Semaphore.Introduction
Mocking is simply the act of replacing the part of the application
you are testing with a dummy version of that part called a mock.
Inst
Peter Bengtsson: Django lock decorator with django-redis

Link: https://www.peterbe.com/plog/django-lock-decorator-with-django-redis

Here's the code. It's quick-n-dirty but it works wonderfully:

import functools
import hashlib

from django.core.cache import cache
from django.utils.encoding import force_bytes


def lock_decorator
Djangostars: How to build your own blockchain for a financial product

Link: https://djangostars.com/blog/how-to-build-your-own-blockchain-for-a-financial-product/


Technologies are changing fast; people are not. – Jakob Nielsen

Blockchain is a relatively new technology that many deem is used only for buying Bitcoins. They try to implement it in whatever sphere
Ned Batchelder: SQLite data storage for coverage.py

Link: https://nedbatchelder.com//blog/201808/sqlite_data_storage_for_coveragepy.html

I’m starting to make some progress on Who Tests What.
The first task is to change how coverage.py records the data it collects
during execution. Currently, all of the data is held in memory,
Python Engineering at Microsoft: Python in Visual Studio 2017 version 15.8

Link: https://blogs.msdn.microsoft.com/pythonengineering/2018/08/14/python-in-visual-studio-2017-version-15-8/

We have released the 15.8 update to Visual Studio 2017. You will see a notification in Visual Studio within the next few days, or you can download the new installer from visualstudio.com.
In this post
Spyder IDE: Spyder 3.3.0 and 3.3.1 released!

Link: https://www.spyder-ide.org/blog/release-spyder-330/

We're pleased to release the next significant update in the stable Spyder 3 line, 3.3.0, along with its follow-on bugfix point release, 3.3.1, which is now live on PyPI and conda.
As always, you can u