__init.py__ files are optional. Here’s why you should still use them and more
Combinatoric iterators from itertools, SSH Scripting with Fabric and Python with some more interesting articles and packages
Articles
init.py files are optional. Here’s why you should still use them
Since Version 3.3, Python automatically creates "Namespace Packages" in many cases, so you don't always need an __init__.py file. However, it's still helpful to have one. In this article, Arie Bovenberg explained why it helps. It helps show which folders are packages and ensures tools like Mypy work properly.
# Arie Bovenberg
Combinatoric iterators from itertools
The itertools module is a great one, similar to collections and it has many useful tools. In this article, Juha-Matti Santala explained Combinatoric iterators like product, permutations, combinations, and combinations with replacements. Looking at the examples in the article will help you understand them better.
# Juha-Matti Santala
SSH Scripting with Fabric and Python
Fabric is a Python package that makes it easy to run shell commands on remote servers over SSH and return useful Python objects. In this article, Mike Driscoll shared a few examples of how to connect to a server, run commands and transfer files.
# Mike Driscoll
Talks from PyData Amsterdam 2024
PyData has uploaded the talks from PyData Amsterdam 2024 to YouTube.
# PyData
The Difference Between Python Libraries, Modules, and Packages
We often use the terms module, package and library, but do you know the difference? I partly do. In this article, the author explained the differences between them with examples.
# C. C. Python Programming
Interesting Packages and Projects to explore
Diffrax - Numerical differential equation solvers in JAX. Auto Differentiable and GPU-capable.
Terminal Text Effects - Visual effects applied to text in the terminal.
Loguru - Python logging made (stupidly) simple
About Upcoming Python Events
PyCon FR 2024
Oct 31 – Nov 3, 2024
PyCon Zimbabwe 2024
Oct 31 – Nov 2, 2024