Skip to content

Instantly share code, notes, and snippets.

Ian Huston ihuston

Block or report user

Report or block ihuston

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ihuston /
Created Mar 6, 2017
Minimal Pandas + Conda CF app
from io import StringIO
import requests
import pandas as pd
r = requests.get("").text
df = pd.read_csv(StringIO(r))
while True:
ihuston / Spyre app on Cloud Foundry
Last active Feb 25, 2017
Example PyData app on Cloud Foundry using Spyre ( and the Python conda buildpack (
View Spyre app on Cloud Foundry
## PyData stack on Cloud Foundry
The current Python buildpack uses `pip` to install dependencies. Anyone who has tried to install NumPy or SciPy using `pip` knows that the process can be lengthy and painful often requiring manual intervention to correct library paths and install Fortran compilers.
Fortunately [Continuum Analytics']( [conda package manager]( was created to solve these problems by packaging and distributing the standard tools of the Python data stack in compiled binaries.
I wanted to build web apps on Cloud Foundry using the PyData stack so with help from [a colleague]( I have written a [Cloud Foundry buildpack]( which uses both conda and pip to install required packages.
You can specify packages to be installed by `conda` in the `conda_requirements.txt` file and these will be installed first, followed by packages in the `requirements.txt` which will be installed as usual by `pi
ihuston / Flask on
Last active Jan 12, 2020
Simple Flask application for Cloud Foundry
View Flask on

Simple Python Flask app on Cloud Foundry

This is a (very) simple Flask application that shows how the built-in Python buildpack detection on Cloud Foundry works.

To push to Cloud Foundry, log in and then use

$ cf push myapp-name

Python on Cloud Foundry

You can’t perform that action at this time.