[ckan-dev] ckanapi 4.0 Released

Ian Ward ian at excess.org
Fri Jan 20 15:26:17 UTC 2017


https://github.com/ckan/ckanapi

pip install ckanapi

ckanapi is a command line interface and python library for accessing
the CKAN action API. ckanapi is compatible with Python 2.6 - 3.x and
transparently supports running against local CKAN instances (no HTTP
overhead, python 2 only) as well as remote CKAN instances.

What's new?
- RemoteCKAN now has session control, defaulting to keeping your HTTP
connection open between calls for reduced overhead per action call [1]
- LocalCKAN and RemoteCKAN may now be used as context managers
- ckanapi action CLI now supports file uploads with @ operator much like curl
- LocalCKAN now supports file uploads just like RemoteCKAN but without
HTTP overhead
- ckanapi load datasets CLI now has an --upload-resources option
- lots of bug fixes

Thank you to everyone that has contributed code and reported issues!

[1]: https://github.com/ckan/ckanapi#session-control



More information about the ckan-dev mailing list