Planet Python RSS
217 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Full Stack Python: Developing Flask Apps in Docker Containers on macOS

Link: https://www.fullstackpython.com/develop-flask-web-apps-docker-containers-macos.html

Adding Docker to your Python and
Flask development environment
can be confusing when you are just getting started with containers. Let's
quickly get Docker installed and configured for developing F
Full Stack Python: First Steps with Bottle Apps in Docker Containers on macOS

Link: https://www.fullstackpython.com/first-steps-bottle-web-apps-docker-containers.html

It can be confusing to figure out how to use Docker
containers in your Python and
Bottle
development environment workflow.
This tutorial will quickly show you the exact steps to get Docker
up and ru
Jeff Knupp: A Common Misunderstanding About Python Generators

Link: https://jeffknupp.com/blog/2018/06/04/a-common-misunderstanding-about-python-generators/

I received the following email a few days ago:

Jeff,
It seems that you know about iterators. Maybe you can explain some weird behavior. If you run the code below you will find that the function is
Mike Driscoll: Creating PDFs with PyFPDF and Python

Link: http://www.blog.pythonlibrary.org/2018/06/05/creating-pdfs-with-pyfpdf-and-python/

ReportLab is the primary toolkit that I use for generating PDFs from scratch. However I have found that there is another one called PyFPDF or FPDF for Python. The PyFPDF package is actually a port of
Red Hat Developers: How to install Python Flask on Red Hat Enterprise Linux 7.5

Link: https://developers.redhat.com/blog/2018/06/05/install-python-flask-on-rhel/

I recently got my zero-dollar developer copy of Red Hat Enterprise Linux (RHEL, version 7.5) and built a virtual machine (VM) to run it. There it was, on my PC, running in VirtualBox…a gleaming, shiny
Python Does What?!: when no-ops attack VII: assignment's revenge

Link: http://www.pythondoeswhat.com/2018/06/when-no-ops-attack-vii-assignments.html

Let's define a very simple class: >>> class F(object):...    @staticmethod...    def f(): return "I'm such a simple function, nothing could go wrong"...>>> F.f()"I'm such a simple function, nothing co
Real Python: Basic Data Types in Python

Link: https://realpython.com/python-data-types/

Now you know how to interact with the Python interpreter and execute Python code. It’s time to dig into the Python language. First up is a discussion of the basic data types that are built into Pyth
NumFOCUS: Meet the NumFOCUS Google Summer of Code 2018 Cohort

Link: https://www.numfocus.org/blog/meet-the-numfocus-google-summer-of-code-2018-cohort

The post Meet the NumFOCUS Google Summer of Code 2018 Cohort appeared first on NumFOCUS.
Python Engineering at Microsoft: Python in Visual Studio Code – May 2018 Release

Link: https://blogs.msdn.microsoft.com/pythonengineering/2018/06/05/python-in-visual-studio-code-may-2018-release/

We are pleased to announce that the May 2018 release of the Python Extension for Visual Studio Code is now available from the marketplace and the gallery. You can download the Python extension from th
Techiediaries - Django: Angular 6 Tutorial with Django RESTful API — Building Bootstrap 4 UIs

Link: https://www.techiediaries.com/angular-bootstrap-tutorial/

In this Angular 6 tutorial we'll learn how to use Bootstrap 4 with Angular 6 to build professional UIs.
Angular 6 is the latest version of Angular when writing this tutorial and Bootstrap 4 is the la
Mike Driscoll: Creating and Manipulating PDFs with pdfrw

Link: http://www.blog.pythonlibrary.org/2018/06/06/creating-and-manipulating-pdfs-with-pdfrw/

Patrick Maupin created a package he called pdfrw and released it back in 2012. The pdfrw package is a pure-Python library that you can use to read and write PDF files. At the time of writing, pdfrw wa
Full Stack Python: Developing Flask Apps in Docker Containers on macOS

Link: https://www.fullstackpython.com/blog/develop-flask-web-apps-docker-containers-macos.html

Adding Docker to your Python and
Flask development environment
can be confusing when you are just getting started with containers. Let's
quickly get Docker installed and configured for developing F
Full Stack Python: Running Bottle Apps in Docker Containers on macOS

Link: https://www.fullstackpython.com/blog/first-steps-bottle-web-apps-docker-containers.html

It can be confusing to figure out how to use Docker
containers in your Python and
Bottle
development environment workflow.
This tutorial will quickly show you the exact steps to get Docker
up and ru
Python Software Foundation: Ernest W. Durbin III joins the PSF team

Link: http://feedproxy.google.com/~r/PythonSoftwareFoundationNews/~3/K9LYXa0mBJ0/ernest-w-durbin-iii-joins-psf-team.html

I am happy to announce that on June 1, 2018, Ernest W. Durbin III joined the Python Software Foundation team as the Director of Infrastructure.





Ernest is a long time volunteer contributor to the
PyCharm: PyCharm 2018.2 EAP 3

Link: http://feedproxy.google.com/~r/Pycharm/~3/fQpqu9T4_hg/

The third Early Access Program (EAP) version of PyCharm 2018.2 is now available. We’d like to invite you to download this version from our website.
New in PyCharm 2018.2 EAP 3
pytest fixtures support
Wallaroo Labs: Stream processing, trending hashtags, and Wallaroo

Link: https://blog.wallaroolabs.com/2018/06/stream-processing-trending-hashtags-and-wallaroo/

A prospective Wallaroo user contacted us and asked for an example of chaining state computations together so the output of one could be fed into another to take still further action. In particular, th
Mike Driscoll: An Intro to PyPDF2

Link: http://www.blog.pythonlibrary.org/2018/06/07/an-intro-to-pypdf2/

The PyPDF2 package is a pure-Python PDF library that you can use for splitting, merging, cropping and transforming pages in your PDFs. According to the PyPDF2 website, you can also use PyPDF2 to add d
EuroPython: EuroPython 2018: Training pass sale starts on Friday at 12:00 CEST

Link: https://blog.europython.eu/post/174655358657

As we have already announced, access to trainings is not included in our regular conference tickets this year. We have done this to keep the conference ticket prices reasonable, acknowledge the value
Gocept Weblog: Migrate a Zope ZODB Data.fs to Python 3

Link: https://blog.gocept.com/2018/06/07/migrate-a-zope-zodb-data-fs-to-python-3/

TL;DR Use zodbupdate.
Problem
A ZODB Data.fs which was created under Python 2 cannot be opened under Python 3. This is prevented by using a different magic code in the first bytes of the file. This is
Jahongir Rahmonov: Django Static Files

Link: http://rahmonov.me/posts/django-static-files/

Have you ever been frustrated when your Django application did not find the static files you were using?
Then, you read the documentation and played around with all those settings variables and after