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

Andrew Dalke: Fun with SMILES I: Does an element exist?

I first learned about SMILES in 1998, when I went to work for Bioreason and used the Daylight toolkit as part of a system to apply machine learning methods to high-throughput screening. Yet even after...

View Article


Image may be NSFW.
Clik here to view.

Python Software Foundation: "A Genuinely Nice Chap": Community Service Award...

"We wouldn't have Python on the micro:bit if he hadn't made it work, to put it simply," Nicholas Tollervey says. He's talking about Damien George, the physicist and engineer behind MicroPython, the...

View Article


Image may be NSFW.
Clik here to view.

Mike Driscoll: PyDev of the Week: Ezio Melotti

This week we welcome Ezio Melotti as our PyDev of the Week! Ezio is a core developer of the Python language. You can get an idea of what he’s been up to via his bitbucket page. Let’s take a few moments...

View Article

Image may be NSFW.
Clik here to view.

Doug Hellmann: hashlib — Cryptographic Hashing — PyMOTW 3

The hashlib module defines an API for accessing different cryptographic hashing algorithms. To work with a specific hash algorithm, use the appropriate constructor function or new() to create a hash...

View Article

Image may be NSFW.
Clik here to view.

Real Python: Python Virtual Environments - a primer

In this article, we’ll show how to use virtual environments to create and manage separate environments for your Python projects, each using different versions of Python for execution, as well as how...

View Article


Image may be NSFW.
Clik here to view.

Automating OSINT: When People Sleep: Determine Facebook Activity Using Google...

It is always an interesting question and one that was posed over on the IntelTechniques.com forums. How can you tell what hour of the day people are most active on Facebook? There are tools out there...

View Article

Vasudev Ram: Python one-liner to compare two files (conditions apply)

By Vasudev RamIn my previous post a couple of days back:A basic file compare utility in PythonI said that it was possible to write a shorter version of this program, subject to certain limitations.You...

View Article

Stefan Behnel: What's new in Cython 0.24

Cython 0.24 has now entered the beta phase with lots of testing already done, which means that there will be a final release (hopefully) in a couple of days. Time for a writeup of the most interesting...

View Article


Abu Ashraf Masnun: Python: A quick introduction to the concurrent.futures module

The concurrent.futures module is part of the standard library which provides a high level API for launching async tasks. We will discuss and go through code samples for the common usages of this...

View Article


Talk Python to Me: #52 EVE Online: MMO game powered by Python

Have you ever played a massively multiplayer online game? My first experience with these types of games with text-based role playing games called MUDs back in the early 90's. Well, things have come a...

View Article

Python Engineering at Microsoft: Azure Python SDK 2.0.0rc2 is out! Why it’s a...

My name is Laurent and I recently moved from France to join the Python team at Microsoft. Along with the rest of our team, I am responsible for maintaining the Azure Python SDK, and we are glad to...

View Article

David MacIver: Optimal gerrymandering with Z3

Edit to add: See next post for why this was a silly thing to do.As some of you might recall from before I spent a year writing about Hypothesis, one of my other interests is voting theory. I may be...

View Article

Brett Cannon: Why pathlib.Path doesn't inherit from str in Python

Over on python-ideas a discussion has broken out about somehow trying to make p'/some/path/to/a/file return an instance of pathlib.Path. This led to a splinter discussion as to why pathlib.Path doesn't...

View Article


Image may be NSFW.
Clik here to view.

Daniel Bader: Catching bogus Python asserts on CI

Catching bogus Python asserts on CIIt’s easy to accidentally write Python assert statements that always evaluate to true. Here’s how to avoid this mistake and catch bad assertions as part of your...

View Article

Mike Driscoll: Python 201 – What is a ChainMap?

A ChainMap is a class from the collections module that provides the ability to link multiple mappings together such that they end up being a single unit. If you look at the documentation, you will...

View Article


David MacIver: Gerrymandering take two

So yesterday I wrote about how you can use Z3 to solve Gerrymandering. I was unimpressed by Z3’s performance so I decided to rewrite it with a MILP solver instead. It took me a while to figure out a...

View Article

Kushal Das: Testing containers using Kubernetes on Tunir version 0.15

Today I have released Tunir 0.l5. This release got a major rewrite of the code, and has many new features. One of them is setting up multiple VM(s) from Tunir itself. We now also have the ability to...

View Article


Brett Cannon: How to pitch Python 3 to management

[This blog post has been sitting as a draft for months, and I'm finally finishing while at home sick; sorry if that makes it a little less coherent compared to my other posts]Over on our Python team at...

View Article

Image may be NSFW.
Clik here to view.

Mike Driscoll: Python 201 Kickstarter Update #3 – Cover Almost Done!

My artist got back to me today with a mostly done cover that I wanted to share with you all:We have 8 days left in the campaign and we’re almost to our stretch goal! Be sure to tell your friends that...

View Article

Obey the Testing Goat: Intermediate TDD workshops in London and Portland

After many successful years of running my beginners' TDD/Django tutorial, I thought it might be time to have a crack at some more intermediate-level topics, so I'm announcing a couple of workshops.the...

View Article
Browsing all 22462 articles
Browse latest View live


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