{ "info": { "author": "Body Labs", "author_email": "paul.melnikow@bodylabs.com, alex@bodylabs.com, david.smith@bodylabs.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": "scratch-dir\n===========\n\nUnit test mixin which creates a scratch director. Sets\n``self.scratch_dir`` on initialization, and deletes it when finished.\n\n.. code:: py\n\n import unittest\n from scratch_dir import ScratchDirMixin\n\n class TestThing(CreateScratchDirectoryMixin, unittest.TestCase):\n def setUp(self):\n import json\n import os\n\n super(TestThing, self).setUp()\n\n self.local_json_file = self.get_tmp_path('example.json')\n json.dump({'a': 42}, self.local_json_file)\n\n print 'Example file written to scratch dir: {}'.format(self.scratch_dir)\n\nDevelopment\n-----------\n\n.. code:: sh\n\n pip install -r requirements_dev.txt\n rake lint\n\nContribute\n----------\n\n- Issue Tracker: https://github.com/bodylabs/scratch-dir/issues\n- Source Code: https://github.com/bodylabs/scratch-dir\n\nPull requests welcome!\n\nSupport\n-------\n\nIf you are having issues, please let us know.\n\nLicense\n-------\n\nThe project is licensed under the two-clause BSD license.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bodylabs/scratch-dir", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "scratch-dir", "package_url": "https://pypi.org/project/scratch-dir/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/scratch-dir/", "project_urls": { "Homepage": "https://github.com/bodylabs/scratch-dir" }, "release_url": "https://pypi.org/project/scratch-dir/1.0.0/", "requires_dist": null, "requires_python": "", "summary": "Unit test mixin which creates a scratch directory", "version": "1.0.0" }, "last_serial": 2118717, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "4d3cc3ee42e2e8b37293679cc53c4001", "sha256": "946c327fc508f5c590460f70f418a787960181ff724332f669a84c5e57405f9a" }, "downloads": -1, "filename": "scratch-dir-1.0.0.tar.gz", "has_sig": false, "md5_digest": "4d3cc3ee42e2e8b37293679cc53c4001", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2069, "upload_time": "2016-05-16T21:15:18", "url": "https://files.pythonhosted.org/packages/03/bf/df5bd4c9ba10e86607af608deb450b42f3551645dc63fb7c055c47fd1110/scratch-dir-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4d3cc3ee42e2e8b37293679cc53c4001", "sha256": "946c327fc508f5c590460f70f418a787960181ff724332f669a84c5e57405f9a" }, "downloads": -1, "filename": "scratch-dir-1.0.0.tar.gz", "has_sig": false, "md5_digest": "4d3cc3ee42e2e8b37293679cc53c4001", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2069, "upload_time": "2016-05-16T21:15:18", "url": "https://files.pythonhosted.org/packages/03/bf/df5bd4c9ba10e86607af608deb450b42f3551645dc63fb7c055c47fd1110/scratch-dir-1.0.0.tar.gz" } ] }