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

Image may be NSFW.
Clik here to view.

Eli Bendersky: gRPC sample in C++ and Python

Almost exactly five years ago I posted a code sample of using the Protocol Buffers library for client-server communication. Even though protobufs are very convenient for serializing/deserializing data...

View Article


Will McGugan: Test multiple user accounts without logging out

Have you ever needed to test multiple user accounts in your web app?If you need to check your permissions are working correctly, you might find you are constantly switching users by logging in and...

View Article


Investing using Python: Hidden Markov Models factors in pictures (sample...

Hidden Markov Models are generative, probabilistic models, in which a sequences of visible variables are generated by some unknown ("hidden") states. In other words, we'll try to find some unknown...

View Article

Image may be NSFW.
Clik here to view.

A. Jesse Jiryu Davis: How To Play Foul With getaddrinfo()

I'm the referee for a road rally. You have to drive from New York to San Francisco in 48 hours, but—here's the catch—I'm going to start my stopwatch before you can look at the map. Worse, there are...

View Article

Image may be NSFW.
Clik here to view.

EuroPython: EuroPython 2016: Talk voting is open

We have more than 280 great proposals for talks and training sessions ready for EuroPython 2016 attendees to vote on.Please note that you have to have a ticket for EuroPython 2016, or have submitted a...

View Article


David MacIver: Augmenting shrinkers by inducing regular languages

This is an idea I’m playing with at the moment. I haven’t yet determined if it’s a good idea. My current belief is that it’s one of those ideas in the category of “Clever idea, could work, but too slow...

View Article

Nicola Iarocci: Eve REST API Framework v0.6.2 is out

Today I released Eve 0.6.2. It includes many fixes and improvements over the previous releases. Areas addressed are CORS management, soft deletes, token authentication, oplog, data validation, and...

View Article

Image may be NSFW.
Clik here to view.

Reuven Lerner: Free Webinar: Regexp Q&A

To celebrate the publication of my new ebook, Practice Makes Regexp, my upcoming Webinar (on March 22nd) is all about regular expressions (“regexps”) in Python, Ruby, JavaScript, and PostgreSQL, as...

View Article


Image may be NSFW.
Clik here to view.

Mike Driscoll: PyDev of the Week: Hynek Schlawack

This week we welcome Hynek Schlawack (@hynek) as our PyDev of the Week! Hynek is an avid member of the Python community and a fellow of the Python Software Foundation. He has contributed to many...

View Article


Image may be NSFW.
Clik here to view.

Doug Hellmann: abc — Abstract Base Classes — PyMOTW 3

Abstract base classes are a form of interface checking more strict than individual hasattr() checks for particular methods. By defining an abstract base class, a common API can be established for a set...

View Article

Image may be NSFW.
Clik here to view.

François Dion: The date is the title...

J. Venn - Logic of ChanceTurtle Graphics?The above, looks suspiciously like a printout from my first session with Apple Logo (the language, not the branding), before I figured the command for "pen...

View Article

PythonClub - A Brazilian collaborative blog about Python: TDD com Python e Flask

Baseado na palestra que ofereci no encontro do Grupy-SP, em 12 de março de 2016. O código dessa atividade está disponível no meu GitHub.A ideia desse exercício é introduzir a ideia de test driven...

View Article

Python Engineering at Microsoft: Idiomatic Python: comprehensions

We’re lucky to have a few people on our team who have been programming in Python for quite a while (I myself have been using the language now for over 15 years). Over the course of time we have picked...

View Article


Investing using Python: Bayes theorem in simple words and Bayesian expected...

Problem with expected return, most often referred as or for geometric returns is that we never can be sure our belief about average return would perform as well in the future. Most often they don't....

View Article

Mike Driscoll: Python Most Popular For 5 Years Straight on CodeEval

I noticed that CodeEval put out a post that Python is their most popular programming language for 5 years in a row! Admittedly, their Python usage has dropped 14% while others have gained, but Python...

View Article


Image may be NSFW.
Clik here to view.

PyCon: Call for PyCon Charity Auction Donations

By Jackie KazilOne of the privileges of becoming a PyCon sponsor is that you have the chance to contribute to one of the most creative events at the conference — the PyCon charity auction! Contributing...

View Article

Image may be NSFW.
Clik here to view.

Vasudev Ram: Unix split command in Python

By Vasudev RamRecently, there was an HN thread about the implementation (not just use) of text editors. Someone mentioned that some editors, including vim, have problems opening large files. Various...

View Article


Image may be NSFW.
Clik here to view.

Twisted Matrix Labs: Twisted 16.0 Released

On behalf of Twisted Matrix Laboratories, I am honoured to announce the release of Twisted 16.0!Twisted 16.0 brings some important changes, and some nice-to-haves as well. The major things are:TLS...

View Article

Talk Python to Me: #50 Web scraping at scale with Scrapy and ScrapingHub

What do you do when you are working with an amazing web application that, for whatever reason, doesn't have an API? One option is to say I wish that site had an API and give up. Or, you could use...

View Article

S. Lott: PacktPub Looking For Python Projects

Do you have a good project? Do you want to write?The acquisition folks at Packt are looking for this:"... demonstrate 4-5 projects over the course of the chapters in order to demonstrate how to build...

View Article
Browsing all 22462 articles
Browse latest View live