[ckan-discuss] Python 3 support for CKAN API client

Thomas Levine _ at thomaslevine.com
Tue Dec 31 20:01:14 UTC 2013


Based on what I read in this tweet,
https://twitter.com/CKANproject/status/378182161330753536

I've been using ckanapi.
https://github.com/open-data/ckanapi

It's quite awesome.
Unfortunately, it doesn't work in Python 3.

I've started porting it,
https://github.com/tlevine/ckanapi/tree/python3.3

but the main thing that is missing is dealing with the
implicit dependencies that don't work in Python 3.
https://github.com/tlevine/ckanapi/blob/tlevine/setup.py

Specifically, ckan doesn't seem to work with Python 3,
and ckanapi uses ckan.logic.get_action. Does anyone who
knows CKAN better want to implement it?
https://github.com/tlevine/ckanapi/blob/python3.3/ckanapi.py#L71

Alternatively, is there a better client I should use?

Thanks

Tom


More information about the ckan-discuss mailing list