{ "info": { "author": "Mathias Seidler", "author_email": "seishin@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta" ], "description": "nicedjango\r\n==========\r\n\r\nNice django tools\r\n\r\n|Build Status| |Coveralls| |Documentation Status| |Requirements Status|\r\n|Downloads| |Latest Version| |Supported Python versions|\r\n|Supported Python implementations| |Development Status| |Wheel Status|\r\n|Egg Status| |Download format| |License|\r\n\r\n_`ModelGraph`\r\n=============\r\nSelective dumping and loading of only the needed model data for all objects and their related\r\nobjects of one or more querysets.\r\n\r\nThis is done by\r\n\r\n * getting a graph of all relations between models,\r\n * getting all pks first in chunks,\r\n * dump them in an order that enables correct loading.\r\n\r\n_`Examples`\r\n-----------\r\n\r\n::\r\n \r\n # show model graph parts that would be dumped and those which not:\r\n # example for query model a1.A with relation to child a1.B(A)\r\n ./manage.py dump_graph -p -q a -r a.b\r\n a1-a:\r\n a1-a.b to child a1-b.pk\r\n excludes:\r\n a1-a.f to foreign a1-f.a\r\n a1-b:\r\n a1-b.pk to parent a1-a.pk\r\n excludes:\r\n a1-b.c to child a1-c.pk\r\n a1-b.e to child a1-e.pk\r\n \r\n # dump all objects from a1.models.A.objects.filter() with relation a.b as compact yaml:\r\n ./manage.py dump_graph -f dump.yaml -s compact_yaml -q a.filter(pk__in=(1,2)) -r a.b\r\n - a1-a: [pk]\r\n - [1]\r\n - [2]\r\n - a1-b: [pk]\r\n - [2]\r\n\r\n # load back the dumped dump.yaml\r\n ./manage.py load_graph -f dump.yaml -s compact_yaml\r\n \r\n # by default serializing into compact csv files is enabled:\r\n mkdir dump_folder\r\n ./manage.py dump_graph -f dump_folder -q a.filter(pk__in=(1,2)) -r a.b\r\n #results in two files under dump_folder:\r\n # a1-a.csv:\r\n a1-a:pk\r\n 1\r\n 2\r\n # and a1-b.csv:\r\n a1-b:pk\r\n 2\r\n\r\n.. |Build Status| image:: https://travis-ci.org/katakumpo/nicedjango.svg\r\n :target: https://travis-ci.org/katakumpo/nicedjango\r\n.. |Coveralls| image:: https://coveralls.io/repos/katakumpo/nicedjango/badge.png?branch=master\r\n :target: https://coveralls.io/r/katakumpo/nicedjango?branch=master\r\n.. |Downloads| image:: https://pypip.in/download/nicedjango/badge.svg\r\n :target: https://pypi.python.org/pypi/nicedjango/\r\n.. |Latest Version| image:: https://pypip.in/version/nicedjango/badge.svg\r\n :target: https://pypi.python.org/pypi/nicedjango/\r\n.. |Supported Python versions| image:: https://pypip.in/py_versions/nicedjango/badge.svg\r\n :target: https://pypi.python.org/pypi/nicedjango/\r\n.. |Supported Python implementations| image:: https://pypip.in/implementation/nicedjango/badge.svg\r\n :target: https://pypi.python.org/pypi/nicedjango/\r\n.. |Development Status| image:: https://pypip.in/status/nicedjango/badge.svg\r\n :target: https://pypi.python.org/pypi/nicedjango/\r\n.. |Wheel Status| image:: https://pypip.in/wheel/nicedjango/badge.svg\r\n :target: https://pypi.python.org/pypi/nicedjango/\r\n.. |Egg Status| image:: https://pypip.in/egg/nicedjango/badge.svg\r\n :target: https://pypi.python.org/pypi/nicedjango/\r\n.. |Download format| image:: https://pypip.in/format/nicedjango/badge.svg\r\n :target: https://pypi.python.org/pypi/nicedjango/\r\n.. |License| image:: https://pypip.in/license/nicedjango/badge.svg\r\n :target: https://pypi.python.org/pypi/nicedjango/\r\n.. |Documentation Status| image:: https://readthedocs.org/projects/nicedjango-py/badge/?version=latest\r\n :target: https://nicedjango-py.readthedocs.org/en/latest/\r\n.. |Codeship| image:: https://www.codeship.io/projects/c6e982d0-493e-0132-73e9-7e9eac026bf8/status\r\n :target: https://www.codeship.io/projects/46084\r\n.. |Requirements Status| image:: https://requires.io/github/katakumpo/nicedjango/requirements.svg?branch=master\r\n :target: https://requires.io/github/katakumpo/nicedjango/requirements/?branch=master", "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/katakumpo/nicedjango", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "nicedjango", "package_url": "https://pypi.org/project/nicedjango/", "platform": "any", "project_url": "https://pypi.org/project/nicedjango/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/katakumpo/nicedjango" }, "release_url": "https://pypi.org/project/nicedjango/1.2.0/", "requires_dist": null, "requires_python": null, "summary": "Nice extensions for django", "version": "1.2.0" }, "last_serial": 2026428, "releases": { "1.1.0": [ { "comment_text": "", "digests": { "md5": "b51175b39ccef035b7cd592fb8d2d51e", "sha256": "f3f61f478a312e072d6708e2ea1bac9640eb124c2a2ff06a2c32f48c2bdc7ba1" }, "downloads": -1, "filename": "nicedjango-1.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b51175b39ccef035b7cd592fb8d2d51e", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 12718, "upload_time": "2014-11-08T06:19:37", "url": "https://files.pythonhosted.org/packages/68/36/fb43f29bb16dca603c70023de7de50ee71fe2eb4845f3164bc7fc8f0ac06/nicedjango-1.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1f88b1b1744667c573e9ab88770dfb9c", "sha256": "5ba268df65903cee40e197ee53999163620f515c9bda5715eab21bc720b84dd3" }, "downloads": -1, "filename": "nicedjango-1.1.0.tar.bz2", "has_sig": false, "md5_digest": "1f88b1b1744667c573e9ab88770dfb9c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13167, "upload_time": "2014-11-08T09:15:48", "url": "https://files.pythonhosted.org/packages/80/ff/50e5ce6acea0823b7523a3ad6fb0a261473a7529097a600156c1f13217fe/nicedjango-1.1.0.tar.bz2" }, { "comment_text": "", "digests": { "md5": "c3a74456ae40301e4cff714f67100d17", "sha256": "27cd22776b4a05eb0f8e4b22b9ed3ee68a29a649cd09f2e8d7a9a34094ad4ca5" }, "downloads": -1, "filename": "nicedjango-1.1.0.tar.gz", "has_sig": false, "md5_digest": "c3a74456ae40301e4cff714f67100d17", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15096, "upload_time": "2014-11-08T06:19:20", "url": "https://files.pythonhosted.org/packages/4f/10/24a6a327e0c955337b3bb5da7459f399d49956e86d4cd750d7afea4bcd4a/nicedjango-1.1.0.tar.gz" }, { "comment_text": "", "digests": { "md5": "c4727a8648a25f74ab488c33c4e8c9b8", "sha256": "eeee18956bf3df6391916dd0b27d910650881d2a6b45169745741684472396ef" }, "downloads": -1, "filename": "nicedjango-1.1.0.zip", "has_sig": false, "md5_digest": "c4727a8648a25f74ab488c33c4e8c9b8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24522, "upload_time": "2014-11-08T09:15:51", "url": "https://files.pythonhosted.org/packages/96/3a/c93e270b1001e323176d060834701ddaace0e4c7fffec0c27a61bf75f174/nicedjango-1.1.0.zip" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "21b2ea1996b723a24fafb6264f7821a0", "sha256": "c4f69358f6f63ae1bf4a021c6fecffa038ca6bc3084a39ec9e2312d513196155" }, "downloads": -1, "filename": "nicedjango-1.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "21b2ea1996b723a24fafb6264f7821a0", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 28964, "upload_time": "2014-11-24T21:45:17", "url": "https://files.pythonhosted.org/packages/b6/19/c960e83119d2240eb919f0ccb6e2397376841cc3e962530fe3396972b076/nicedjango-1.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3116b3a68a1189901e51342969554992", "sha256": "e05ff7fa9561bc57dae3327ab9fb6b230cb719f8bdf250c12dfeea1d6e0657d6" }, "downloads": -1, "filename": "nicedjango-1.2.0.tar.bz2", "has_sig": false, "md5_digest": "3116b3a68a1189901e51342969554992", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23381, "upload_time": "2014-11-24T21:44:28", "url": "https://files.pythonhosted.org/packages/bc/a1/f71493c70e386ba679ca638a73f05fcf2e09bd4e635319297184137dc2d7/nicedjango-1.2.0.tar.bz2" }, { "comment_text": "", "digests": { "md5": "4b3cc37c2a311bbfb6b1e99719e00c69", "sha256": "a24678ff1b235aabb1db1d7bf3dacca9e4055db5e1ad7641c21f71e987283fce" }, "downloads": -1, "filename": "nicedjango-1.2.0.tar.gz", "has_sig": false, "md5_digest": "4b3cc37c2a311bbfb6b1e99719e00c69", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28599, "upload_time": "2014-11-24T21:44:34", "url": "https://files.pythonhosted.org/packages/a4/ee/7c29da9a5369a7d6591a7a959c957b990f2bbc64939d8940240602a481d1/nicedjango-1.2.0.tar.gz" }, { "comment_text": "", "digests": { "md5": "553839328f6840efbbc0ef95db9aa51c", "sha256": "7ba90635f2c4afa7d520c31d2ee6663a8761efa3f4c7c9ffda4c37004ecc5744" }, "downloads": -1, "filename": "nicedjango-1.2.0.zip", "has_sig": false, "md5_digest": "553839328f6840efbbc0ef95db9aa51c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 46891, "upload_time": "2014-11-24T21:44:31", "url": "https://files.pythonhosted.org/packages/c8/c7/5a67884ffe1dac49a9ab06d2ceadeab1aa0b31ed27630f5c3a76b6ec0c90/nicedjango-1.2.0.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "21b2ea1996b723a24fafb6264f7821a0", "sha256": "c4f69358f6f63ae1bf4a021c6fecffa038ca6bc3084a39ec9e2312d513196155" }, "downloads": -1, "filename": "nicedjango-1.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "21b2ea1996b723a24fafb6264f7821a0", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 28964, "upload_time": "2014-11-24T21:45:17", "url": "https://files.pythonhosted.org/packages/b6/19/c960e83119d2240eb919f0ccb6e2397376841cc3e962530fe3396972b076/nicedjango-1.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3116b3a68a1189901e51342969554992", "sha256": "e05ff7fa9561bc57dae3327ab9fb6b230cb719f8bdf250c12dfeea1d6e0657d6" }, "downloads": -1, "filename": "nicedjango-1.2.0.tar.bz2", "has_sig": false, "md5_digest": "3116b3a68a1189901e51342969554992", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23381, "upload_time": "2014-11-24T21:44:28", "url": "https://files.pythonhosted.org/packages/bc/a1/f71493c70e386ba679ca638a73f05fcf2e09bd4e635319297184137dc2d7/nicedjango-1.2.0.tar.bz2" }, { "comment_text": "", "digests": { "md5": "4b3cc37c2a311bbfb6b1e99719e00c69", "sha256": "a24678ff1b235aabb1db1d7bf3dacca9e4055db5e1ad7641c21f71e987283fce" }, "downloads": -1, "filename": "nicedjango-1.2.0.tar.gz", "has_sig": false, "md5_digest": "4b3cc37c2a311bbfb6b1e99719e00c69", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28599, "upload_time": "2014-11-24T21:44:34", "url": "https://files.pythonhosted.org/packages/a4/ee/7c29da9a5369a7d6591a7a959c957b990f2bbc64939d8940240602a481d1/nicedjango-1.2.0.tar.gz" }, { "comment_text": "", "digests": { "md5": "553839328f6840efbbc0ef95db9aa51c", "sha256": "7ba90635f2c4afa7d520c31d2ee6663a8761efa3f4c7c9ffda4c37004ecc5744" }, "downloads": -1, "filename": "nicedjango-1.2.0.zip", "has_sig": false, "md5_digest": "553839328f6840efbbc0ef95db9aa51c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 46891, "upload_time": "2014-11-24T21:44:31", "url": "https://files.pythonhosted.org/packages/c8/c7/5a67884ffe1dac49a9ab06d2ceadeab1aa0b31ed27630f5c3a76b6ec0c90/nicedjango-1.2.0.zip" } ] }