Quantcast
Channel: Planet Python
Browsing all 22462 articles
Browse latest View live

Emmanuel Leblond: MongoDB at the EuroPython and a new sync/async ODM: μMongo

Coming back from the EuroPython where I could share feelings about the MongoDB ODMs in Python. I've learned few things there:People only talk about MongoengineMongoengine is the most well known ODM out...

View Article


Image may be NSFW.
Clik here to view.

Alexey Evseev: Django: signal or model method?

When I needed to implement some functionality on model saving, I always asked a question to myself - where to place it. In signal or in model method save()? Let's see, what and when is more...

View Article


Hynek Schlawack: Please Fix Your Decorators

If your Python decorator unintentionally changes the signatures of my callables or doesn’t work with class methods, it’s broken and should be fixed. Sadly most decorators are broken because the web is...

View Article

Mike Driscoll: PyDev of the Week: Cory Benfield

This week we welcome Cory Benfield (@lukasaoz) as our PyDev of the Week! Cory is a core developer of the Python language, specifically on urllib3 as well as a core developer of the requests package. He...

View Article

Image may be NSFW.
Clik here to view.

Doug Hellmann: enum – Enumeration Type — PyMOTW 3

The enum module defines an enumeration type with iteration and comparison capabilities. It can be used to create well-defined symbols for values, instead of using literal integer or strings. Read more…...

View Article


PyCon Australia: PyConAU 2016 sells out!

We are thrilled to announce that PyCon Australia 2016 has SOLD OUT!Not in the bad way, of course -- we still have our principles, that beautiful is better than ugly, and explicit is better than...

View Article

Django Weblog: Django 1.10 released

The Django team is happy to announce the release of Django 1.10.As always, the release notes cover the panoply of new features in detail, but a few highlights are:Full text search for...

View Article

Image may be NSFW.
Clik here to view.

Continuum Analytics News: Powering Down the Anaconda Build CI System

Developer BlogPostedMonday, August 1, 2016Stephen Kearns Continuum AnalyticsAnacondaCloud_stacked_RGB.pngWe are reaching out to our committed base of Anaconda Cloud users to let you know we’ve made the...

View Article


Image may be NSFW.
Clik here to view.

Python Software Foundation: "Avoiding the Curse of Knowledge": Community...

Ned Batchelder didn't mean to get himself nominated for an award. He'd simply encouraged his Twitter followers to "nominate someone who made a difference for a PSF Community Service Award." A friend...

View Article


Mike C. Fletcher: PyCon Canada running Nov 12-15th 2016

PyCon Canada is going to happen in downtown Toronto. The conference is Nov 12-13th and then two days of sprints. The call for proposals is up and you have until the end of August to get your...

View Article

Mike Driscoll: Python 201: A multiprocessing tutorial

The multiprocessing module was added to Python in version 2.6. It was originally defined in PEP 371 by Jesse Noller and Richard Oudkerk. The multiprocessing module allows you to spawn processes in much...

View Article

Peter Bengtsson: json-schema-reducer

Last week I made a little library called json-schema-reducer. It's a simple function that takes a JSON Schema and dict (or a JSON string or a .json file path), and makes a new dict that only contains...

View Article

Image may be NSFW.
Clik here to view.

Doug Hellmann: How OpenStack Makes Python Better, and Vice-Versa

I’ve been a Python developer since the late 1990s and came to the OpenStack project from that long background within the rest of the community. Thierry Carrez is on the staff of the OpenStack...

View Article


Image may be NSFW.
Clik here to view.

Davy Wybiral: Web scanning / weird HTTP headers

So there I was, scanning the web with a little Python script, looking for servers and other connected devices (you know, typical Tuesday night stuff) when I found a response that had an HTTP header...

View Article

Image may be NSFW.
Clik here to view.

Simon: udatetime now with ultra fast PyPy support

I just finished the performance optimized pure Python implementation of my RFC3339 date-time library udatetime for PyPy and Python 3.5. The benchmark say PyPy is now officially the fastest with...

View Article


Image may be NSFW.
Clik here to view.

Morphex's Blogologue: Fixing up an old blog, transparent PNG embedded in...

So I've been fixing up on my blog lately, adding some iframe and javascript code, as well as backend code, to make it play my playlist from SoundCloud automatically.This blog is running on Zope 2, and...

View Article

Andrew Dalke: Reading ASCII file in Python3.5 is 2-3x faster as bytes than...

I'm porting chemfp from Python2 to Python3. I read a lot of ASCII files. I'm trying to figure out if it's better to read them as binary bytes or as text strings. No matter how I tweak Python3's open()...

View Article


Mike Driscoll: Python 3 Concurrency – The concurrent.futures Module

The concurrent.futures module was added in Python 3.2. According to the Python documentation it provides the developer with a high-level interface for asynchronously executing callables. Basically...

View Article

Image may be NSFW.
Clik here to view.

PyCharm: PyCharm 2016.2.1 RC is available

Today we announce the release candidate build of PyCharm 2016.2.1. The list of bug fixes and improvements for this build can be found here.Some notable highlights of the PyCharm 2016.2.1 build 162.1628...

View Article

Robin Wilson: ‘Got multiple values for argument’ error with keyword arguments...

This is a quick post to brief describe a problem I ran into the other day when trying to debug someone’s code – the answer may be entirely obvious to you, but it took me a while to work out, so I...

View Article
Browsing all 22462 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>