{ "info": { "author": "Andres Buritica", "author_email": "andres@thelinuxkid.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 2.7" ], "description": "========\ntempdirs\n========\n\nDescription\n===========\n\ntempdirs is a library which allows users to safely and cleanly create\nany number of temporary directories. Temporary directories are\nautomatically deleted. It was created as a testing utility.\n\nInstallation\n============\n\nInstall using pip::\n\n pip install pyusps\n\nor easy_install::\n\n easy_install pyusps\n\nExamples\n========\n\nYou can tempdirs.makedirs as a decorator passing in the number of\ntemporary directories needed::\n\n import os\n\n import tempdirs\n\n @tempdirs.makedirs(2)\n def test_foo(**kwargs):\n (srcdir, dstdir) = kwargs['tempdirs_dirs']\n srcfile = os.path.join(srcdir,'foo')\n dstfile = os.path.join(dstdir,'bar')\n with open(srcfile, 'w') as fp:\n fp.write('src content\\n')\n with open(dstfile, 'w') as fp:\n fp.write('dst content\\n')\n\nYou can also use tempdirs.makedirs as a Context Manager::\n\n import os\n\n import tempdirs\n\n with tempdirs.makedirs(2) as (srcdir, dstdir):\n srcfile = os.path.join(srcdir,'foo')\n dstfile = os.path.join(dstdir,'bar')\n with open(srcfile, 'w') as fp:\n fp.write('src content\\n')\n with open(dstfile, 'w') as fp:\n fp.write('dst content\\n')\n\nDeveloping\n==========\n\nExternal dependencies\n---------------------\n\n - python-dev\n - python-setuptools\n - python-virtualenv\n\nSetup\n-----\n\nTo start developing run the following commands from the project's base\ndirectory. You can download the source from\nhttps://github.com/thelinuxkid/tempdirs::\n\n # I like to install the virtual environment in a hidden repo.\n virtualenv .virtual\n # I leave the magic to Ruby developers (.virtual/bin/activate)\n .virtual/bin/python setup.py develop", "description_content_type": null, "docs_url": "https://pythonhosted.org/tempdirs/", "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/thelinuxkid/tempdirs", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "tempdirs", "package_url": "https://pypi.org/project/tempdirs/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/tempdirs/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/thelinuxkid/tempdirs" }, "release_url": "https://pypi.org/project/tempdirs/0.0.8/", "requires_dist": null, "requires_python": null, "summary": "tempdirs -- Safely create temporary directories", "version": "0.0.8" }, "last_serial": 769616, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "5293ee2195e88f12276d8a168450ea13", "sha256": "20a9042ed69307ad1a554ea234c2422d06581ba653810a415dd08f85ba63262c" }, "downloads": -1, "filename": "tempdirs-0.0.1.tar.gz", "has_sig": false, "md5_digest": "5293ee2195e88f12276d8a168450ea13", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1264, "upload_time": "2012-10-02T06:56:22", "url": "https://files.pythonhosted.org/packages/04/d1/7944fd1a5f3725df3ccf9ad4ed58c7d8f3de78fdfac84a0188b08b86f6fe/tempdirs-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "2253a0c3f94125cd04b7bb1835fe105e", "sha256": "a96eb03100a8e74aa29b03be0ff351cf6cec3f96cb707df10328eaf6812a7e77" }, "downloads": -1, "filename": "tempdirs-0.0.2.tar.gz", "has_sig": false, "md5_digest": "2253a0c3f94125cd04b7bb1835fe105e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1266, "upload_time": "2012-10-03T05:19:37", "url": "https://files.pythonhosted.org/packages/b8/4b/bd833c115e0407f53d1222a519f31f379655158be42072fae8ab17aab1bc/tempdirs-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "23622eaebc59379afc8fe22b9a6bd27e", "sha256": "0576d88d5e86aaca46af237b02217d4584c1989a4290ee232efaab81338d6c52" }, "downloads": -1, "filename": "tempdirs-0.0.3.tar.gz", "has_sig": false, "md5_digest": "23622eaebc59379afc8fe22b9a6bd27e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1501, "upload_time": "2012-10-18T07:01:30", "url": "https://files.pythonhosted.org/packages/59/a0/8c10929a4badf8a33fda7468a16510539c188e60d63794a6864744583602/tempdirs-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "5d39bca99fe96f71b143ce636202abe9", "sha256": "88a2dcab95503242fa70019f5bd89d0227f6445d3c1917e8a79fc5fb436a3e62" }, "downloads": -1, "filename": "tempdirs-0.0.4.tar.gz", "has_sig": false, "md5_digest": "5d39bca99fe96f71b143ce636202abe9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1659, "upload_time": "2012-10-20T04:07:43", "url": "https://files.pythonhosted.org/packages/6e/72/4acdb93b4da4f7287d59b25d056b03013e6d8dcbe0b70d07cc4548257994/tempdirs-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "8ea183f5efea4c70989856388b45c332", "sha256": "172d1bfcf1a148c29a4542616a3eb779cd7e19a7f4f739297cd911103eb5c714" }, "downloads": -1, "filename": "tempdirs-0.0.5.tar.gz", "has_sig": false, "md5_digest": "8ea183f5efea4c70989856388b45c332", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1951, "upload_time": "2012-10-20T06:07:01", "url": "https://files.pythonhosted.org/packages/f1/2d/254123af71ae95228a888401a04670af7af6798da38442475c2541d6dacd/tempdirs-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "849b6af7965e1e3780085363d36d74ef", "sha256": "a7fbca8639ad1cd472fa66a3d25b4dcaa0f500c4724601b22e2f1fd69979726e" }, "downloads": -1, "filename": "tempdirs-0.0.6.tar.gz", "has_sig": false, "md5_digest": "849b6af7965e1e3780085363d36d74ef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3416, "upload_time": "2012-10-20T09:07:28", "url": "https://files.pythonhosted.org/packages/d5/1a/55326b74490b6b1b93ca4281db1de8e34d677a408c8c89c08663441970ad/tempdirs-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "9f2561441b8332ff1bb3ee3a30e9fb70", "sha256": "ea3ae182c6cddcc2c315942bf1a8d17934bf6a32e4b6167a0f00df57f85a4027" }, "downloads": -1, "filename": "tempdirs-0.0.7.tar.gz", "has_sig": false, "md5_digest": "9f2561441b8332ff1bb3ee3a30e9fb70", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3305, "upload_time": "2012-10-29T20:54:18", "url": "https://files.pythonhosted.org/packages/37/71/377f4f1becaeb9056fddfe9687808d05fb7febb5db93b62f0fe6d05e8736/tempdirs-0.0.7.tar.gz" } ], "0.0.7.1": [ { "comment_text": "", "digests": { "md5": "cbd06416a0e6cc03319a45197192e397", "sha256": "8576c3c82872085da8ad9f94ffd035dbad0475a642762326f6ebf368e9b6f684" }, "downloads": -1, "filename": "tempdirs-0.0.7.1.tar.gz", "has_sig": false, "md5_digest": "cbd06416a0e6cc03319a45197192e397", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3125, "upload_time": "2012-10-29T20:59:27", "url": "https://files.pythonhosted.org/packages/c3/ee/3f4fd9be308e3d3ff168769064a573829e169774d0c641497453f0855ed3/tempdirs-0.0.7.1.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "0af52d28a7b8fd0fa8e30eeb3f575c44", "sha256": "9f29a34c6435a6101a03222b9d073f9a8c9f1e30b10d08dbaf173f6c294565c6" }, "downloads": -1, "filename": "tempdirs-0.0.8.tar.gz", "has_sig": false, "md5_digest": "0af52d28a7b8fd0fa8e30eeb3f575c44", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3124, "upload_time": "2012-11-10T02:05:26", "url": "https://files.pythonhosted.org/packages/74/3f/1d5d1859a79fcdfc2f054efaeeebdcd9b448b43e167f95d8aa1571a1cf09/tempdirs-0.0.8.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0af52d28a7b8fd0fa8e30eeb3f575c44", "sha256": "9f29a34c6435a6101a03222b9d073f9a8c9f1e30b10d08dbaf173f6c294565c6" }, "downloads": -1, "filename": "tempdirs-0.0.8.tar.gz", "has_sig": false, "md5_digest": "0af52d28a7b8fd0fa8e30eeb3f575c44", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3124, "upload_time": "2012-11-10T02:05:26", "url": "https://files.pythonhosted.org/packages/74/3f/1d5d1859a79fcdfc2f054efaeeebdcd9b448b43e167f95d8aa1571a1cf09/tempdirs-0.0.8.tar.gz" } ] }