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

Vladimir Iakolev: py.test plugin for functional testing with Docker

It's very useful to run functional tests in a clean environment, like a fresh Docker container, and I wrote about this before, and now it was formalized in a simple py.test plugin —...

View Article


Image may be NSFW.
Clik here to view.

PyPy Development: PyPy warmup improvements

Hello everyone!I'm very pleased to announce that we've just managed to merge the optresult branch. Under this cryptic name is the biggest JIT refactoring we've done in a couple years, mostly focused on...

View Article


Wesley Chun: Creating events in Google Calendar from Python

NOTE: The code covered in this blogpost is also available in a video walkthrough here. IntroductionSo far in this series of blogposts covering authorized Google APIs, we've used Python code to access...

View Article

Peter Bengtsson: Be careful with using dict() to create a copy

Everyone who's done Python for a while soon learns that dicts are mutable. I.e. that they can change. One way of "forking" a dictionary into two different ones is to create a new dictionary object with...

View Article

Django Weblog: New options for donating to the DSF

Earlier this year, the DSF launched a fundraising campaign to help pay for the Django Fellowship. That campaign was extremely successful, hitting the fundraising target in just six days.However, we...

View Article


Image may be NSFW.
Clik here to view.

Carl Chenet: Retweet 0.3: retweet given tweet popularity

Follow me on Identi.ca  or Twitter  or Diaspora* Don’t know Retweet? My last post about it introduced this small Twitter bot whichs aims to retweet every tweets from a Twitter account to another one....

View Article

Leonardo Giordani: A simple example of Python OOP development (with TDD) -...

In the first part of this small series I introduced you to TDD with Python by means of the powerful py.test package. We developed together a simple library which provides a Binary class that is a bit...

View Article

Peter Bengtsson: peepin - a great companion to peep

I actually wrote peepin several months ago but forgot to blog about it. It's a great library that accompanies peep which is a wrapper on top ofpip. Actually, it's for pip install. When you normally do...

View Article


Doing Math with Python: Chapter code and Errata

You can find the chapter programs and snippets linked from the programs page. They should be free from any error mentioned on the errata) page.Stay in touchYou can stay connected with the book, its...

View Article


Omaha Python Users Group: September 16 Meeting Details

Topic/Speaker – Getting a Django Project Started / Keith NickumLocation – Alley Poyner Macchietto Architecture Office in the Tip Top Building at 1516 Cuming Street.Meeting starts at 6:30 pm, Wednesday,...

View Article

Image may be NSFW.
Clik here to view.

Ruslan Spivak: Let’s Build A Simple Interpreter. Part 4.

Have you been passively learning the material in these articles or have you been actively practicing it? I hope you’ve been actively practicing it. I really do :) Remember what Confucius said?“I hear...

View Article

Image may be NSFW.
Clik here to view.

Codementor: Building Data Products with Python: A Wine Review Website using...

IntroductionWith this tutorial, we start a series of tutorials about how to build data products with Python. As a leitmotif we want to build a web-based wine reviews and recommendations website using...

View Article

Talk Python to Me: #24 Fluent Python

Are you fluent in Python or do you speak the language with an accent? Maybe you have a hint of C++ in your for-in loop or even a little C# coming through in your function names....

View Article


Brian Okken: Test Fixtures: Setup, Teardown, and so much more (PT004)

Setup and Teardown Benefits of Test Fixtures code reuse cleanup of resources errors vs failures focusing your thinking on what you are testing and what you are not scoping for efficiency Brief look at...

View Article

Python Piedmont Triad User Group: Coming to our senses for Project Night...

Raspberry Pi Sense Hat, that is.Continuing the UAV quadcopter project. We have an assembled frame, one frame ready to be assembled, we have micro sd cards ready to be flashed with different distros (we...

View Article


Glyph Lefkowitz: Software You Can Use

Python has a big problem. While it’s easy and fun to produce software in Python, it’s hard to produce software that people - especially laypeople who are not professional software developers - can...

View Article

Image may be NSFW.
Clik here to view.

Daniel Greenfeld: Titlecasing Markdown Headers with Python

Recently I've been writing a lot of Markdown. While not as sophisticated as ReStructuredText, it's simplicity is nice for accelerated writing. The problem is that I like to put section headings in...

View Article


Image may be NSFW.
Clik here to view.

BangPypers: September 2015 workshop report

The September BangPypers workshop happened at the Akamai Technologies office near Bellandur.The workshop was an introduction to data analysis. The presenters were Bargav and Amith...

View Article

Image may be NSFW.
Clik here to view.

Glyph Lefkowitz: Connecting To A Server On The Internet [Nightmare Difficulty]

The SetupI recently switched internet service providers, from Comcast to WebPass. Comcast had been progressively upgrading our connection, and I honestly didn’t have any complaints, but WebPass is four...

View Article

Image may be NSFW.
Clik here to view.

Codementor: Building a Movie Recommendation Service with Apache Spark &...

This Apache Spark tutorial goes into detail into how to use Spark machine learning models, or even another kind of data analytics objects, within a web service. This open the door to on-line...

View Article
Browsing all 22462 articles
Browse latest View live


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