PYPL‎ > ‎

Python Blog


More Google searches about Python 3 than about Python 2

posted Jan 7, 2014, 1:14 PM by Pierre Carbonnelle   [ updated Jan 7, 2014, 1:19 PM ]

More Google searches about Python 3 than about Python 2

Following the recent blog posts on the presumably low adoption of Python 3, it's good to note that Google receives more search requests on Python 3 than on Python 2 :

In this diagram from Google Trends, Python 3 is in red, Python 2 in blue :





Python is the Language of the Year

posted Jan 1, 2014, 2:53 AM by Pierre Carbonnelle   [ updated Jan 1, 2014, 1:47 PM ]

Python is the Language of the Year

Python is the "language of the year" according to the PYPL index : it had the biggest increase in popularity share in 2013. PHP had the biggest decline. Meanwhile, Java continues to have the highest popularity share among the programming languages.

The PYPL PopularitY of Programming Language Index  is created by analyzing how often language tutorials are searched on Google : the more a specific language tutorial is searched, the more popular the language is assumed to be. It is a leading indicator.  The raw data comes from Google Trends, so that anyone can verify it, or make the analysis for his own country or other languages.  

If you believe in collective wisdom, the PYPL Popularity of Language index can help you decide which language to study, or which one to use in a new software project.  Click on a language in the table below to see the raw data.

 Position Jan 2014
Position
Jan 2013
Delta in positionProgramming languageShare in Jan 2014Twelve month
trends
 11  Java26.2 %  -0.6 %
 22  PHP 13.2 % -1.6 %
 36 Python10.2 %  +1.3 %
 43 C# 9.6 %-0.4 %
54 C++8.9 %-0.0 %
65 C8.1 % -0.2 %
 77
 Javascript 7.6 %+0.3 %
 88
 Objective-C 6.6 %+0.8 %
 99
 Ruby + Rails 5.1 %+0.5 %
 10 10  Visual Basic2.8 % -0.2 %
 © 2014 Pierre Carbonnelle 


Update : the popularity of Ruby has been modified to include searches on rails tutorial

PySonar + Cython = pure-python compiler ?

posted Nov 7, 2013, 10:26 AM by Pierre Carbonnelle   [ updated Nov 7, 2013, 10:32 AM ]

PySonar + Cython = pure-python compiler ?

The recent buzz on PySonar made me think about a possible way to create a pure-python compiler.

The idea would be to statically analyze your pure-python code with PySonar, and to format the result of the analysis into an "augmenting .pxd" file containing the static type definitions that Cython can use for its compilation. You would then compile your .py files with Cython, with the help of the .pxd files, resulting in a fast, efficient executable.  

Wouldn't that be neat ? Is it feasible ? Is anybody working on it ? Please discuss on reddit.

A minimalist Python package manager for Windows

posted Feb 3, 2013, 10:07 AM by Pierre Carbonnelle

It"s a pity that so many installation instructions for Python packages assume that pip is already installed : it's not installed by Python installers, and installation instructions for pip are only for Linux / OS X, not for Windows. So, potential Windows users of those packages are left scrambling for instructions. Furthermore, these instructions include complex procedures, and do not explain how to deal with multiple Python versions (2.x and 3.x).   

Yet, python is often used on windows.  

I've developed Pip for Windows to address these issues. It is a tiny Python Package manager that automatically installs pip on Windows. I suggest that package providers recommend it, as I have for pyDatalog.  Its GUI also lets you: 
  • install any package from pypi, or upgrade it using pip instruction set 
  • list all installed packages with their version number 
  • upgrade all packages in the local library, in one click 
  • switch from one python interpreter (i.e. version) to another (including pypy
See the Home page for screen shot and user guide.

C# is the language of the year, Python of the decade

posted Jan 1, 2013, 4:03 AM by Pierre Carbonnelle   [ updated Jan 7, 2013, 4:35 AM ]

C# had the highest growth in popularity share this year (1.8 %), and Python the highest growth this decade (8%).  

That's according to the PYPL PopularitY of Programming Language index, a leading index I created with data from Google Trends.  It is based on the number of searches of language tutorials on the web: the more a language tutorial is searched, the more the language is assumed to be popular.  

Interestingly, Python  is the second most popular programming language in the US.   The following diagram from Google Trends shows the number of language tutorial searches in 2012 in the US.[s] One can see that Python is ahead of PHP, C++ and C, but behind Java.

Python is second most popular in the US

For the ranking of the top 10 languages, see the PYPL PopularitY of Programming Language index.



1-5 of 5