{ "info": { "author": "Rapha\u00ebl Barrois", "author_email": "raphael.barrois+fboy@polytechnique.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "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", "Programming Language :: Python :: 3.4", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Testing" ], "description": "django_factory_boy\n==================\n\nWhen testing a ``django`` app, a common case is to create some data,\nthen test app behavior around that test data.\nThis is usually `done with fixtures`_, but `this includes some pain`_.\n\n`factory_boy`_ is useful for concisely creating objects, particularly for test data.\n\nThis project will supply factory_boy classes for each model Django ships.\nThe factories are named after the class it constructs.\nFor example, a factory for ``django.contrib.auth.models.User`` is available at ``django_factory_boy.auth.UserFactory``.\n\nSee ``factory_boy`` for detailed docs, but all fields are given default values which can be overriden by passing keyword arguments to the constructor. For example::\n\n from django_factory_boy import auth as auth_factories\n user = auth_factories.UserFactory(first_name=\"test\")\n\nwould result in a saved ``User`` instance whose ``first_name`` is set to ``\"test\"``.\n\nThe resulting objects are normal ``django`` model instances, so once they are constructed you can use them in the normal ways.\n\nNot all ``django`` models have been added yet; if you need one, open an issue or a pull request. Currently supported:\n\n- contrib.auth (``UserFactory``, ``GroupFactory``, ``PermissionFactory``)\n- contrib.sites (``SiteFactory``)\n\n\nThis project intends to support all Python versions which Django does - 2.6 - 3.4 as of Django 1.6.\nIt supports all Django versions from 1.6 onwards.\n\n.. _`factory_boy`: https://github.com/rbarrois/factory_boy\n.. _`done with fixtures`: https://docs.djangoproject.com/en/1.3/topics/testing/#fixture-loading\n.. _`this includes some pain`: http://groups.google.com/group/django-developers/browse_thread/thread/d9a9ca573dfb6f87\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/rbarrois/django-factory_boy", "keywords": "factory_boy,django,fixtures", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "django-factory_boy", "package_url": "https://pypi.org/project/django-factory_boy/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-factory_boy/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/rbarrois/django-factory_boy" }, "release_url": "https://pypi.org/project/django-factory_boy/1.0.0/", "requires_dist": null, "requires_python": null, "summary": "Uses factory_boy to supply test data factory classes for all stock Django models.", "version": "1.0.0" }, "last_serial": 1779040, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "336a8728b111a44307a612e8757ca109", "sha256": "4c86d190a8b56dbaee8a4780c3a53cc1b765fe1e4932b872fd659343d0ee8a4d" }, "downloads": -1, "filename": "django-factory_boy-0.1.1.tar.gz", "has_sig": false, "md5_digest": "336a8728b111a44307a612e8757ca109", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3147, "upload_time": "2011-12-20T01:55:36", "url": "https://files.pythonhosted.org/packages/6d/63/f9ed42090b4086c210cfb4768e5f39003e8498aba0fc85e34c63ef98e0a2/django-factory_boy-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "68480fd2570c2f5e220dc020d0b6d09b", "sha256": "bc4f13519bc41564856ef45602b36eaded94db2c520b851f3f2bafb781dc1735" }, "downloads": -1, "filename": "django-factory_boy-0.1.2.tar.gz", "has_sig": false, "md5_digest": "68480fd2570c2f5e220dc020d0b6d09b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3158, "upload_time": "2011-12-21T00:45:05", "url": "https://files.pythonhosted.org/packages/ef/28/d6aa8319a172b7fbce001840c1c525d9022e02d3d503e1e99cb5533ed076/django-factory_boy-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "7dedf4fe5ecc51ab50dbf90b39245db2", "sha256": "ffe019264c770aad25b304fd7a59f300b5b03ca60833453130984ea72560e9aa" }, "downloads": -1, "filename": "django-factory_boy-0.1.3.tar.gz", "has_sig": false, "md5_digest": "7dedf4fe5ecc51ab50dbf90b39245db2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3238, "upload_time": "2011-12-21T01:58:55", "url": "https://files.pythonhosted.org/packages/33/a6/d6e9588fe0830954f36540d9ac70b25c513019d1e0eae0d1e33d8afbd609/django-factory_boy-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "858dec49fd1c9cd782edbf36583ea2f1", "sha256": "8aab4ba0e07aa501bc4719618ff53debff8566393c13044b71b7f2e97eb542d0" }, "downloads": -1, "filename": "django-factory_boy-0.1.4.tar.gz", "has_sig": false, "md5_digest": "858dec49fd1c9cd782edbf36583ea2f1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3244, "upload_time": "2011-12-23T20:02:32", "url": "https://files.pythonhosted.org/packages/8e/a4/2cb8834d55f73c3424f7c1e396d1eb9eaff5094fc85c500c421e55a7012b/django-factory_boy-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "4eaf6d89b0ced4cb74e3c9391ae489d1", "sha256": "37be1bbf3a0581627a2813a2c7784167ef722a591a763345543f887f1e74a201" }, "downloads": -1, "filename": "django-factory_boy-0.1.5.tar.gz", "has_sig": false, "md5_digest": "4eaf6d89b0ced4cb74e3c9391ae489d1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3676, "upload_time": "2012-01-28T12:06:34", "url": "https://files.pythonhosted.org/packages/49/65/7388786135b8af3ea2228c108ac3c6af871d15d4c8be1773b132548d822e/django-factory_boy-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "50a5af3561a595c62e65a1bdbfa4e2d9", "sha256": "dd7340ef9f16be3e536ca81e0bddf6af395970614e2d29b02f0182ea3fbcdbeb" }, "downloads": -1, "filename": "django-factory_boy-0.1.6.tar.gz", "has_sig": false, "md5_digest": "50a5af3561a595c62e65a1bdbfa4e2d9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3693, "upload_time": "2012-01-28T12:23:13", "url": "https://files.pythonhosted.org/packages/a4/c4/e31f98bd787533a053cb9065d93d4c92bd39ae3152e3bdbd95cdb20c94c1/django-factory_boy-0.1.6.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "f01adafb900694a7dfb59834279cff05", "sha256": "354a8a0d44509efd1067ccaab1139b11ab646734ab0b32a0c2d5339ddafd4847" }, "downloads": -1, "filename": "django_factory_boy-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f01adafb900694a7dfb59834279cff05", "packagetype": "bdist_wheel", "python_version": "3.3", "requires_python": null, "size": 4756, "upload_time": "2015-10-20T22:08:48", "url": "https://files.pythonhosted.org/packages/48/cd/8b621172685cb8ac312187c88d72d93c3a7f7773abb88481341b6dcbf626/django_factory_boy-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f51ec4f2678d2a63da06a129bcc8eb86", "sha256": "f1e08a8f6f11f59417f0e7d7cde1f2290ea16b94209cb89b72158c651f8d6d7f" }, "downloads": -1, "filename": "django-factory_boy-1.0.0.tar.gz", "has_sig": false, "md5_digest": "f51ec4f2678d2a63da06a129bcc8eb86", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3273, "upload_time": "2015-10-20T22:08:43", "url": "https://files.pythonhosted.org/packages/f8/f9/9ecedc33389c173b1b4f81a96302d505a65270940b0d9e4174f7f4a4bad1/django-factory_boy-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f01adafb900694a7dfb59834279cff05", "sha256": "354a8a0d44509efd1067ccaab1139b11ab646734ab0b32a0c2d5339ddafd4847" }, "downloads": -1, "filename": "django_factory_boy-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f01adafb900694a7dfb59834279cff05", "packagetype": "bdist_wheel", "python_version": "3.3", "requires_python": null, "size": 4756, "upload_time": "2015-10-20T22:08:48", "url": "https://files.pythonhosted.org/packages/48/cd/8b621172685cb8ac312187c88d72d93c3a7f7773abb88481341b6dcbf626/django_factory_boy-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f51ec4f2678d2a63da06a129bcc8eb86", "sha256": "f1e08a8f6f11f59417f0e7d7cde1f2290ea16b94209cb89b72158c651f8d6d7f" }, "downloads": -1, "filename": "django-factory_boy-1.0.0.tar.gz", "has_sig": false, "md5_digest": "f51ec4f2678d2a63da06a129bcc8eb86", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3273, "upload_time": "2015-10-20T22:08:43", "url": "https://files.pythonhosted.org/packages/f8/f9/9ecedc33389c173b1b4f81a96302d505a65270940b0d9e4174f7f4a4bad1/django-factory_boy-1.0.0.tar.gz" } ] }