Ian Ward

CKAN contributor/tech lead
Urwid author
PyRF contributor
Speedometer author

Contributing to Open Source
IASA E-Summit, 2014-05-16
Urwid Applications
Urwid Intro
Unfortunate Python
Django 1.1

Moving to Python 3
Article Tags


Ian Ward's email:
first name at this domain

wardi on OFTC, freenode and github

Locations of visitors to this page

Articles Tagged “Python” rss icon

datastore_search Performance Improvements
Posted on 2017-08-04, last modified 2017-08-10.

The newly released CKAN 2.7 adds new functionality and makes DataStore search up to 17x faster at the same time.

This article covers:

  • new total row calculation
  • new result generation
  • new record formats


  1. Upgrade to 2.7 then resource views and other code that uses datastore_search is faster with no other changes required
  2. Update your datastore_search client code to use one of the new records_format=csv and/or include_total=false options to make it much, much faster

update This post now appears on the ckan.org blog

Read More …

Tags: Software Python CKAN

Urwid 1.3.1 Released link
Posted on 2015-11-01.

Urwid 1.3.1 is now available at urwid.org and on pypi. This is a bug fix release that includes a number of small fixes.

Complete changelog

Tags: Urwid Software Python

ckanapi and ckanext-scheming link
Posted on 2015-06-01.

I had the pleasure of co-hosting CKANCon last week and presented a short talk on ckanapi and ckanext-scheming.

Here's a link to my slides.

Tags: Video Python CKAN

Urwid turns 10
Urwid 1.3.0 Released link
Posted on 2014-10-17.

Urwid 1.3.0 is now available at urwid.org and on pypi. This is a major feature release including new asyncio event loop support. Thank you to all the new contributors.

Complete changelog

Happy 10th birthday Urwid!

Tags: Urwid Software Python

Urwid 1.2.2 Released link
Posted on 2014-10-06.

Urwid 1.2.2 is now available at urwid.org and on pypi. This is a bug fix release that includes a fix for a serious performance regression.

Complete changelog

Tags: Urwid Software Python

Posted on 2014-10-03.

For pyrf I needed to take data from a frequency plot, which could be any number of points, and present it as a spectrogram that fills the view size exactly. In the spectrogram I only care about the maximum values that appear in the range of frequencies represented by each pixel.

If I could just divide the number of source bins by an integer factor the solution would be simple:

return np.amax(data.reshape((-1, factor)), axis=1)

But I have to be able to handle any number of source bins and output that to any number of pixels.

Fortunately numpy is awesome.

Read More …

Tags: Software Python

Posted on 2014-04-04, last modified 2014-04-09.

What does bar.foo do? - An exploration of Python assignment, objects, attributes and descriptors

This is a talk I gave March 27, 2014 at the Ottawa Python Authors Group meetup.

Follow along with the IPython notebook version if you would like to play with the code examples.

Read More …

Tags: Ottawa Software Python OPAG

Learn Python Videos link
Posted on 2014-03-03.

Mahdi Yusuf, one of the Ottawa Python Authors Group organizers and curator of Pycoder's Weekly, has just posted his complete catalog of Python tutorial videos for free:

Tags: Video Python OPAG

Urwid 1.2.0 Released link
Posted on 2014-02-09.

Urwid 1.2.0 is now available at http://urwid.org/ and on pypi. Lots of new features:

Complete changelog

Tags: Urwid Software Python

urwid.org, 1.1.2 Released link
Posted on 2013-12-30, last modified 2014-01-04.

Urwid's home page has moved to http://urwid.org/

Source control, issue tracking and wiki pages are now hosted on github. The new home page and changelog are now generated by sphinx like the Urwid manual, tutorial and reference.

The bug-fix-only release Urwid 1.1.2 is now available at http://urwid.org/ and on pypi.

Tags: Urwid Software Python

« page 1 2 3 4 5 6 7 page »