<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>python on IanHuston.net</title>
    <link>https://www.ianhuston.net/tag/python/</link>
    <description>Recent content in python on IanHuston.net</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Fri, 05 Jan 2018 17:31:09 +0100</lastBuildDate><atom:link href="https://www.ianhuston.net/tag/python/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Flexible conda package dependencies on Cloud Foundry</title>
      <link>https://www.ianhuston.net/2018/01/flexible-conda-package-dependencies-on-cloud-foundry/</link>
      <pubDate>Fri, 05 Jan 2018 17:31:09 +0100</pubDate>
      
      <guid>https://www.ianhuston.net/2018/01/flexible-conda-package-dependencies-on-cloud-foundry/</guid>
      <description>The official Python Cloud Foundry buildpack has support for conda environments using the environment.yml file. This provides a lot of flexibility for Python (and other) dependencies and helps you to use packages from other public and private sources including your own locally built ones.
Using other conda channels 
One thing this allows you to do is reference other channels such as conda-forge, and get packages from there instead of the standard Anaconda provided default channel.</description>
    </item>
    
    <item>
      <title>Cloud Foundry for Data Science talk</title>
      <link>https://www.ianhuston.net/2015/01/cloud-foundry-for-data-science-talk/</link>
      <pubDate>Thu, 29 Jan 2015 14:20:23 +0100</pubDate>
      
      <guid>https://www.ianhuston.net/2015/01/cloud-foundry-for-data-science-talk/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;http://www.meetup.com/data-science-lab/&#34;&gt;&lt;img src=&#34;https://www.ianhuston.net/images/2015/01/dslab-300x59.png&#34; alt=&#34;Data Science Lab&#34; width=&#34;300&#34; height=&#34;59&#34; class=&#34;alignright size-medium wp-image-577&#34; /&gt;&lt;/a&gt;
I&amp;rsquo;m excited to be giving a talk at the &lt;a href=&#34;http://www.meetup.com/data-science-lab/events/219557202/&#34;&gt;Data Science Lab meetup&lt;/a&gt; which has recently started in London. The topic is going to be how to use the open source &lt;a href=&#34;http://cloudfoundry.org&#34;&gt;Cloud Foundry&lt;/a&gt; platform for data science.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Python on Cloud Foundry</title>
      <link>https://www.ianhuston.net/2014/11/python-on-cloud-foundry/</link>
      <pubDate>Sat, 22 Nov 2014 18:11:06 +0100</pubDate>
      
      <guid>https://www.ianhuston.net/2014/11/python-on-cloud-foundry/</guid>
      <description>&lt;p&gt;I&amp;rsquo;m very happy to be giving a talk at the latest &lt;a href=&#34;http://pydata.org/nyc2014&#34;&gt;PyData conference&lt;/a&gt; in New York this weekend.&lt;/p&gt;
&lt;p&gt;This is a long post but I wanted a place to collect all the code I am showing in my talk and to provide a few more resources for those interested in trying out Python on Cloud Foundry further.&lt;/p&gt;
&lt;h2 id=&#34;resources--a-hrefhttpcloudfoundryorgimg-srcimages201405cloud_foundry_logo-150x150png-altcloud-foundry-width150-height150-classalignright-size-thumbnail-wp-image-507-a&#34;&gt;Resources  &lt;a href=&#34;http://cloudfoundry.org&#34;&gt;&lt;img src=&#34;https://www.ianhuston.net/images/2014/05/cloud_foundry_logo-150x150.png&#34; alt=&#34;Cloud Foundry&#34; width=&#34;150&#34; height=&#34;150&#34; class=&#34;alignright size-thumbnail wp-image-507&#34; /&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://gist.github.com/ihuston/e87c1d4719f7e72e9760&#34;&gt;Simple Flask app&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://www.slideshare.net/ihuston/python-on-cloud-foundry&#34;&gt;Slides from the talk&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;My new &lt;a href=&#34;https://github.com/ihuston/python-conda-buildpack&#34;&gt;Cloud Foundry buildpack using conda&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.youtube.com/watch?v=QOfD6tnoAB8&#34;&gt;Video of Flask app deployment&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Update: &lt;a href=&#34;https://www.youtube.com/watch?v=XSXcz7rEzY4&#34;&gt;Video of PyData NY talk&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;what-is-cloud-foundry&#34;&gt;What is Cloud Foundry?&lt;/h2&gt;
&lt;p&gt;My talk is about how to use Python and the PyData stack on &lt;a href=&#34;http://cloudfoundry.org&#34;&gt;Cloud Foundry&lt;/a&gt; the open source cloud platform. Cloud Foundry started life at &lt;a href=&#34;http://vmware.com&#34;&gt;VMware&lt;/a&gt; and development transferred to &lt;a href=&#34;http://pivotal.io&#34;&gt;Pivotal&lt;/a&gt; when it was formed. Cloud Foundry has grown much bigger since then with over 30 companies joining together to form the Cloud Foundry Foundation which will guide the development of the open source project.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>DataDive toolbelt</title>
      <link>https://www.ianhuston.net/2014/05/datadive-toolbelt/</link>
      <pubDate>Sat, 24 May 2014 14:50:10 +0100</pubDate>
      
      <guid>https://www.ianhuston.net/2014/05/datadive-toolbelt/</guid>
      <description>&lt;p&gt;&lt;img class=&#34;alignleft size-medium wp-image-505&#34; src=&#34;https://www.ianhuston.net/images/2014/05/logo-datakind-300x49.png&#34; alt=&#34;logo-datakind&#34; width=&#34;300&#34; height=&#34;49&#34; /&gt;What tools do you need to bring to a DataDive? &lt;a title=&#34;DataKind UK&#34; href=&#34;http://datakind.org.uk&#34;&gt;The next DataKind UK&lt;/a&gt; DataDive is taking place in &lt;a title=&#34;DataDive Tickets&#34; href=&#34;http://www.eventbrite.co.uk/e/summer-datadive-with-datakind-uk-tickets-11537271289?aff=estw&#34;&gt;two weeks time&lt;/a&gt; in London. I took part in one of the &lt;a title=&#34;Data diving for charity&#34; href=&#34;http://www.ianhuston.net/2012/10/data-diving-for-charity/&#34;&gt;previous DataDives&lt;/a&gt; and I would highly recommend the experience for anyone with data science or analytical skills who wants to help charities use their data.&lt;/p&gt;
