tag:blogger.com,1999:blog-30763056875886032342024-10-25T07:27:29.386+11:00Chris Miles Writes PythonChris Miles writes about the Python programming language.Anonymoushttp://www.blogger.com/profile/13668799547352259386noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-3076305687588603234.post-38050300940903328762010-10-11T17:47:00.000+11:002010-10-11T17:47:00.208+11:00PYPI mirrorThe other day I was trying to deploy some Python software, but ran in to trouble with the package dependencies. PYPI was down and so the packages could not be fetched!<br />
<div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><br />
</div><div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;">After a quick search I found what suspiciously looked like a PYPI mirror at http://b.pypi.python.org/</div><div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><br />
</div><div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;">Pointing easy_install at this mirror gave me the result I needed.</div><div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><br />
</div><div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="font-size: small;">easy_install -i http://b.pypi.python.org/simple/ -U setuptools</span></span></div><div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><br />
</div><div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;">I don't know if the mirror is common knowledge, but this is a handy option to remember.</div><div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><br />
</div>Anonymoushttp://www.blogger.com/profile/13668799547352259386noreply@blogger.com1tag:blogger.com,1999:blog-3076305687588603234.post-18961163090993448512009-11-25T15:58:00.001+11:002009-11-25T16:01:57.917+11:00PSI 0.3b2 ReleasedA new version of <a href="http://bitbucket.org/chrismiles/psi/wiki/Home">Python System Information</a> (PSI) has been released: <a href="http://pypi.python.org/pypi/PSI/0.3b2">0.3b2</a><br />
<br />
Big thanks to Floris Bruynooghe for doing all the heavy lifting on this one. <a href="http://bruynooghe.blogspot.com/2009/11/new-python-system-information-release.html">Floris describes the changes</a> on his blog.Anonymoushttp://www.blogger.com/profile/13668799547352259386noreply@blogger.com0tag:blogger.com,1999:blog-3076305687588603234.post-76114453189933735062009-09-30T21:31:00.000+10:002009-09-30T21:31:43.513+10:00BlastOff 0.2 released<div class="separator" style="clear: both; text-align: center;"><a href="http://www.flickr.com/photos/lecates/2539321939/" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="200" src="http://farm3.static.flickr.com/2033/2540307554_e70f3f4b69_m_d.jpg" width="133" /></a><br />
</div><a href="http://pypi.python.org/pypi/BlastOff">BlastOff</a> 0.2 has now been released. BlastOff is a quickstart template for <a href="http://pylonshq.com/">Pylons</a>. It is a substitute for the simple boilerplate template that Pylons provides out-of-the-box. Use BlastOff to generate a Pylons skeleton configured with <a href="http://www.sqlalchemy.org/">SQLAlchemy</a>, <a href="http://www.makotemplates.org/">mako</a>, <a href="http://pypi.python.org/pypi/repoze.who">repoze.who</a>, <a href="http://toscawidgets.org/">ToscaWidgets</a>, <a href="http://www.python-turbomail.org/">TurboMail</a>, <a href="http://pypi.python.org/pypi/WebFlash">WebFlash</a> and (optionally) <a href="http://pypi.python.org/pypi/SchemaBot">SchemaBot</a>. The generated app is pre-configured with authentication, login and registration forms, and (optionally) email confirmation.<br />
<br />
The great thing about Pylons is that it provides a basic web framework stack that assumes very little about what you want to do. The default application template contains no authentication, for example. It is up to the user to choose an authentication middleware that best fits their needs. Unfortunately, for newbies, it may not be obvious which middleware to choose. Pre-configured templates like BlastOff can help users get started with the author's recommended choices of middleware components and configuration. BlastOff contains my own choice of best-of-breed components that I use in my own Pylons applications.<br />
<br />
Not every template will be best for every developer, so I encourage others to create Pylons template packages. A few others already exist, I found out recently, so I created a <a href="http://wiki.pylonshq.com/display/pylonsprojects/Pylons+Project+Templates">Pylons Project Templates</a> page in the Pylons wiki to list them. Take a look if you want to see how others are configuring their Pylons apps or just want to accelerate your Pylons development.<br />
<br />
Cheers,<br />
<a href="http://chrismiles.info/">Chris Miles</a><br />
<br />
<a href="http://www.flickr.com/photos/lecates/2539321939/" rel="cc:attributionURL"><span style="font-size: x-small;"><span style="color: #666666;">Image by lecates @ flickr</span></span></a><span style="font-size: x-small;"><span style="color: #666666;"> / </span></span><a href="http://creativecommons.org/licenses/by-nc/2.0/" rel="license"><span style="font-size: x-small;"><span style="color: #666666;">CC BY-NC 2.0</span></span></a>Anonymoushttp://www.blogger.com/profile/13668799547352259386noreply@blogger.com0tag:blogger.com,1999:blog-3076305687588603234.post-13880602964498961552009-09-28T23:43:00.000+10:002009-09-28T23:43:28.752+10:00New Python specific blogI have started a new <a href="http://www.python.org/">Python</a> specific blog at <a href="http://chris-miles-writes-python.blogspot.com/">http://chris-miles-writes-python.blogspot.com/</a><br />
<br />
You can find older blog posts from me at <a href="http://chrismiles.livejournal.com/">http://chrismiles.livejournal.com/</a> which I am winding down in favour of Blogger.<br />
<br />
Cheers,<br />
<a href="http://chrismiles.info/">Chris Miles</a>Anonymoushttp://www.blogger.com/profile/13668799547352259386noreply@blogger.com0