The Django project is excited to announce that after many years, we're launching a redesign of our primary website. Have a look.
Often developers get caught up in discussions about scaling their applications before one line of code has even been written. Of course its helpful to keep the scalability of an application in mind.
This article is about making life easier for Python developers while grinning at trolls.
Susan is a software engineer at Piston, a cloud computing startup located in San Francisco. She likes to use Python-based web frameworks. Prior to Piston, she was a web applications engineer at Flixster with Rotten Tomatoes. She’s a core committer of a Django-based web application project at www.openhatch.org.
Without argument, one of the most common used data model is JSON. There are two popular packages used for handling json?—?first is the stock json package that comes with default installation of Python, the other one is simplejson which is an optimized and maintained package for Python. The goal of this blog post is to introduce ultrajson or Ultra JSON, a JSON library written mostly in C and built to be extremely fast.
In this post we will learn how to use the ast module to extract docstrings from Python files. What is ast? Simply put, ast is a module present in the standard library that can parse Python syntax. Its whole purpose is to read Python code and to break it down into its syntactic components.
Mocking is a technique to temporarily replace real parts of our code with fake, simpler parts, so that we can check that the rest of the parts are working as we intend. Here we'll consider some simple use cases for mocking in Python tests, and try to show how this extremely useful technique can make us better at testing.
The available packages are pylint, pyflakes, pep8, and pep257. I know I want the stylistic guides, so pep8 and pep257 seem good, but some of the functionality seems to be included in the other linters.
Mochi is a dynamically typed programming language for functional programming and actor-style programming.
Its interpreter is written in Python3. The interpreter translates a program written in Mochi to Python3's AST / bytecode.
To get there, it helps to be really clear on the concurrency primitives modern operating systems give Python to work with. Understanding that will not only make you a better programmer in Python, it will make you a better developer in every language for the rest of your life.
It's quite possible that you will know some or even many of these tips already, but unlikely that you won't learn at least something useful. We're constantly surprised by the number of geeks out there who aren't aware of a particular tip or trick, despite a wealth of tribal and online information.
qutebrowser is a keyboard-focused browser with with a minimal GUI. It’s based on Python, PyQt5 and QtWebKit and free software, licensed under the GPL.
It was inspired by other browsers/addons like dwb and Vimperator/Pentadactyl.
Dshell is a network forensic analysis framework.
Easily use Quill.js in your django admin. Quill is a free, open source WYSIWYG editor built for the modern web. With its extensible architecture and a expressive API you can completely customize it to fulfill your needs.
Encode data in your images. My small hobby python project to test an algorithm idea I've had once about how one can encode arbitrary data in an image without changing it visually too much.
Domain Specific Language in Python for Elasticsearch
A simple Ansible playbook for DigitalOcean