<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Python module usage statistics</title>
	<atom:link href="http://www.algorithm.co.il/blogs/programming/python/python-module-usage-statistics/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.algorithm.co.il/blogs/math/python-module-usage-statistics/</link>
	<description>Algorithms, for the heck of it</description>
	<lastBuildDate>Tue, 21 Jun 2011 21:07:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>By: lorg</title>
		<link>http://www.algorithm.co.il/blogs/math/python-module-usage-statistics/#comment-55</link>
		<dc:creator>lorg</dc:creator>
		<pubDate>Thu, 22 Nov 2007 07:18:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.algorithm.co.il/blogs/index.php/programming/python/python-module-usage-statistics/#comment-55</guid>
		<description>I agree. That&#039;s why before I started acquiring these statistics, I sat down and wrote what I thought the results should be.
You *need* the stdlib, there&#039;s no escaping that. os and sys weren&#039;t surprises. types was (at least for me).
Also, I don&#039;t believe sys.argv alone explains the high usage of the sys module. You&#039;d think that sys.argv would be used once per project, in the main file, but if this was the only usage, the numbers should have been much lower (please check the updated numbers in the next post though).

It might be interesting to do statistics on module usage as well - just count the number of different strings after the dot, as in &quot;module_name.usage&quot;.</description>
		<content:encoded><![CDATA[<p>I agree. That&#8217;s why before I started acquiring these statistics, I sat down and wrote what I thought the results should be.<br />
You *need* the stdlib, there&#8217;s no escaping that. os and sys weren&#8217;t surprises. types was (at least for me).<br />
Also, I don&#8217;t believe sys.argv alone explains the high usage of the sys module. You&#8217;d think that sys.argv would be used once per project, in the main file, but if this was the only usage, the numbers should have been much lower (please check the updated numbers in the next post though).</p>
<p>It might be interesting to do statistics on module usage as well &#8211; just count the number of different strings after the dot, as in &#8220;module_name.usage&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bulkanix</title>
		<link>http://www.algorithm.co.il/blogs/math/python-module-usage-statistics/#comment-54</link>
		<dc:creator>bulkanix</dc:creator>
		<pubDate>Thu, 22 Nov 2007 05:58:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.algorithm.co.il/blogs/index.php/programming/python/python-module-usage-statistics/#comment-54</guid>
		<description>It&#039;s not surprising to see that sys and os are the most used modules. For example you need sys to get access to argv (command line arguments) and os (os.path) for path handling and most modules should use os for OS independent path handling :)</description>
		<content:encoded><![CDATA[<p>It&#8217;s not surprising to see that sys and os are the most used modules. For example you need sys to get access to argv (command line arguments) and os (os.path) for path handling and most modules should use os for OS independent path handling :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lorg</title>
		<link>http://www.algorithm.co.il/blogs/math/python-module-usage-statistics/#comment-53</link>
		<dc:creator>lorg</dc:creator>
		<pubDate>Wed, 21 Nov 2007 06:57:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.algorithm.co.il/blogs/index.php/programming/python/python-module-usage-statistics/#comment-53</guid>
		<description>Doug: Nice idea, although I believe the results will be a little slanted, as parts of the stdlib are implemented in C. As for the code, I&#039;ll release it in a few days.
Phillip: I didn&#039;t exclude setup.py files on purpose. I figured that there is probably one setup.py tools per project, so there should be one distutils import per project, while other imports may appear more than once. This way, I still got to know how common is distutil usage relative to other modules. The original post by Doug mentioned distutils as a &#039;problematic&#039; module, so those statistics were relevant.</description>
		<content:encoded><![CDATA[<p>Doug: Nice idea, although I believe the results will be a little slanted, as parts of the stdlib are implemented in C. As for the code, I&#8217;ll release it in a few days.<br />
Phillip: I didn&#8217;t exclude setup.py files on purpose. I figured that there is probably one setup.py tools per project, so there should be one distutils import per project, while other imports may appear more than once. This way, I still got to know how common is distutil usage relative to other modules. The original post by Doug mentioned distutils as a &#8216;problematic&#8217; module, so those statistics were relevant.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phillip J. Eby</title>
		<link>http://www.algorithm.co.il/blogs/math/python-module-usage-statistics/#comment-52</link>
		<dc:creator>Phillip J. Eby</dc:creator>
		<pubDate>Wed, 21 Nov 2007 00:42:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.algorithm.co.il/blogs/index.php/programming/python/python-module-usage-statistics/#comment-52</guid>
		<description>Did you exclude setup.py files from your analysis?  If not, that&#039;s probably why setuptools, distutils.core, and ez_setup are over-represented in your results.</description>
		<content:encoded><![CDATA[<p>Did you exclude setup.py files from your analysis?  If not, that&#8217;s probably why setuptools, distutils.core, and ez_setup are over-represented in your results.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug Hellmann</title>
		<link>http://www.algorithm.co.il/blogs/math/python-module-usage-statistics/#comment-51</link>
		<dc:creator>Doug Hellmann</dc:creator>
		<pubDate>Tue, 20 Nov 2007 20:18:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.algorithm.co.il/blogs/index.php/programming/python/python-module-usage-statistics/#comment-51</guid>
		<description>That&#039;s an interesting analysis, Imri.  I like the idea of using PyPI for the research.  Have you posted the code?

It would be interesting to run the same tool against the standard library to see which modules are reused internally, too.</description>
		<content:encoded><![CDATA[<p>That&#8217;s an interesting analysis, Imri.  I like the idea of using PyPI for the research.  Have you posted the code?</p>
<p>It would be interesting to run the same tool against the standard library to see which modules are reused internally, too.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

