Planet Python RSS
214 subscribers
17.1K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Stack Abuse: Template Method Design Pattern in Python

Link: https://stackabuse.com/template-method-design-pattern-in-python

Introduction
The software engineering process often reveals to us many redundant elements inside the structure and code of our software. Knowing this, some of the primary responsibilities of a develop
eGenix.com: Python Meeting Düsseldorf - 2021-06-09

Link: https://www.egenix.com/company/news/Python-Meeting-Duesseldorf-2021-06-09

The following text is in German, since we're announcing a regional user group meeting in Düsseldorf, Germany.

Ankündigung
Das Python Meeting Düsseldorf findet dieses Mal online statt.

09.06.2021
18
Real Python: The Real Python Podcast – Episode #63: Create Web Applications Using Only Python With Anvil

Link: https://realpython.com/podcasts/rpp/63/

What if you could create an application and deploy it to the web with just Python? Wouldn't it be nice to skip the additional full-stack development steps of learning three different languages in addi
death and gravity: When to use classes in Python? When your functions take the same arguments

Link: https://death.andgravity.com/same-arguments

Are you having trouble figuring out when to use classes or how to organize them?
Have you repeatedly searched for "when to use classes in Python",
read all the articles and watched all the talks,
and
PyCon: PyCon US 2021 Recordings are complete!

Link: https://pycon.blogspot.com/2021/06/pycon-us-2021-recordings-are-complete.html

The PyCon US 2021 recordings are available on our YouTube channel.  Be sure to subscribe to our channel for notifications of new content. This channel will be used for all future conferences in order
AI Pool: Custom loss in Keras

Link: https://ai-pool.com/d/custom_loss_in_keras

What is the best way of creating a custom loss in Keras ? How is the gradient going to be computed or do I have to provide the gradients also?...
AI Pool: What does logits mean in Tensorflow?

Link: https://ai-pool.com/d/what_does_logits_mean_in_tensorflow_

I'm checking out the loss functions of TensorFlow, and the majority of them have logits as a parameter. What does it mean?...
Weekly Python StackOverflow Report: (cclxxviii) stackoverflow python report

Link: http://python-weekly.blogspot.com/2021/06/cclxxviii-stackoverflow-python-report.html

These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2021-06-05 14:32:08 GMTHow to extract country from a string in python -
Python Software Foundation: The 2021 Python Language Summit: What Should I Work on as a Core Dev?

Link: http://feedproxy.google.com/~r/PythonSoftwareFoundationNews/~3/ntiuibWUuVc/the-2021-python-language-summit-what.html

At the 2021 Python Language Summit, Eric Snow gave a presentation about how core developers can receive guidance to help them work on improvements to the language that will bring the most benefit to t
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
Talk Python to Me: #319: Typosquatting and Supply Chains Vulnerabilities

Link: https://talkpython.fm/episodes/show/319/typosquatting-and-supply-chains-vulnerabilities

One of the true superpowers of Python is the libraries over at the Python Package Index. They are all just a "pip install" away. Yet, like all code that you run on your system, it is done with some de
Python Software Foundation: The 2021 Python Language Summit: Fuzzing and Testing Python With Properties

Link: http://feedproxy.google.com/~r/PythonSoftwareFoundationNews/~3/4JkUDb_sHRc/the-2021-python-language-summit-fuzzing.html

At the 2021 Python Language Summit, Zac Hatfield-Dodds gave a presentation about fuzzing and testing with Python properties. This presentation tied in with the one he gave at the 2020 Python Language
Mike Driscoll: PyDev of the Week: Fernando Masanori

Link: https://www.blog.pythonlibrary.org/2021/06/07/pydev-of-the-week-fernando-masanori/

This week we welcome Fernando Masanori (@fmasanori) as our PyDev of the Week! Fernando is a Professor at FATEC São José dos Campos in Brazil. He is the creator of the first Brazilian MOOC to teach pro
Stack Abuse: Python's itertools – count(), cycle() and chain()

Link: https://stackabuse.com/pythons-itertools-count-cycle-and-chain

Introduction
Python has a lot of built-in tools that allow us to iterate and transform data. A great example is the itertools module, which offers several convenient iteration functions. Each of these
Real Python: Python Community Interview With Sebastián Ramírez

Link: https://realpython.com/interview-sebastian-ramirez/

Today, I’m joined by Sebastián Ramírez, a software developer at Explosion AI. He is also the creator of the popular frameworks FastAPI and Typer. In this interview, we discuss typing in Python, his mo
PyCharm: PyCharm 2021.2 EAP Has Started!

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

Time to try new features and weight in with your active feedback!
We are opening a new cycle of the Early Access Program for those of you eager to try, discuss, and maybe even contribute to new PyChar
Reuven Lerner: Python parameters primer

Link: https://lerner.co.il/2021/06/07/python-parameters-primer/

Python makes it easy to write functions. For example, I can write:
def hello(name):
return f'Hello, {name}!'
I can then run the function with:
hello('world')
which will then, not surprisingly, ret
AI Pool: Dropout can't be converted into tflite

Link: https://ai-pool.com/d/dropout_can_t_be_converted_into_tflite

I'm using Keras 2.1 with TensorFlow backend 1.13. I tried to convert my model into tflite, but found out that dropout layers can't be converted. It does not matter I have Keras dropout or TensorFlow
AI Pool: Keras model to tflite

Link: https://ai-pool.com/d/keras_model_to_tflite

I've got a Keras model in the hdf5 file and wanted to convert it into tflite, but I've got an issue like this model = 'model.h5'
converter = tf.lite.TFLiteConverter.from_keras_model_file(model)
tfl