{ "info": { "author": "LOGILAB S.A. (Paris, FRANCE)", "author_email": "contact@logilab.fr", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: CubicWeb", "Programming Language :: JavaScript", "Programming Language :: Python" ], "description": "Summary\n-------\nThis cube enables data publishing to a CKAN opendata portal.\n\n\nConfiguration\n-------------\n\nThe cube essentially provides hooks to push data in a CKAN instance. The\nmapping from CubicWeb entities is handled by adapters which themselves rely on\ndedicated attributes on the entities:\n\n* ``ICKANDataset`` adapter relies on a ``ckan_dataset_id`` attribute on the\n adapted entity. As its name suggests, the latter is used to relate a\n CubicWeb entity to a CKAN dataset (the fundamental entity type in CKAN\n data model).\n\n* ``ICKANResource`` adapter relies on a ``ckan_resource_id`` attribute. It\n is used to related some CubicWeb entity type to a CKAN resource.\n\nThe push of a resource on CKAN instance should be triggered by the\naddition of a relation between the dataset-like entity and a resource-like\nentity in CubicWeb. This is handled by the `LinkResourceToDatasetHook` hook,\nwhich is abstract and should thus subclass by setting its `rtype` attribute.\n\nSee ``test/data`` for a minimal example.\n\n\nTesting\n-------\n\nTesting this cube requires a running CKAN instance with a (dedicated)\norganization and a user with editors permission in the organization.\nCorresponding information are expected in the `test/ckanconfig.py` file.\n\n::\n\n baseurl = ''\n organization = ''\n apikey = ''\n\nNote that, since CKAN does not expose an API function to purge datasets, we\ncan only *delete* them in tests. So, one has to manually purge test datasets\nfrom the CKAN at `/ckan-admin/trash`.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.cubicweb.org/project/cubicweb-ckanpublish", "keywords": null, "license": "LGPL", "maintainer": null, "maintainer_email": null, "name": "cubicweb-ckanpublish", "package_url": "https://pypi.org/project/cubicweb-ckanpublish/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/cubicweb-ckanpublish/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://www.cubicweb.org/project/cubicweb-ckanpublish" }, "release_url": "https://pypi.org/project/cubicweb-ckanpublish/0.2.0/", "requires_dist": null, "requires_python": null, "summary": "Publish data to a CKAN instance", "version": "0.2.0" }, "last_serial": 1396774, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "411abd7c02d9a560c7130cae7c9d5dde", "sha256": "f881c30e9381268bb0f5bf8f09c41160ad301507a0a5e843a102035b4b069824" }, "downloads": -1, "filename": "cubicweb-ckanpublish-0.1.0.tar.gz", "has_sig": false, "md5_digest": "411abd7c02d9a560c7130cae7c9d5dde", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11990, "upload_time": "2015-01-23T15:09:55", "url": "https://files.pythonhosted.org/packages/80/75/ed9724f0ae1a92c1cff5adda8e4844f0fe19f3f17933bf9f6b648199d5ec/cubicweb-ckanpublish-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "c33af11fb8e436aa8cfdad94baa18ef7", "sha256": "d309f67bc2945a59b56f56849e85345fb9aa1874b174299cadf44d4f08c5b55c" }, "downloads": -1, "filename": "cubicweb-ckanpublish-0.2.0.tar.gz", "has_sig": false, "md5_digest": "c33af11fb8e436aa8cfdad94baa18ef7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13000, "upload_time": "2015-01-26T13:27:07", "url": "https://files.pythonhosted.org/packages/fd/83/4c9b0144efe1d5bb48764d227629249d24f72fc7b504d35f225950eee067/cubicweb-ckanpublish-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c33af11fb8e436aa8cfdad94baa18ef7", "sha256": "d309f67bc2945a59b56f56849e85345fb9aa1874b174299cadf44d4f08c5b55c" }, "downloads": -1, "filename": "cubicweb-ckanpublish-0.2.0.tar.gz", "has_sig": false, "md5_digest": "c33af11fb8e436aa8cfdad94baa18ef7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13000, "upload_time": "2015-01-26T13:27:07", "url": "https://files.pythonhosted.org/packages/fd/83/4c9b0144efe1d5bb48764d227629249d24f72fc7b504d35f225950eee067/cubicweb-ckanpublish-0.2.0.tar.gz" } ] }