[ckan-dev] Create Package programmatically

Ryan Clark ryan.clark at azgs.az.gov
Wed Mar 6 22:51:46 UTC 2013


I'm trying to generate Packages from ISO 19139 documents. What is the best way to create a new package programmatically? I was thinking that ckan.logic.action.package_create looked like it might be the best place, but I'd rather not have to spoof the context object, since there won't be an HTTP request associated with the code I'm writing. 

Thanks!!
____________________

Ryan Clark
ryan.clark at azgs.az.gov
(520) 302-4871






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130306/f2751fa9/attachment.html>


More information about the ckan-dev mailing list