Python⇒Speed: Docker can slow down your code and distort your benchmarks
Link: https://pythonspeed.com/articles/docker-performance-overhead/
One of the benefits of containers over virtual machines is that you get some measure of isolation without the performance overhead or distortion of virtualization.
Docker images therefore seem like a
Link: https://pythonspeed.com/articles/docker-performance-overhead/
One of the benefits of containers over virtual machines is that you get some measure of isolation without the performance overhead or distortion of virtualization.
Docker images therefore seem like a
Python⇒Speed
Docker can slow down your code and distort your benchmarks
In theory, Docker containers have no performance overhead. In practice, they can actually slow down your code and distort performance measurements.
Python Bytes: #233 RaaS: Readme as a Service
Link: https://pythonbytes.fm/episodes/show/233/raas-readme-as-a-service
<p><strong>Watch the live stream:</strong></p>
<a href='https://www.youtube.com/watch?v=luKiqcQsHUI' style='font-weight: bold;'>Watch on YouTube</a><br>
<br>
<p><strong>About the show</strong></p>
Link: https://pythonbytes.fm/episodes/show/233/raas-readme-as-a-service
<p><strong>Watch the live stream:</strong></p>
<a href='https://www.youtube.com/watch?v=luKiqcQsHUI' style='font-weight: bold;'>Watch on YouTube</a><br>
<br>
<p><strong>About the show</strong></p>
pythonbytes.fm
RaaS: Readme as a Service
News and announcements from the Python community for the week of May 12th, 2021
Ben Cook: PyTorch Tensor to NumPy Array and Back
Link: https://jbencook.com/pytorch-numpy-conversion/
NumPy to PyTorch
PyTorch is designed to be pretty compatible with NumPy. Because of this, converting a NumPy array to a PyTorch tensor is simple:
import torch
import numpy as np
x = np.eye(3)
torch.
Link: https://jbencook.com/pytorch-numpy-conversion/
NumPy to PyTorch
PyTorch is designed to be pretty compatible with NumPy. Because of this, converting a NumPy array to a PyTorch tensor is simple:
import torch
import numpy as np
x = np.eye(3)
torch.
jbencook
NumPy Arrays to PyTorch Tensors and Back
You can easily convert a NumPy array to a PyTorch tensor and a PyTorch tensor to a NumPy array. This post explains how it works.
Mike Driscoll: Drawing Rectangles with Rounded Corners with Pillow and Python
Link: https://www.blog.pythonlibrary.org/2021/05/12/drawing-rectangles-with-rounded-corners-with-pillow-and-python/
Pillow is a package devoted to working with images in Python. Starting in Pillow 8.2, there is a new drawing type: the rounded rectangle. A rounded rectangle lets you round the corners of the rectangl
Link: https://www.blog.pythonlibrary.org/2021/05/12/drawing-rectangles-with-rounded-corners-with-pillow-and-python/
Pillow is a package devoted to working with images in Python. Starting in Pillow 8.2, there is a new drawing type: the rounded rectangle. A rounded rectangle lets you round the corners of the rectangl
Mouse Vs Python
Drawing Rectangles with Rounded Corners with Pillow and Python - Mouse Vs Python
Pillow is a package devoted to working with images in Python. Starting in Pillow 8.2, there is a new drawing type: the rounded rectangle. A rounded
Mike Driscoll: Python 101: 2nd Edition is FREE for PyCon 2021!
Link: https://www.blog.pythonlibrary.org/2021/05/13/python-101-2nd-edition-is-free-for-pycon-2021/
I am making Python 101: 2nd Edition free during PyCon 2021. This sale will end, Monday, May 17th, 2021. You can get the book free using the following links:
Leanpub – https://leanpub.com/py101/c/pyco
Link: https://www.blog.pythonlibrary.org/2021/05/13/python-101-2nd-edition-is-free-for-pycon-2021/
I am making Python 101: 2nd Edition free during PyCon 2021. This sale will end, Monday, May 17th, 2021. You can get the book free using the following links:
Leanpub – https://leanpub.com/py101/c/pyco
Mouse Vs Python
Python 101: 2nd Edition is FREE for PyCon 2021! - Mouse Vs Python
Gain practical, real-world Python skills with our resources and pathway
Django Weblog: Django bugfix releases issued: 3.2.3, 3.1.11, and 2.2.23
Link: https://www.djangoproject.com/weblog/2021/may/13/bugfix-releases/
Today we've issued
3.2.3,
3.1.11, and
2.2.23 bugfix releases.
The release package and checksums are available from our downloads page, as well as from the Python Package Index. The PGP key ID used fo
Link: https://www.djangoproject.com/weblog/2021/may/13/bugfix-releases/
Today we've issued
3.2.3,
3.1.11, and
2.2.23 bugfix releases.
The release package and checksums are available from our downloads page, as well as from the Python Package Index. The PGP key ID used fo
Python for Beginners: Why we need comments in Python
Link: https://www.pythonforbeginners.com/comments/why-we-need-comments-in-python
Comments are the statements which are included in the source code but don’t contribute to program logic. A python comment is not executed by the interpreter and it can only be accessed when we have a
Link: https://www.pythonforbeginners.com/comments/why-we-need-comments-in-python
Comments are the statements which are included in the source code but don’t contribute to program logic. A python comment is not executed by the interpreter and it can only be accessed when we have a
PythonForBeginners.com
Why we need comments in Python - PythonForBeginners.com
Why we need comments in Python will help you improve your python skills with easy to follow examples and tutorials. Click here to view code examples.
Python Engineering at Microsoft: The Pylance language server has reached stable!
Link: https://devblogs.microsoft.com/python/pylance-has-reached-stable/
We’re excited to announce that Pylance, our fast and feature-rich language support for Python in Visual Studio Code, is now officially out of preview and has reached its first stable release.
Join us
Link: https://devblogs.microsoft.com/python/pylance-has-reached-stable/
We’re excited to announce that Pylance, our fast and feature-rich language support for Python in Visual Studio Code, is now officially out of preview and has reached its first stable release.
Join us
Python
The Pylance language server has reached stable!
We’re excited to announce that Pylance, our fast and feature-rich language support for Python in Visual Studio Code, is now officially out of preview and has reached its first stable release. Keep reading to learn more!
Ben Cook: How to Use the PyTorch Sigmoid Operation
Link: https://jbencook.com/pytorch-sigmoid/
The PyTorch sigmoid function is an element-wise operation that squishes any real number into a range between 0 and 1. This is a very common activation function to use as the last layer of binary class
Link: https://jbencook.com/pytorch-sigmoid/
The PyTorch sigmoid function is an element-wise operation that squishes any real number into a range between 0 and 1. This is a very common activation function to use as the last layer of binary class
jbencook
How to use the PyTorch sigmoid operation - jbencook
The PyTorch sigmoid function is an element-wise operation. You can apply it with the torch.sigmoid() function or the torch.nn.Sigmoid() class.
Python Software Foundation: The 2021 Python Language Summit
Link: http://feedproxy.google.com/~r/PythonSoftwareFoundationNews/~3/_-8J6H4Mr-o/the-2021-python-language-summit.html
Every year, a small group of core developers from Python implementations such as CPython, PyPy, Jython, and more come together to share information, discuss problems, and seek consensus in order to he
Link: http://feedproxy.google.com/~r/PythonSoftwareFoundationNews/~3/_-8J6H4Mr-o/the-2021-python-language-summit.html
Every year, a small group of core developers from Python implementations such as CPython, PyPy, Jython, and more come together to share information, discuss problems, and seek consensus in order to he
Blogspot
The 2021 Python Language Summit
Every year, a small group of core developers from Python implementations such as CPython, PyPy, Jython, and more come together to share info...
AI Pool: Understanding Autoencoders - An Unsupervised Learning approach
Link: https://ai-pool.com/a/s/understanding-autoencoders---an-unsupervised-learning-approach
This article covers the concept of Autoencoders. Concepts like What are Autoencoders, Architecture of an Autoencoder, and intuition behind the training of Autoencoders.
Link: https://ai-pool.com/a/s/understanding-autoencoders---an-unsupervised-learning-approach
This article covers the concept of Autoencoders. Concepts like What are Autoencoders, Architecture of an Autoencoder, and intuition behind the training of Autoencoders.
Ai-Pool
Understanding Autoencoders - An Unsupervised Learning approach
This article covers the concept of Autoencoders. Concepts like What are Autoencoders, Architecture of an Autoencoder, and intuition behind the training of Autoencoders.
Python Software Foundation: The 2021 Python Language Summit: Welcome, Introductions, Guidelines
Link: http://feedproxy.google.com/~r/PythonSoftwareFoundationNews/~3/d6dgSmSBl6M/the-2021-python-language-summit-welcome.html
As attendees slowly filtered into the virtual event leading up to the official start time, they were clearly happy to see each other and have the chance to get together virtually even though PyCon US
Link: http://feedproxy.google.com/~r/PythonSoftwareFoundationNews/~3/d6dgSmSBl6M/the-2021-python-language-summit-welcome.html
As attendees slowly filtered into the virtual event leading up to the official start time, they were clearly happy to see each other and have the chance to get together virtually even though PyCon US
Blogspot
The 2021 Python Language Summit: Welcome, Introductions, Guidelines
As attendees slowly filtered into the virtual event leading up to the official start time, they were clearly happy to see each other and hav...
Test and Code: 153: Playwright for Python: end to end testing of web apps - Ryan Howard
Link: https://testandcode.com/153
Playwright is an end to end automated testing framework for web apps with Python support and even a pytest plugin.Special Guest: Ryan Howard.Sponsored By:PyCharm Professional: Try PyCharm Pro for 4 mo
Link: https://testandcode.com/153
Playwright is an end to end automated testing framework for web apps with Python support and even a pytest plugin.Special Guest: Ryan Howard.Sponsored By:PyCharm Professional: Try PyCharm Pro for 4 mo
Test & Code : Python Testing
Test & Code : Python Testing 153: Playwright for Python: end to end testing of web apps - Ryan Howard
Playwright is an end to end automated testing framework for web apps with Python support and even a pytest plugin.
Nicola Iarocci: Flask 2.0
Link: https://nicolaiarocci.com/flask-2.0/
Flask 2.0 has just been released. Along with it come many other major satellite releases: Werkzeug 2.0, Jinja 3.0, Click 8.0, ItsDangerous 2.0, and MarkupSafe 2.0.
Across all projects, Python 3.6+ is
Link: https://nicolaiarocci.com/flask-2.0/
Flask 2.0 has just been released. Along with it come many other major satellite releases: Werkzeug 2.0, Jinja 3.0, Click 8.0, ItsDangerous 2.0, and MarkupSafe 2.0.
Across all projects, Python 3.6+ is
Nicola Iarocci
Flask 2.0
Flask 2.0 has just been released. Along with it come many other major satellite releases: Werkzeug 2.0, Jinja 3.0, Click 8.0, ItsDangerous 2.0, and MarkupSafe 2
Real Python: The Real Python Podcast – Episode #60: Building a Platform Game With Arcade and Covering Python News Monthly
Link: https://realpython.com/podcasts/rpp/60/
Did you know the Python Software Foundation is hiring! With the recent support of three Visionary Sponsors, the PSF has been able to open positions for a developer-in-residence and a Python packaging
Link: https://realpython.com/podcasts/rpp/60/
Did you know the Python Software Foundation is hiring! With the recent support of three Visionary Sponsors, the PSF has been able to open positions for a developer-in-residence and a Python packaging
Realpython
Episode #60: Building a Platform Game With Arcade and Covering Python News Monthly – The Real Python Podcast
Did you know the Python Software Foundation is hiring! With the recent support of three Visionary Sponsors, the PSF has been able to open positions for a developer-in-residence and a Python packaging project manager. Real Python now has a monthly Python news…
Django Weblog: Django 4.x Technical Board Election Results
Link: https://www.djangoproject.com/weblog/2021/may/14/django-4x-technical-board-election-results/
The Technical Board for the Django 4.x release cycle will be
Andrew Godwin
Florian Apolloner
Simon Charette
Adam Johnson
Thomas Forbes
Congratulations to the new board and a special thank you to dep
Link: https://www.djangoproject.com/weblog/2021/may/14/django-4x-technical-board-election-results/
The Technical Board for the Django 4.x release cycle will be
Andrew Godwin
Florian Apolloner
Simon Charette
Adam Johnson
Thomas Forbes
Congratulations to the new board and a special thank you to dep
Thomas Guest: Tripped up by Rstrip
Link: http://wordaligned.org/articles/tripped-up-by-rstrip
Here’s a simple function which is supposed to strip any ".jpg" extension
from a file name.
def photo_name(photo_file):
"Return the name of the photo"
return photo_file.rstrip('.jpg')
assert
Link: http://wordaligned.org/articles/tripped-up-by-rstrip
Here’s a simple function which is supposed to strip any ".jpg" extension
from a file name.
def photo_name(photo_file):
"Return the name of the photo"
return photo_file.rstrip('.jpg')
assert
wordaligned.org
Tripped up by Rstrip
A Word Aligned article posted 2021-05-14, tagged Python.
Talk Python to Me: #316 Flask 2.0
Link: https://talkpython.fm/episodes/show/316/flask-2.0
Flask is one of the most popular Python web frameworks. And they have huge news to share with us. Flask 2.0 just released after a ton of work. And it's as big of a deal as the version number suggests.
Link: https://talkpython.fm/episodes/show/316/flask-2.0
Flask is one of the most popular Python web frameworks. And they have huge news to share with us. Flask 2.0 just released after a ton of work. And it's as big of a deal as the version number suggests.
talkpython.fm
Flask 2.0
Flask is one of the most popular Python web frameworks. And they have huge news to share with us. Flask 2.0 just released after a ton of work. And it's as big of a deal as the version number suggests. Async changes are coming, Python 3.5 and below (including…
Peter Bengtsson: The correct way to index data into Elasticsearch with (Python) elasticsearch-dsl
Link: https://www.peterbe.com/plog/index-data-into-elasticsearch-dsl
A summary of best practices for indexing into Elasticsearch with Python elasticsearch-dsl using aliases.
Link: https://www.peterbe.com/plog/index-data-into-elasticsearch-dsl
A summary of best practices for indexing into Elasticsearch with Python elasticsearch-dsl using aliases.
Peterbe
The correct way to index data into Elasticsearch with (Python) elasticsearch-dsl - Peterbe.com
A summary of best practices for indexing into Elasticsearch with Python elasticsearch-dsl using aliases.
Python Pool: Moving Average Python | Tool for Time Series data
Link: https://www.pythonpool.com/moving-average-python/?utm_source=rss&utm_medium=rss&utm_campaign=moving-average-python
Moving Average in Python is a convenient tool that helps smooth out our data based on variations. In sectors such as science, economics, and finance, Moving Average is widely used in Python. In a laym
Link: https://www.pythonpool.com/moving-average-python/?utm_source=rss&utm_medium=rss&utm_campaign=moving-average-python
Moving Average in Python is a convenient tool that helps smooth out our data based on variations. In sectors such as science, economics, and finance, Moving Average is widely used in Python. In a laym
Python Pool
Moving Average Python | Tool for Time Series data
Moving Average in Python is a convenient tool that helps smooth out our data based on variations. In sectors such as science, economics, and finance,