Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
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
Mike Driscoll: Book Contest: ReportLab: PDF Processing with Python

Link: http://www.blog.pythonlibrary.org/2018/08/14/book-contest-reportlab-pdf-processing-with-python/

I recently released a new book entitled ReportLab: PDF Processing with Python. In celebration of a successful launch, I have decided to do a little contest.

Rules

Post a comment telling me why you w
Vasudev Ram: pyperclip, a cool Python clipboard module

Link: http://jugad2.blogspot.com/2018/08/pyperclip-cool-python-clipboard-module.html

By Vasudev RamI recently came across this neat Python library, pyperclip, while browsing the net. It provides programmatic copy-and-paste functionality. It's by Al Sweigart.pyperclip is very easy to u
Mike Driscoll: Face Detection Using Python and OpenCV

Link: http://www.blog.pythonlibrary.org/2018/08/15/face-detection-using-python-and-opencv/

Machine Learning, artificial intelligence and face recognition are big topics right now. So I thought it would be fun to see how easy it is to use Python to detect faces in photos. This article will f
Codementor: Taming Snakes inside a Container

Link: https://www.codementor.io/apcelent/taming-snakes-inside-a-container-mfadetk24

In this post, let's talk about taming snakes inside a container. The article is a summary of lessons learned while dockerizing python microservices. In case you want to see a detailed...
Import Python: ImportPython - Issue 182

Link: http://importpython.com/blog/post/importpython-issue-182





Worthy
Read



Continuous Delivery of Microservices - Parts 1 to 5
Real Python: The Ultimate Guide to Django Redirects

Link: https://realpython.com/django-redirects/

When you build a Python web application with the Django framework, you’ll at some point have to redirect the user from one URL to another.
In this guide, you’ll learn everything you need to know about