{ "info": { "author": "Andreas Kaiser", "author_email": "disko@binary-punks.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Pylons", "Framework :: Pyramid", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: User Interfaces" ], "description": "===============\nkotti_filestore\n===============\n\nFilesystem storage of BLOBs for Kotti_.\n\n`Find out more about BLOB storage in Kotti`_\n\nSetup\n=====\n\nYou also need an option to tell Kotti to use the ``kotti_filestore`` add-on and to configure the location where the BLOBs will be stored on the filesystem.\nThe line in your ``[app:main]`` (or ``[app:kotti]``, depending on how you setup Fanstatic) section could then look like this::\n\n kotti.blobstore = kotti_filestore.filestore://%(here)s/filestore\n\nThe ``kotti_filestore.filestore`` part will cause Kotti to delegate the storage of BLOBs to this class.\nThe ``%(here)s/filestore`` is an example configuration for the storage which will cause all BLOBs to be stored in a directory named ``filestore`` which will be automatically created in the same directory where your config file resides.\n\nConfiguration\n=============\n\nCurrently a single configuration option exists.\nThe absolute path of the directory where ``kotti_filestore`` stores the BLOBs can be specified with the path segment of the configuration URL.\n\nTo overcome limitations w.r.t. the maximum number of files within a directory on some filesystems, ``kotti_filestore`` generates a directory tree with a depth of 16, where each directory has a maximum of 256 children (either subdirectories or files).\n\nTODO\n====\n\n- ``kotti_filestore`` tries to be fully transaction aware.\n\n It does so by using `repoze.filesafe`_ for filesystem operation on **files**.\n Unfortunately ``repoze.filesafe`` doesn't provide functions for **directories**.\n That's why ``kotti_filestore`` may leave some empty directories on your filesystem.\n Files are removed properly on deletion of the corresponding content items though.\n\n As a workaround you are encouraged to setup a cronjob that scans for empty directories periodically and removes them.\n\n.. _Kotti: http://pypi.python.org/pypi/Kotti\n.. _Find out more about BLOB storage in Kotti: http://kotti.readthedocs.org/en/latest/developing/blobstorage.html\n.. _repoze.filesafe: http://docs.repoze.org/filesafe/\n\n\nContibutors\n===========\n\n- Andreas Kaiser\n- Sebastian Brass\n\n\nChangelog\n=========\n\n0.1a\n----\n\n- Initial release.", "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/disko/kotti_filestore", "keywords": "kotti", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "kotti_filestore", "package_url": "https://pypi.org/project/kotti_filestore/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/kotti_filestore/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/disko/kotti_filestore" }, "release_url": "https://pypi.org/project/kotti_filestore/0.1a/", "requires_dist": null, "requires_python": null, "summary": "Filesystem storage of BLOBs for Kotti.", "version": "0.1a" }, "last_serial": 1317411, "releases": { "0.1a": [ { "comment_text": "", "digests": { "md5": "b9999afac7f40b771682d8a5a3688f37", "sha256": "92de7e485832071f1e1b5ddb1cdc8b1e3bfeb2d035eefee56e3b29ca241d30c9" }, "downloads": -1, "filename": "kotti_filestore-0.1a.tar.gz", "has_sig": false, "md5_digest": "b9999afac7f40b771682d8a5a3688f37", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5803, "upload_time": "2014-10-09T13:31:26", "url": "https://files.pythonhosted.org/packages/7e/4c/d5b572f11d1c247a886c65ad2d84289742e58e267c2883a7970511fffc47/kotti_filestore-0.1a.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b9999afac7f40b771682d8a5a3688f37", "sha256": "92de7e485832071f1e1b5ddb1cdc8b1e3bfeb2d035eefee56e3b29ca241d30c9" }, "downloads": -1, "filename": "kotti_filestore-0.1a.tar.gz", "has_sig": false, "md5_digest": "b9999afac7f40b771682d8a5a3688f37", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5803, "upload_time": "2014-10-09T13:31:26", "url": "https://files.pythonhosted.org/packages/7e/4c/d5b572f11d1c247a886c65ad2d84289742e58e267c2883a7970511fffc47/kotti_filestore-0.1a.tar.gz" } ] }