{ "info": { "author": "Torsten Kurbad", "author_email": "t.kurbad@iwm-kmrc.de", "bugtrack_url": null, "classifiers": [], "description": "Recipe for setting up a blobstorage\n===================================\n\nThis recipe can be used to define a blobstorage. It creates a ZConfig\nfile-storage database specification supporting blobs via zope.file that\ncan be used by other recipes to generate ZConfig configuration files. \n\nThis recipe takes an optional combination of a path and a blob_dir option.\nIf one is specified, the other is mandatory. If none are given (recommended),\nthe recipe creates and uses a subdirectory of the buildout parts directory\nwith the same name as the part and a subdirectory 'blobs' therein.\n\nAdditional options, like cache-size, can be given via the\nstorage-options\n Parameter.\n\nThe recipe was derived from Jim's zc.filestorage recipe.\n\nOriginal README follows:\n========================\n\nThe recipe records a zconfig option for use by other recipes.\n\nWe'll show a couple of examples, using a dictionary as a simulated buildout\nobject::\n\n >>> import zc.recipe.filestorage\n >>> buildout = dict(\n ... buildout = {\n ... 'directory': '/buildout',\n ... },\n ... db = {\n ... 'path': 'foo/Main.fs',\n ... },\n ... )\n >>> recipe = zc.recipe.filestorage.Recipe(\n ... buildout, 'db', buildout['db'])\n\n >>> print buildout['db']['path']\n /buildout/foo/Main.fs\n\n >>> print buildout['db']['zconfig'],\n \n \n path /buildout/foo/Main.fs\n \n \n\n >>> recipe.install()\n ()\n\n >>> import tempfile\n >>> d = tempfile.mkdtemp()\n >>> buildout = dict(\n ... buildout = {\n ... 'parts-directory': d,\n ... },\n ... db = {},\n ... )\n\n >>> recipe = zc.recipe.filestorage.Recipe(\n ... buildout, 'db', buildout['db'])\n\n >>> print buildout['db']['path']\n /tmp/tmpQo0DTB/db/Data.fs\n\n >>> print buildout['db']['blob-dir']\n /tmp/tmpQo0DTB/db/blobs\n\n >>> print buildout['db']['zconfig'],\n \n \n blob-dir /tmp/tmpQo0DTB/db/blobs\n \n path /tmp/tmpQo0DTB/db/Data.fs\n \n \n \n\n >>> recipe.install()\n ()\n\n >>> import os\n >>> os.listdir(d)\n ['db']\n\nThe update method doesn't do anything, as the database part's directory\nalready exists, but it is present, so buildout doesn't complain and doesn't\naccidentally run install() again::\n\n >>> recipe.update()\n\n\nTo do\n-----\n\n- Add support for various file-storage options\n\n- Create a ZODB-configuration recipe that is meant to be a base class for\n storage recipes and provides database-configuration options.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://svn.kmrc.de/projects/devel/iwm.recipe.blobstorage", "keywords": "zope3 bebop blobstorage", "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "iwm.recipe.blobstorage", "package_url": "https://pypi.org/project/iwm.recipe.blobstorage/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/iwm.recipe.blobstorage/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://svn.kmrc.de/projects/devel/iwm.recipe.blobstorage" }, "release_url": "https://pypi.org/project/iwm.recipe.blobstorage/0.0.2/", "requires_dist": null, "requires_python": null, "summary": "ZC Buildout recipe for defining a blob-storage", "version": "0.0.2" }, "last_serial": 737982, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "9108237ccdb6efe183848bc0831366d7", "sha256": "60224fa30e17596fb6a7f6300357d8c26433cd38b3deea6569057f42e99e3121" }, "downloads": -1, "filename": "iwm.recipe.blobstorage-0.0.2-py2.4.egg", "has_sig": false, "md5_digest": "9108237ccdb6efe183848bc0831366d7", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 7459, "upload_time": "2007-07-16T15:33:07", "url": "https://files.pythonhosted.org/packages/26/3a/567fa9e3abaaa207fd8242bfd63a54a75dbb35a89006f0366fa596d43693/iwm.recipe.blobstorage-0.0.2-py2.4.egg" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9108237ccdb6efe183848bc0831366d7", "sha256": "60224fa30e17596fb6a7f6300357d8c26433cd38b3deea6569057f42e99e3121" }, "downloads": -1, "filename": "iwm.recipe.blobstorage-0.0.2-py2.4.egg", "has_sig": false, "md5_digest": "9108237ccdb6efe183848bc0831366d7", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 7459, "upload_time": "2007-07-16T15:33:07", "url": "https://files.pythonhosted.org/packages/26/3a/567fa9e3abaaa207fd8242bfd63a54a75dbb35a89006f0366fa596d43693/iwm.recipe.blobstorage-0.0.2-py2.4.egg" } ] }