{ "info": { "author": "Jim Fulton", "author_email": "jim@zope.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Framework :: Buildout", "Framework :: ZODB", "Intended Audience :: Developers", "License :: OSI Approved :: Zope Public License", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Topic :: Software Development :: Build Tools", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "===================================\nRecipe for setting up a filestorage\n===================================\n\nThis recipe can be used to define a file-storage. It creates a ZConfig\nfile-storage database specification that can be used by other recipes to\ngenerate ZConfig configuration files.\n\nThis recipe takes an optional path option. If none is given, it creates and\nuses a subdirectory of the buildout parts directory with the same name as the\npart.\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 >>> from six import print_\n >>> print_(buildout['db']['zconfig'], end='')\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']['zconfig'], end='')\n \n \n path /tmp/tmpQo0DTB/db/Data.fs\n \n \n\n >>> recipe.install()\n ()\n\n >>> import os\n >>> os.listdir(d)\n ['db']\n\nThe update method doesn't do much, 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\nIf the storage's directory is removed, is it re-added by the update method:\n\n >>> os.rmdir(os.path.join(d, 'db'))\n >>> os.listdir(d)\n []\n >>> recipe.update()\n >>> os.listdir(d)\n ['db']\n\nThis is useful in development when the directory containing the database is\nremoved in order to start the database from scratch.\n\n\n=======\nCHANGES\n=======\n\n1.1.2 (2014-02-21)\n------------------\n\n- Fixed: packaging bug that caused 'pip install zc.recipe.filestorage' to fail\n with an error about missing README.txt\n\n1.1.1 (2014-02-16)\n------------------\n\n- Fixed: packaging bug that caused a test failure in\n a test runner that didn't use buildout to run setup.py.\n\n1.1.0 (2014-02-14)\n------------------\n\n- Python 3 compatibility\n\n- Using Python's ``doctest`` module instead of deprecated\n ``zope.testing.doctest``.\n\n- Removed 'shared-blob-dir' from blobstorage section.\n\n\n1.0.0 (2007-11-03)\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": "http://pypi.python.org/pypi/zc.recipe.filestorage/", "keywords": "zodb,zc.buildout", "license": "ZPL 2.1", "maintainer": null, "maintainer_email": null, "name": "zc.recipe.filestorage", "package_url": "https://pypi.org/project/zc.recipe.filestorage/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/zc.recipe.filestorage/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/zc.recipe.filestorage/" }, "release_url": "https://pypi.org/project/zc.recipe.filestorage/1.1.2/", "requires_dist": null, "requires_python": null, "summary": "ZC Buildout recipe for defining a file-storage", "version": "1.1.2" }, "last_serial": 1007339, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "d8c24014c37829c720e33b7fcae484ca", "sha256": "79aabd5003909f2b7b06fc769573f6e9c478148903e9c0f13a2ed7acb7ffa070" }, "downloads": -1, "filename": "zc.recipe.filestorage-1.0.0.tar.gz", "has_sig": false, "md5_digest": "d8c24014c37829c720e33b7fcae484ca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3926, "upload_time": "2007-11-03T19:25:45", "url": "https://files.pythonhosted.org/packages/5f/83/fad14a05ca54ac1a32f4d08aec1e9e0570ae4cf30c2d3a90ba8d5096cf5a/zc.recipe.filestorage-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "d1712c26fd583de4175747108a5c92f2", "sha256": "646f1f47c684c6ea4afe5d7ea4fa763a7b0a0159530d796d51312db91f07cd96" }, "downloads": -1, "filename": "zc.recipe.filestorage-1.0.1.tar.gz", "has_sig": false, "md5_digest": "d1712c26fd583de4175747108a5c92f2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3916, "upload_time": "2008-02-28T08:08:39", "url": "https://files.pythonhosted.org/packages/85/0a/f5243a020b169e55827637fa046ef7a6acfe8584160c7813cb0b9a9ce2d3/zc.recipe.filestorage-1.0.1.tar.gz" } ], "1.0a1": [ { "comment_text": "", "digests": { "md5": "9632cd38154462939dec9178a81786dd", "sha256": "5e71eb0823cca65a1dcc016622ad4b0329cb08507e4508cdf2958e4bd78a7d05" }, "downloads": -1, "filename": "zc.recipe.filestorage-1.0a1-py2.3.egg", "has_sig": false, "md5_digest": "9632cd38154462939dec9178a81786dd", "packagetype": "bdist_egg", "python_version": "2.3", "requires_python": null, "size": 13366, "upload_time": "2006-08-10T17:33:09", "url": "https://files.pythonhosted.org/packages/52/04/322ff9a685b7f316f14b77d09ad0c1aa99c955b758a1b65cb6ee3f32e43e/zc.recipe.filestorage-1.0a1-py2.3.egg" }, { "comment_text": "", "digests": { "md5": "59fab01f1a330874e402ab9bfc2858cb", "sha256": "66d49036c1138b91d15bedcff73f8fc125eb57fba82307c748d3b8b5a6ec779d" }, "downloads": -1, "filename": "zc.recipe.filestorage-1.0a1-py2.4.egg", "has_sig": false, "md5_digest": "59fab01f1a330874e402ab9bfc2858cb", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 6923, "upload_time": "2006-08-10T17:34:42", "url": "https://files.pythonhosted.org/packages/4f/c6/3a22d799512a5840a5ff2f15a7c05def5fbed1ff05b16dc31bb5bd09cae1/zc.recipe.filestorage-1.0a1-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "52625ee6ff1ef854d2bdcf47a7cdada2", "sha256": "c285bfbe848bc1e012b1ab256121c074ee897d96651623f61adae69e07cf78ca" }, "downloads": -1, "filename": "zc.recipe.filestorage-1.0a1.tar.gz", "has_sig": false, "md5_digest": "52625ee6ff1ef854d2bdcf47a7cdada2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3033, "upload_time": "2006-08-10T17:33:08", "url": "https://files.pythonhosted.org/packages/84/5b/5044014cf95481246e9b29c712140569a9cac11b6d692fc81cad3b81a3fc/zc.recipe.filestorage-1.0a1.tar.gz" } ], "1.0a2": [ { "comment_text": "", "digests": { "md5": "a15f5f08ec306b37c21bd8fc40db282d", "sha256": "81426c01b28d5e1a890884b5772e0babd3b15228eae9e9981a3b01322681072a" }, "downloads": -1, "filename": "zc.recipe.filestorage-1.0a2.tar.gz", "has_sig": false, "md5_digest": "a15f5f08ec306b37c21bd8fc40db282d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3048, "upload_time": "2007-01-07T18:08:48", "url": "https://files.pythonhosted.org/packages/7a/35/06d9ab7c54026586b4c570006e35ae281453e1e92d330e4b7496f04fe2e3/zc.recipe.filestorage-1.0a2.tar.gz" } ], "1.0a3": [ { "comment_text": "", "digests": { "md5": "981e1016b54bc81d2a092ed99214745d", "sha256": "16e59676c26c880ef36f2100b8dc55f57775351f177ec78779d259f4b5269715" }, "downloads": -1, "filename": "zc.recipe.filestorage-1.0a3.tar.gz", "has_sig": false, "md5_digest": "981e1016b54bc81d2a092ed99214745d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3055, "upload_time": "2007-01-07T18:13:24", "url": "https://files.pythonhosted.org/packages/1f/97/5db11ff98f6ebdccf804c3abfaa92747607e640bd06e0989a39da299ed6f/zc.recipe.filestorage-1.0a3.tar.gz" } ], "1.0a4": [ { "comment_text": "", "digests": { "md5": "7124b9f3ae16b28b153b40dbb0657858", "sha256": "06826bf01079cdb97c0b03a665b743cb80d252f6f30e4c0fb8270df81c934c6e" }, "downloads": -1, "filename": "zc.recipe.filestorage-1.0a4.tar.gz", "has_sig": false, "md5_digest": "7124b9f3ae16b28b153b40dbb0657858", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3064, "upload_time": "2007-01-07T18:14:56", "url": "https://files.pythonhosted.org/packages/2e/f9/94ccb8e751c4f8ea8726f33b2c4cd04c4c5efda0218e13e1fc2eeb8c5663/zc.recipe.filestorage-1.0a4.tar.gz" } ], "1.0a5": [ { "comment_text": "", "digests": { "md5": "168f0fcdc682e33544182a5f166ac4d2", "sha256": "79079f071a16c0c552619b8c3f28e449041bc0dd6c38805e92c99c475c9d63a8" }, "downloads": -1, "filename": "zc.recipe.filestorage-1.0a5.tar.gz", "has_sig": false, "md5_digest": "168f0fcdc682e33544182a5f166ac4d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3076, "upload_time": "2007-01-07T18:16:34", "url": "https://files.pythonhosted.org/packages/82/37/ac16109f542e10cc77cb774984b45add13e70851afccf1213d1ff27e790f/zc.recipe.filestorage-1.0a5.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "be5c142dd043b84de106ef7af8bae027", "sha256": "de23bd9efae7db687461cb252a7191e16a443eb78a3bf512dbd547a21953f25d" }, "downloads": -1, "filename": "zc.recipe.filestorage-1.1.0.tar.gz", "has_sig": false, "md5_digest": "be5c142dd043b84de106ef7af8bae027", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3878, "upload_time": "2014-02-14T10:43:47", "url": "https://files.pythonhosted.org/packages/aa/2b/5e5211de88f0e08c78885b557c7e8d14ec12f83e8ff4492e128576d41ad9/zc.recipe.filestorage-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "2814ea19cdf4fa9bca210ae1fe139122", "sha256": "0ceb5cf52f1f5c18d27ac5a5e4e5bfa77facc9e942d1ac451d2ea478a108e25e" }, "downloads": -1, "filename": "zc.recipe.filestorage-1.1.1.tar.gz", "has_sig": false, "md5_digest": "2814ea19cdf4fa9bca210ae1fe139122", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5159, "upload_time": "2014-02-16T16:06:25", "url": "https://files.pythonhosted.org/packages/3d/7c/d85f916e6d207697cf2ac9c4ba4bade63c549cf46b0aa01e37243fbfe4f9/zc.recipe.filestorage-1.1.1.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "85340a1166b04e3a564b2d299b215c16", "sha256": "a6e678ea5e1957888ed678ca4e48fd8ed17cae22ebcd8a411bb1769b61cb26bd" }, "downloads": -1, "filename": "zc.recipe.filestorage-1.1.2.zip", "has_sig": false, "md5_digest": "85340a1166b04e3a564b2d299b215c16", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13419, "upload_time": "2014-02-21T09:40:37", "url": "https://files.pythonhosted.org/packages/0e/ed/7ec75ff345052ef9891991705331ed317f72a33a4dfcc72e0239adde2a13/zc.recipe.filestorage-1.1.2.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "85340a1166b04e3a564b2d299b215c16", "sha256": "a6e678ea5e1957888ed678ca4e48fd8ed17cae22ebcd8a411bb1769b61cb26bd" }, "downloads": -1, "filename": "zc.recipe.filestorage-1.1.2.zip", "has_sig": false, "md5_digest": "85340a1166b04e3a564b2d299b215c16", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13419, "upload_time": "2014-02-21T09:40:37", "url": "https://files.pythonhosted.org/packages/0e/ed/7ec75ff345052ef9891991705331ed317f72a33a4dfcc72e0239adde2a13/zc.recipe.filestorage-1.1.2.zip" } ] }