&lt;p&gt;The DataDives take place over the course of a weekend and in that time you have to decide on a charity to work with, understand their data and goals, perform your analysis and present your results in a usable form. That&amp;rsquo;s a lot to get through in just over two days so it&amp;rsquo;s very important to be able to get up and running quickly with the analysis. I thought it might be useful to list the software and tools that I will be packing in my DataDive toolbelt this time around.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Pyinspire - Python script to access INSPIRE database</title>
      <link>https://www.ianhuston.net/2012/06/pyinspire-python-script-to-access-inspire-database/</link>
      <pubDate>Thu, 14 Jun 2012 14:13:17 +0100</pubDate>
      
      <guid>https://www.ianhuston.net/2012/06/pyinspire-python-script-to-access-inspire-database/</guid>
      <description>The new INSPIRE HEP database has been up and running for a while now, and is going from strength to strength (despite some recent wobbles concerning citation counts).
I recently needed to get the BibTeX entries for a few papers and instead of copy-pasting from the results web page each time I wondered whether a more programmatic solution existed. There used to be a few utilities for SPIRES which enabled you to get results using a script but I haven&amp;rsquo;t seen any that do this with INSPIRE (although there is a plugin for Jabref).</description>
    </item>
    
    <item>
      <title>New paper and Pyflation software package</title>
      <link>https://www.ianhuston.net/2011/03/new-paper-and-pyflation-software-package/</link>
      <pubDate>Mon, 07 Mar 2011 12:31:02 +0100</pubDate>
      
      <guid>https://www.ianhuston.net/2011/03/new-paper-and-pyflation-software-package/</guid>
      <description>My latest paper has just hit the arXiv and is now available. The paper builds on the numerical work I previously completed on cosmological perturbations beyond linear order. The new results do not assume slow-roll in the calculation of the source term for the second order equations of motion and so allow a much greater range of potentials to be analysed. The paper is called &amp;ldquo;Second Order Perturbations During Inflation Beyond Slow-roll&amp;rdquo; and already has a record on SPIRES and Inspire Beta.</description>
    </item>
    
    <item>
      <title>Minor Tick Labels in Matplotlib</title>
      <link>https://www.ianhuston.net/2011/02/minor-tick-labels-in-matplotlib/</link>
      <pubDate>Mon, 28 Feb 2011 19:50:38 +0100</pubDate>
      
      <guid>https://www.ianhuston.net/2011/02/minor-tick-labels-in-matplotlib/</guid>
      <description>This is a slightly more technical post than usual but having figured out how to do something quite esoteric in Matplotlib I thought I would write it down to save me remembering.
I have been making quite a few plots recently for a paper which should hit the arXiv very soon. The Python plotting package Matplotlib has been indispensable in this regard, especially as I took the effort of creating a script which creates all the plots.</description>
    </item>
    
    <item>
      <title>Numerical Calculation of Second Order Perturbations</title>
      <link>https://www.ianhuston.net/2009/07/numerical-calculation-of-second-order-perturbations/</link>
      <pubDate>Thu, 23 Jul 2009 16:30:43 +0100</pubDate>
      
      <guid>https://www.ianhuston.net/2009/07/numerical-calculation-of-second-order-perturbations/</guid>
      <description>My new paper, written with Karim Malik, has just been released into the wild. We show that it is possible to numerically simulate second order perturbations for a single scalar field with a canonical action. I&amp;rsquo;ve been working on this for a long time and learned a lot about the mechanics of inflation in the process. I&amp;rsquo;ve also churned out quite a lot of python code, and learned some rudimentary parallel programming.</description>
    </item>
    
  </channel>
</rss>
