This is a test of the ipynb plugin for Pelican. It can take .ipynb files and render them as blog posts, plus with a bit of extra hacking it no longer breaks all the site CSS horribly and even renders code as Solarized Light (yay!). Quick test with a few colours:

In [1]:
import inspect

class Sketchy(object):

    @property
    def word(self):
        caller = inspect.stack()[1][3]
        if "dodgy" in caller:
            return '"{0}"!'.format(caller)
        else:
            return self._word

    @word.setter
    def word(self, val):
        self._word = val
In [2]:
sketchy = Sketchy()
sketchy.word = "Hello,"
In [3]:
def upstanding():
    print sketchy.word,
def dodgy():
    print sketchy.word,
In [4]:
upstanding(); dodgy();
Hello, "dodgy"!

Obviously also have to test out plotting charts:

In [8]:
x = np.linspace(0, 10, 100)
y = np.exp(x)
plt.xkcd()
plt.plot(x, y)
plt.title("Irrelevance of examples as post continues")
plt.xlabel("Length of post")
plt.xticks([])
plt.ylabel("Irrelevance")
plt.yticks([])
None

Better quit while I'm ahead!