{ "info": { "author": "Anton Simernia", "author_email": "anton.simernya@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Topic :: Database", "Topic :: Software Development :: Testing" ], "description": "Fixture Generator for `Fixture `__\n=========================================================================\n\n|Build Status|\\ |Coverage Status|\n\nSupports only SQLAlchemy\n\nInstall\n-------\n\nUsing pip\n\n.. code:: sh\n\n pip install fixturegen\n\nOr using easy\\_install\n\n.. code:: sh\n\n easy_install fixturegen\n\nUsage\n-----\n\nBasic\n\n.. code:: sh\n\n $ fixturegen-sqlalchemy mysql://user:password@localhost/your_db user\n from fixture import DataSet\n\n class UserData(DataSet):\n class user_1:\n id = 1\n name = u'first'\n class user_2:\n id = 2\n name = u'second'\n class user_3:\n id = 3\n name = u'third'\n\nLimiting\n\n.. code:: sh\n\n $ fixturegen-sqlalchemy mysql://user:password@localhost/your_db user --limit=2 \n from fixture import DataSet\n\n class UserData(DataSet):\n class user_1:\n id = 1\n name = u'first'\n class user_2:\n id = 2\n name = u'second'\n\nOrdering\n\n.. code:: sh\n\n $ fixturegen-sqlalchemy mysql://user:password@localhost/your_db user --order-by='id DESC'\n from fixture import DataSet\n\n class UserData(DataSet):\n class user_3:\n id = 3\n name = u'third'\n class user_2:\n id = 2\n name = u'second'\n class user_1:\n id = 1\n name = u'first'\n\nFiltering\n\n.. code:: sh\n\n $ fixturegen-sqlalchemy mysql://user:password@localhost/your_db user --where='id > 1'\n from fixture import DataSet\n\n class UserData(DataSet):\n class user_2:\n id = 2\n name = u'second'\n\nHide import statement\n\n.. code:: sh\n\n $ fixturegen-sqlalchemy mysql://user:password@localhost/your_db user --limit=1 --without-import\n class UserData(DataSet):\n class user_1:\n id = 1\n name = u'first'\n\nCustom fixture class name:\n\n.. code:: sh\n\n $ fixturegen-sqlalchemy mysql://user:password@localhost/your_db user --fixture-class-name DummyData --limit=1\n class Dummy(DataSet):\n class user_1:\n id = 1\n name = u'first'\n\nCustom row class naming:\n\n.. code:: sh\n\n $ fixturegen-sqlalchemy mysql://user:password@localhost/your_db user --naming-row-columns=id,name --limit=1\n class Dummy(DataSet):\n class user_1_first:\n id = 1\n name = u'first'\n\nHelp\n\n.. code:: sh\n\n $ fixturegen-sqlalchemy --help\n\n.. |Build Status| image:: https://travis-ci.org/anton44eg/fixturegen.svg?branch=master\n :target: https://travis-ci.org/anton44eg/fixturegen\n.. |Coverage Status| image:: https://coveralls.io/repos/anton44eg/fixturegen/badge.svg\n :target: https://coveralls.io/r/anton44eg/fixturegen", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/anton44eg/fixturegen/archive/0.8.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/anton44eg/fixturegen", "keywords": "fixture,sqlalchemy,testing", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "fixturegen", "package_url": "https://pypi.org/project/fixturegen/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/fixturegen/", "project_urls": { "Download": "https://github.com/anton44eg/fixturegen/archive/0.8.tar.gz", "Homepage": "https://github.com/anton44eg/fixturegen" }, "release_url": "https://pypi.org/project/fixturegen/0.8/", "requires_dist": null, "requires_python": null, "summary": "Fixture generator for fixture module", "version": "0.8" }, "last_serial": 1539984, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "9ffcab5c7886393e5b9cc6ca9a40fc09", "sha256": "3fd6f5977e5574ee850874ecfe4d8b640e2173919e3c417c20f10335d18f0e27" }, "downloads": -1, "filename": "fixturegen-0.2.tar.gz", "has_sig": false, "md5_digest": "9ffcab5c7886393e5b9cc6ca9a40fc09", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2530, "upload_time": "2015-05-04T11:16:08", "url": "https://files.pythonhosted.org/packages/1e/53/02e368915d78833c7e2f6741ff8f66a2fdac07d804c9184a90e313b32528/fixturegen-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "5d9638f8439e577ab23d749d8d047b9b", "sha256": "8eb2324de9a0b037c3d3952842a4f24bafe12c5aada76c2bca0a53a583f00018" }, "downloads": -1, "filename": "fixturegen-0.3.tar.gz", "has_sig": true, "md5_digest": "5d9638f8439e577ab23d749d8d047b9b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2572, "upload_time": "2015-05-04T17:27:51", "url": "https://files.pythonhosted.org/packages/97/10/521c054a6922df7471552b3eef43706f43a2e72b2cc284bb4552a6bc138e/fixturegen-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "fe2184fb2edfd95da7b960e621f6f6d7", "sha256": "dbe58bf0628747e93aea4f0e2edd803ce460f6ad5eddda769b1734ff63fe568c" }, "downloads": -1, "filename": "fixturegen-0.4.tar.gz", "has_sig": true, "md5_digest": "fe2184fb2edfd95da7b960e621f6f6d7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2732, "upload_time": "2015-05-05T09:27:27", "url": "https://files.pythonhosted.org/packages/c4/e3/65ad70882bf7b82745c4f02c44862290045244d33f50429b26e8c589dd70/fixturegen-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "963d147dcba8a5258424226e4439cc46", "sha256": "982780796d9936a4da5e2aefccc7cd621fc70ee7f7463d2920f82afe61e6d8df" }, "downloads": -1, "filename": "fixturegen-0.5.tar.gz", "has_sig": true, "md5_digest": "963d147dcba8a5258424226e4439cc46", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3095, "upload_time": "2015-05-06T10:12:46", "url": "https://files.pythonhosted.org/packages/a0/1f/72d9570078b3c87d197242b87e46c23b048eddc20d5b12d69c3631a52847/fixturegen-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "f78a42ac2140383364b1ee4568791b83", "sha256": "56d441abe27332b579158f39c458445743612e48a02d50c55b353c4aad041313" }, "downloads": -1, "filename": "fixturegen-0.6.tar.gz", "has_sig": true, "md5_digest": "f78a42ac2140383364b1ee4568791b83", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3863, "upload_time": "2015-05-07T08:45:14", "url": "https://files.pythonhosted.org/packages/ef/d6/7cbbe4adcb4b49becf9f65d11bdc8e66b66476c311a0fa8838b7a6df3c2c/fixturegen-0.6.tar.gz" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "340ef6e7457aa3ee1e5d9fb2190a9076", "sha256": "8157b871c95a1504fc3b78a57b34d2ccf630fe22da5ed580299227bd9434b557" }, "downloads": -1, "filename": "fixturegen-0.7.tar.gz", "has_sig": true, "md5_digest": "340ef6e7457aa3ee1e5d9fb2190a9076", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4120, "upload_time": "2015-05-08T09:39:01", "url": "https://files.pythonhosted.org/packages/10/d4/5be544ba874a53f0aeaceb567e137771f49d55abdff1e56c72af6a38ce04/fixturegen-0.7.tar.gz" } ], "0.8": [ { "comment_text": "", "digests": { "md5": "cc8ad1155df44268ab9719be7a121502", "sha256": "e995c609011cbd62a5168b4f33777bb2438ef5e4e4b9b8842f0195dff0a22328" }, "downloads": -1, "filename": "fixturegen-0.8.tar.gz", "has_sig": true, "md5_digest": "cc8ad1155df44268ab9719be7a121502", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4280, "upload_time": "2015-05-09T09:49:34", "url": "https://files.pythonhosted.org/packages/39/a1/611fed03d0ce5e916390b6559d9f38cbcc6dc33d8e8f628620f8e8c2f870/fixturegen-0.8.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cc8ad1155df44268ab9719be7a121502", "sha256": "e995c609011cbd62a5168b4f33777bb2438ef5e4e4b9b8842f0195dff0a22328" }, "downloads": -1, "filename": "fixturegen-0.8.tar.gz", "has_sig": true, "md5_digest": "cc8ad1155df44268ab9719be7a121502", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4280, "upload_time": "2015-05-09T09:49:34", "url": "https://files.pythonhosted.org/packages/39/a1/611fed03d0ce5e916390b6559d9f38cbcc6dc33d8e8f628620f8e8c2f870/fixturegen-0.8.tar.gz" } ] }