{ "info": { "author": "Brook Elgie", "author_email": "brook.elgie@okfn.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7" ], "description": ".. You should enable this project on travis-ci.org and coveralls.io to make\n these badges work. The necessary Travis and Coverage config files have been\n generated for you.\n\n.. image:: https://travis-ci.org/okfn/ckanext-s3filestore.svg?branch=master\n :target: https://travis-ci.org/okfn/ckanext-s3filestore\n\n\n.. image:: https://coveralls.io/repos/okfn/ckanext-s3filestore/badge.svg\n :target: https://coveralls.io/r/okfn/ckanext-s3filestore\n\n\n===================\nckanext-s3filestore\n===================\n\n.. Put a description of your extension here:\n\nUse Amazon S3 as a filestore for resources.\n\n\n------------\nRequirements\n------------\n\nRequires CKAN 2.5+\n\n\n------------\nInstallation\n------------\n\n.. Add any additional install steps to the list below.\n For example installing any non-Python dependencies or adding any required\n config settings.\n\nTo install ckanext-s3filestore:\n\n1. Activate your CKAN virtual environment, for example::\n\n . /usr/lib/ckan/default/bin/activate\n\n2. Install the ckanext-s3filestore Python package into your virtual environment::\n\n pip install ckanext-s3filestore\n\n3. Add ``s3filestore`` to the ``ckan.plugins`` setting in your CKAN\n config file (by default the config file is located at\n ``/etc/ckan/default/production.ini``).\n\n4. Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu::\n\n sudo service apache2 reload\n\n\n---------------\nConfig Settings\n---------------\n\nRequired::\n\n ckanext.s3filestore.aws_access_key_id = Your-AWS-Access-Key-ID\n ckanext.s3filestore.aws_secret_access_key = Your-AWS-Secret-Access-Key\n ckanext.s3filestore.aws_bucket_name = a-bucket-to-store-your-stuff\n\nOptional::\n\n # An optional path to prepend to keys\n ckanext.s3filestore.aws_storage_path = my-site-name\n\n # An optional setting to fallback to filesystem for downloads\n ckanext.s3filestore.filesystem_download_fallback = true\n # The ckan storage path option must also be set correctly for the fallback to work\n ckan.storage_path = path/to/storage/directory\n\n\n------------------------\nDevelopment Installation\n------------------------\n\nTo install ckanext-s3filestore for development, activate your CKAN virtualenv and\ndo::\n\n git clone https://github.com/okfn/ckanext-s3filestore.git\n cd ckanext-s3filestore\n python setup.py develop\n pip install -r dev-requirements.txt\n pip install -r requirements.txt\n\n\n-----------------\nRunning the Tests\n-----------------\n\nTo run the tests, do::\n\n nosetests --ckan --nologcapture --with-pylons=test.ini\n\nTo run the tests and produce a coverage report, first make sure you have\ncoverage installed in your virtualenv (``pip install coverage``) then run::\n\n nosetests --ckan --nologcapture --with-pylons=test.ini --with-coverage --cover-package=ckanext.s3filestore --cover-inclusive --cover-erase --cover-tests\n\n\n---------------------------------------\nRegistering ckanext-s3filestore on PyPI\n---------------------------------------\n\nckanext-s3filestore should be available on PyPI as\nhttps://pypi.python.org/pypi/ckanext-s3filestore. If that link doesn't work, then\nyou can register the project on PyPI for the first time by following these\nsteps:\n\n1. Create a source distribution of the project::\n\n python setup.py sdist\n\n2. Register the project::\n\n python setup.py register\n\n3. Upload the source distribution to PyPI::\n\n python setup.py sdist upload\n\n4. Tag the first release of the project on GitHub with the version number from\n the ``setup.py`` file. For example if the version number in ``setup.py`` is\n 0.0.1 then do::\n\n git tag 0.0.1\n git push --tags\n\n\n----------------------------------------------\nReleasing a New Version of ckanext-s3filestore\n----------------------------------------------\n\nckanext-s3filestore is available on PyPI as https://pypi.python.org/pypi/ckanext-s3filestore.\nTo publish a new version to PyPI follow these steps:\n\n1. Update the version number in the ``setup.py`` file.\n See `PEP 440 `_\n for how to choose version numbers.\n\n2. Create a source distribution of the new version::\n\n python setup.py sdist\n\n3. Upload the source distribution to PyPI::\n\n python setup.py sdist upload\n\n4. Tag the new release of the project on GitHub with the version number from\n the ``setup.py`` file. For example if the version number in ``setup.py`` is\n 0.0.2 then do::\n\n git tag 0.0.2\n git push --tags", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/okfn/ckanext-s3filestore", "keywords": "CKAN S3 AWS", "license": "AGPL", "maintainer": null, "maintainer_email": null, "name": "ckanext-s3filestore", "package_url": "https://pypi.org/project/ckanext-s3filestore/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/ckanext-s3filestore/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/okfn/ckanext-s3filestore" }, "release_url": "https://pypi.org/project/ckanext-s3filestore/0.0.3/", "requires_dist": null, "requires_python": null, "summary": "Host resource files using Amazon Web Service's S3 storage", "version": "0.0.3" }, "last_serial": 3754635, "releases": { "0.0.1a1": [ { "comment_text": "", "digests": { "md5": "0aada7a7aa976c9d947f03a483bc459d", "sha256": "e5cdb7b336a9113cad7a078633e23cbd7a0ad0898a28aa6884728189022bf2a8" }, "downloads": -1, "filename": "ckanext-s3filestore-0.0.1a1.tar.gz", "has_sig": false, "md5_digest": "0aada7a7aa976c9d947f03a483bc459d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9937, "upload_time": "2015-07-13T14:13:42", "url": "https://files.pythonhosted.org/packages/31/6a/f1388b1ee810f618cd21731c62a93a1f8484d51000de9473cfd1b37eb936/ckanext-s3filestore-0.0.1a1.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "f892b2e4e117e998839e2624bf1d73cc", "sha256": "1fd4a0271c50f8f90c0ff29fc949ee7013b3cb2211a7fbfefe16baa037f78110" }, "downloads": -1, "filename": "ckanext-s3filestore-0.0.3.tar.gz", "has_sig": false, "md5_digest": "f892b2e4e117e998839e2624bf1d73cc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10772, "upload_time": "2016-02-18T09:09:18", "url": "https://files.pythonhosted.org/packages/f0/ef/92890d8a301ba2f6f4471b48c75289fbe42685381c7c70250692e5e3a1e8/ckanext-s3filestore-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f892b2e4e117e998839e2624bf1d73cc", "sha256": "1fd4a0271c50f8f90c0ff29fc949ee7013b3cb2211a7fbfefe16baa037f78110" }, "downloads": -1, "filename": "ckanext-s3filestore-0.0.3.tar.gz", "has_sig": false, "md5_digest": "f892b2e4e117e998839e2624bf1d73cc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10772, "upload_time": "2016-02-18T09:09:18", "url": "https://files.pythonhosted.org/packages/f0/ef/92890d8a301ba2f6f4471b48c75289fbe42685381c7c70250692e5e3a1e8/ckanext-s3filestore-0.0.3.tar.gz" } ] }