Category Archives: Software

ANN: PyWordPress – Python WordPress Library using the WordPress XML-RPC API

Announcing PyWordpress, a Python library for WordPress that provides a pythonic interface to WordPress using the WordPress XML-RPC API: Code on github: https://github.com/rgrp/pywordpress Python Package Index: http://pypi.python.org/pypi/pywordpress/ Along with a wrapper for the main functions it also provides various helper methods, for example to create many pages at once. This is somewhat of a belated […]

Also posted in Open Knowledge Foundation, Own Work, Python | 1 Response

Tabular Data Formats

As part of recent work on the DataExplorer I’ve been looking into formats / schemas for tabular data and have just posted this info on the wiki: http://wiki.ckan.org/Data_Formats#Formats_-_Tabular The list is quite short and if anyone out there has useful links or comments I’d love to know more (as one example, I hear very positive […]

Also posted in Code, Open Knowledge Foundation, Shuttleworth Fellow | 1 Response

hg-git and pushing to git from mercurial

Documenting my experience pushing mercurial repos to git (and github specifically). Install hg-git Follow https://bitbucket.org/durin42/hg-git/src/tip/README.md Install dulwich >= 0.6. On ubuntu: sudo apt-get install python-dulwich Get the latest version of hg-git: hg clone https://bitbucket.org/durin42/hg-git Add it to your extensions [extensions] git = path/to/hg-git/hggit Push an existing mercurial repo Assuming you’ve got a git repo somewhere, […]

Also posted in *nix, Code | Leave a comment

Datapkg 0.8 Released

A new release (v0.8) of datapkg, the tool for distributing, discovering and installing data is out! Release: http://pypi.python.org/pypi/datapkg Docs: http://packages.python.org/datapkg/ There’s a quick getting started section below (also see the docs). About the release This release brings substantial improvements to the download functionality of datapkg including support for extending the download system via plugins. The […]

Also posted in Code, Command Line, Open Data, Open Knowledge Foundation, Python, Shuttleworth Fellow | Leave a comment

PyWordPress – Python Library for WordPress

Announcing pywordpress, a python interface to WordPress using the WordPress XML-RPC API. Download: http://pypi.python.org/pypi/pywordpress/ Source code: https://bitbucket.org/rgrp/pywordpress/ Usage Command line Check out the commands:: wordpress.py -h You will need to create a config with the details (url, login) of the wordpress instance you want to work with:: cp config.ini.tmpl config.ini # now edit away … […]

Also posted in Code, Command Line, Own Work, Python | 1 Response

CKAN v1.2 Released together with Datapkg v0.7

This is a cross-post of the release announcement originally put up on the OKFN Blog. We’re delighted to announce CKAN v1.2, a new major release of the CKAN software. This is the largest iteration so far with 146 tickets closed and includes some really significant improvements most importantly a new extension/plugin system, SOLR search integration, […]

Also posted in Open Data, Open Knowledge Foundation, Openness, Own Work, Shuttleworth Fellow | Leave a comment

Open-Source Annotation Toolkit for Inline, Online Web Annotation

I’ve been working on web-annotation — inline, online annotation of web texts — for several years. My original motivation was to support annotation of texts in http://openshakespeare.org/ so we can collaboratively build up critical notes but since then I’ve seen this need again and again — in drafting new open data licenses, with scholars working […]

Also posted in Open Knowledge Foundation, Own Work, Shuttleworth Fellow | 3 Responses

Where Does My Money Go? Spending Explorer using Protovis and jQuery

Over the last couple of months I’ve been playing around with Protovis in my spare time to create an interactive pure javascript Government Spending Explorer for Where Does My Money Go? (datastore api): Explorer: http://rufuspollock.org/wdmmg/explorer.html Source: http://bitbucket.org/okfn/wdmmg-js/src/tip/src/explorer.html Warning: won’t work in IE (atm due to lack of svg support) and works best (i.e. fastest) in […]

Also posted in Code, Data Digging, Javascript, Open Data, Own Work, Shuttleworth Fellow | 1 Response

Datapkg v0.7 Beta Released

I’ve just put out a beta of a major new version of datapkg (see changelog below): Release: http://pypi.python.org/pypi/datapkg Docs: http://packages.python.org/datapkg/ There’s a quick getting started section below (also see docs). About the release This is a substantial release with a lot of new features. As this is a client app which will run on a […]

Also posted in Open Data, Open Knowledge Foundation, Own Work, Python, Shuttleworth Fellow, Work In Progress | Leave a comment

Versioning / Revisioning for Data, Databases and Domain Models: Copy-on-Write and Diffs

There are several ways to implement revisioning (versioning) of domain model and Databases and data generally): Copy on write – so one has a ‘full’ copy of the model/DB at each version. Diffs: store diffs between versions (plus, usually, a full version of the model at a given point in time e.g. store HEAD) In […]

Also posted in Code, Knowledge Systems, Open Knowledge Foundation, Python, RDF | 1 Response