| PEP 584: Adding + and - Operators to the Built-In Dict Class |
This PEP suggests adding merge
+ and difference
- operators to the built-in dict class. The merge operator will have the same relationship to the dict.update method as the list concatenation operator has to list.extend, with dict difference being defined analogously. I think this is a pretty cool feature suggestion. Related discussion here.
Refactoring Python Applications for Simplicity
In this step-by-step tutorial, you’ll learn how to refactor your Python application to be simpler and more maintainable and have fewer bugs. You’ll cover code metrics, refactoring tools, and common anti-patterns.
Become a Python Guru With PyCharm
PyCharm is the Python IDE for Professional Developers by JetBrains providing a complete set of tools for productive Python, Web and scientific development. Be more productive and save time while PyCharm takes care of the routine.
Managing Elasticsearch in Django
A small tutorial on how to manage Elasticsearch efficiently in a Django project. It uses
elasticsearch-dsl as an ORM and a custom management system similar to django-haystack (which uses outdated ES).
HARSH BHIMJYANI • Shared by Harsh Bhimjyani
pydis: A Redis Clone in Python 3 to Disprove Some Falsehoods About Performance
An experiment to disprove some of the falsehoods about performance and optimisation regarding software and interpreted languages in particular. In short, this is a Redis clone, written in < 250 lines of idiomatic Python code, providing a subset of Redis’ functionality for which there are official benchmarks. Pydis is ~60% as fast as the compiled C version of Redis, as measured in number of operations per second.
Python Bytes Episode 119 Recorded at PyCascades in Seattle
Together with Trey Hunner and Eric Chou, I was a guest on Mike and Brian’s excellent Python Bytes podcast. We recorded this episode “live” and together in the same room at the PyCascades conference in Seattle.
PYTHON BYTES podcast
EditorConfig: Maintain Consistent Coding Styles Between Different Editors and IDEs
This is super handy if you’re switching between editors or if you want to make sure your team uses the same indentation settings no matter which editor each developer uses.
Python Multiprocessing: Understanding Logic Behind
An amazing, thorough, readable answer on Stack Overflow about the
STACK OVERFLOW • Shared by Christian Long
Useful Python Tricks
“What are some cool uses for Python for maybe younger people or just people without office jobs in general?”
from mylibrary import * 😉
Brought to you by Indeed Primesponsor
Apply today to see what job opportunities are waiting for you!
Sr Enterprise Python Developer
KOGNITIV 📍 TORONTO, CANADA
Senior Systems Engineer
PRETECKT 📍 HAMILTON, CANADA
Python Web Developer
PREMIERE DIGITAL SERVICES 📍 REMOTE
L2T, LLC 📍 HERNDON, VA
Tech Lead / Senior Software Engineer
INDEED.COM INCUBATOR 📍 SEATTLE, WA
Python Software Engineer
POLE STAR SPACE APPLICATIONS LTD. 📍 LONDON, UK
Senior Engineer Python
DEEP IMPACT AG 📍 WINTERTHUR, SWITZERLAND
Python Software Engineer
WOOGA 📍 BERLIN, GERMANY
Computer Science Teacher
ARTCENTER COLLEGE OF DESIGN 📍 PASADENA, CA
Senior Python Engineer
15FIVE 📍 NEW YORK, NY
CHARON TECHNOLOGIES 📍 HERNDON, VA
Web UI Developer
CHARON TECHNOLOGIES 📍 HERNDON, VA
More Python Jobs >>>
Articles & Tutorials
Traditional Face Detection With Python
In this article on face detection with Python, you’ll learn about a historically important algorithm for object detection that can be successfully applied to finding the location of a human face within an image.
How to Write a Python Web Framework—Part III
The third post of the series where you’ll be writing our own Python framework just like Flask and Django.
Take ActiveState’s Dev Survey for a Chance to Win a Lego Star Wars TIE Fighter
We want to know your pain points building & programming open source languages. We’ve got 3 cool prizes too. Click to speed through this ~7min survey →
Python Quirks: Implicit Return
Python functions always have to return something, right? Well, it’s complicated…
Python in VS Code Adds a New Test Explorer With Auto-Discovery
Pretty cool: This release includes the ability to visualize, navigate and run unit tests through a visual test explorer. Supports unittest, pytest and nose.
Python Security Best Practices Cheat Sheet
Covers some best practices for securely using Python.
Bleach: Stepping Down as Maintainer
Bleach is a Python library for sanitizing and linkifying text from untrusted sources for safe usage in HTML. In this post the author explains why he’s stepping down as a maintainer for the library and gives a retrospective on OSS project maintenance.
Contributing to Classiness (In Django)
contribute_to_class() is an undocumented part of the ORM’s internal API that allows you to attach to/hook into a model.
Understanding Python Slices
“Slices are both common and convenient ways to extract portions of Python data structures — usually with builtin objects, but also on your own. Once you get used to slices, you’ll see lots of uses for them, and wonder how you got along without them.”
REUVEN M. LERNER • Shared by Reuven M. Lerner
Revisiting PEP 394: The “python” Command on Unix-Like Systems
With the uptake of Python 3 (and the imminent end of life for Python 2.7), there is a question of which version of Python a user should get when they type “python” at the command line or have it as part of a shebang (“#!”) line in a script.
My Involvement in the Python/Django Community
Paolo is an open-source contributor to Django. In this article he talks about his involvement in the Python community, how he got started using Python in the first place, and how he ended up contributing to the Django web framework.
Hosting Private Pip Packages Using Azure Artifacts
Marry science code with operations? How to organize your Python code as private Pip package with Azure Artifacts and integrate it using modified virtual environments.
Projects & Code
subsync: Automagically Synchronize Subtitles With Video
Python-Prolog-Interpreter: Mini-Prolog Interpreter Written in Python 3
Hy: A Lisp Dialect Embedded in Python
accessify: Python Class Members Accessibility Levels (Private, Protected)
automat: Self-Service Finite-State Machines for the Programmer on the Go
codebraid: Live Code in Pandoc Markdown (Python, Julia, Rust, R)
GITHUB.COM/GPOORE • Shared by Geoffrey Poore
lazynlp: Scrape and Clean Web Pages to Create Massive Monolingual Datasets
pygram11: Simple and Fast Histogramming in Python via Pybind11 (C++ Interop) and OpenMP
pytest-azurepipelines: Formatting PyTest Output for Azure Pipelines UI