{ "info": { "author": "DISQUS", "author_email": "opensource@disqus.com", "bugtrack_url": null, "classifiers": [ "Framework :: Django", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "Operating System :: OS Independent", "Topic :: Software Development" ], "description": "----------------\ndjango-modeldict\n----------------\n\nModelDict is a very efficient way to store things like settings in your database. The entire model is transformed into a dictionary (lazily) as well as stored in your cache. It's invalidated only when it needs to be (both in process and based on ``CACHE_BACKEND``).\n\nQuick example usage. More docs to come (maybe?)::\n\n\n\tclass Setting(models.Model):\n\t key = models.CharField(max_length=32)\n\t value = models.CharField(max_length=200)\n\tsettings = ModelDict(Setting, key='key', value='value', instances=False)\n\t\n\t# access missing value\n\tsettings['foo']\n\t>>> KeyError\n\t\n\t# set the value\n\tsettings['foo'] = 'hello'\n\t\n\t# fetch the current value using either method\n\tSetting.objects.get(key='foo').value\n\t>>> 'hello'\n\t\n\tsettings['foo']\n\t>>> 'hello'\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/disqus/django-modeldict/", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "django-modeldict", "package_url": "https://pypi.org/project/django-modeldict/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-modeldict/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/disqus/django-modeldict/" }, "release_url": "https://pypi.org/project/django-modeldict/1.4.1/", "requires_dist": null, "requires_python": null, "summary": "Stores a model as a dictionary", "version": "1.4.1" }, "last_serial": 712685, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "1016e887fe35d9e97572a186a760117c", "sha256": "8bcc689768e1a55979213c3560348cfed3e0528493eb714e81f809c157f48482" }, "downloads": -1, "filename": "django-modeldict-1.0.tar.gz", "has_sig": false, "md5_digest": "1016e887fe35d9e97572a186a760117c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8171, "upload_time": "2010-12-16T19:51:25", "url": "https://files.pythonhosted.org/packages/b6/33/44a70b3981e49e8122c89e765a5ac2af5086ea4415fa0c45f4112b838911/django-modeldict-1.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "2d79882a24b6634f41cdfeb8dac64e55", "sha256": "b44245461a39142012d4a9ffdf4b58a1fe2bedc9c31bffccb3750f8eae33a19d" }, "downloads": -1, "filename": "django-modeldict-1.0.1.tar.gz", "has_sig": false, "md5_digest": "2d79882a24b6634f41cdfeb8dac64e55", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8554, "upload_time": "2010-12-17T01:48:02", "url": "https://files.pythonhosted.org/packages/4e/19/54dd3dd7d05398b7f376fdf7f22f9d90728769004fc93b1ff1e06c838220/django-modeldict-1.0.1.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "c83beb249e71536c1daa6cc71138afc5", "sha256": "3c9edafedf5b0cf28161c4318b81b2d7ef54b03b505897d3afedc6dd8e2bd360" }, "downloads": -1, "filename": "django-modeldict-1.1.0.tar.gz", "has_sig": false, "md5_digest": "c83beb249e71536c1daa6cc71138afc5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8622, "upload_time": "2011-05-06T22:48:24", "url": "https://files.pythonhosted.org/packages/a4/e7/4743f3ed5749ca475f864d28617c2f8a6f8a680ff19d74f9efac027f2bb9/django-modeldict-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "ea43648ecc73b007107b102e09842bc3", "sha256": "909ecdde91344d4100b8a1938a297e7c8632417d4bc4cc1af96e36ccc8f6d0e6" }, "downloads": -1, "filename": "django-modeldict-1.1.1.tar.gz", "has_sig": false, "md5_digest": "ea43648ecc73b007107b102e09842bc3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8654, "upload_time": "2011-05-07T00:00:43", "url": "https://files.pythonhosted.org/packages/0f/71/fbe2f5e1f075b655070b22f0cb55695f98ac4086a941f3597e04b414db5c/django-modeldict-1.1.1.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "8454b3cc3056c7cff8f9cbd00188a85c", "sha256": "3b3afc24a435bb31cd44575571221927c0492f458e9a1fada46192bc1bd87a9e" }, "downloads": -1, "filename": "django-modeldict-1.1.2.tar.gz", "has_sig": false, "md5_digest": "8454b3cc3056c7cff8f9cbd00188a85c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9017, "upload_time": "2011-05-07T00:41:52", "url": "https://files.pythonhosted.org/packages/b2/04/b4074cd4640fe026c05ec4dbcf15bac43be32d8beb4c0f937fb8171dc622/django-modeldict-1.1.2.tar.gz" } ], "1.1.4": [ { "comment_text": "", "digests": { "md5": "287bf50b371b33aa82e8e4ab3d03979f", "sha256": "a198b927d78bd002e6776c446c34827eba73f9891b85e1a4b96cdc06f38c1ef6" }, "downloads": -1, "filename": "django-modeldict-1.1.4.tar.gz", "has_sig": false, "md5_digest": "287bf50b371b33aa82e8e4ab3d03979f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9259, "upload_time": "2011-05-07T01:42:01", "url": "https://files.pythonhosted.org/packages/02/a2/32a14d6ad40eab5bfecc89ce4c09b58727cb1b0f3872393c8b874001192a/django-modeldict-1.1.4.tar.gz" } ], "1.1.5": [ { "comment_text": "", "digests": { "md5": "3b4e8f523c418fdc78a41ab7250def82", "sha256": "dc492a099116f65f7c0f6c9d3b2d2b53b41ba9d038787ca6c766f4a82648956a" }, "downloads": -1, "filename": "django-modeldict-1.1.5.tar.gz", "has_sig": false, "md5_digest": "3b4e8f523c418fdc78a41ab7250def82", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9296, "upload_time": "2011-05-09T23:19:17", "url": "https://files.pythonhosted.org/packages/eb/b4/9246db56cc359e441b1a1942f455ca7a5228f3ed6cac4710f4c080615daa/django-modeldict-1.1.5.tar.gz" } ], "1.1.6": [ { "comment_text": "", "digests": { "md5": "297d759abdfd186a71655e4cb0826244", "sha256": "cd1308f90ae594345e15eb3673300e56db26df2e875dbf0d187f54f6757d48f0" }, "downloads": -1, "filename": "django-modeldict-1.1.6.tar.gz", "has_sig": false, "md5_digest": "297d759abdfd186a71655e4cb0826244", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9271, "upload_time": "2011-08-10T03:17:07", "url": "https://files.pythonhosted.org/packages/d5/2c/6102de3cafcab443d76849a4004f01b702cc7287a80eb1d04c8711c141f0/django-modeldict-1.1.6.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "fb9fe07bfbf3ab0f936abfd1273b88d5", "sha256": "4b345bd28d5c6d3d979665be55b4581ee83f350c65d5fe2f2690ccf1c8ae45ae" }, "downloads": -1, "filename": "django-modeldict-1.2.0.tar.gz", "has_sig": false, "md5_digest": "fb9fe07bfbf3ab0f936abfd1273b88d5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9733, "upload_time": "2012-03-02T01:45:03", "url": "https://files.pythonhosted.org/packages/39/c9/811f91d1a58f9909fad25e0751abfee30e1dab4f87142da2dd3a312c7fdb/django-modeldict-1.2.0.tar.gz" } ], "1.3.0": [ { "comment_text": "", "digests": { "md5": "c731702d0dd13cc2e68592887595dda8", "sha256": "96ebf8f7ab23e837624ddada3985f8585ddd782dded08f93c509b259bc055f55" }, "downloads": -1, "filename": "django-modeldict-1.3.0.tar.gz", "has_sig": false, "md5_digest": "c731702d0dd13cc2e68592887595dda8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10270, "upload_time": "2012-05-21T22:41:23", "url": "https://files.pythonhosted.org/packages/1e/14/0a88578241e16105a8ac3234de5f922b4e0b453cc279e8e30dd6fbe9ddc9/django-modeldict-1.3.0.tar.gz" } ], "1.3.1": [ { "comment_text": "", "digests": { "md5": "db35f2133cde3740342767dc6ab15c50", "sha256": "2de907cf72582f2675e1357ba4c9d20afdcc3aa76022e3a5eed6e97b3d02d547" }, "downloads": -1, "filename": "django-modeldict-1.3.1.tar.gz", "has_sig": false, "md5_digest": "db35f2133cde3740342767dc6ab15c50", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10354, "upload_time": "2012-05-24T00:13:20", "url": "https://files.pythonhosted.org/packages/b2/81/69cd0fc5f6467cf105f5d79bfbbc1690a5bd6e1be77b4fbe69657b00cdad/django-modeldict-1.3.1.tar.gz" } ], "1.3.2": [ { "comment_text": "", "digests": { "md5": "81911c83cae4cd4cdf54c047535fed37", "sha256": "7b47d5535e741e32c85b8a9d96ceaf0ad8881354b56823de3d9c0c66b8cb20a5" }, "downloads": -1, "filename": "django-modeldict-1.3.2.tar.gz", "has_sig": false, "md5_digest": "81911c83cae4cd4cdf54c047535fed37", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9636, "upload_time": "2012-08-09T01:51:35", "url": "https://files.pythonhosted.org/packages/af/e1/fddba664af8c773f0e0cc07c36896df7040e2b4bfe04f0af8bf31e512c07/django-modeldict-1.3.2.tar.gz" } ], "1.3.3": [ { "comment_text": "", "digests": { "md5": "707c7ff3ac02427feebe6bc00afc515b", "sha256": "a40892ffcbc4a288b72310dad450c457a0fff48b7f565269fd5d0a2f5a8309cb" }, "downloads": -1, "filename": "django-modeldict-1.3.3.tar.gz", "has_sig": false, "md5_digest": "707c7ff3ac02427feebe6bc00afc515b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9788, "upload_time": "2012-08-10T00:19:09", "url": "https://files.pythonhosted.org/packages/d8/b7/794cd03fd65bfdce7f4a5264c132be2fa5f0a71ae73b539440f1425cf75c/django-modeldict-1.3.3.tar.gz" } ], "1.3.4": [ { "comment_text": "", "digests": { "md5": "da3a690f0d2db43b2bd4cbaaec0eaef5", "sha256": "f3dbaa5e6bcaf8310e043f4933ab75fbb389a1002df1d7296c8feb353f7da04e" }, "downloads": -1, "filename": "django-modeldict-1.3.4.tar.gz", "has_sig": false, "md5_digest": "da3a690f0d2db43b2bd4cbaaec0eaef5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9824, "upload_time": "2012-08-14T00:45:35", "url": "https://files.pythonhosted.org/packages/ed/89/030b81257b64a3333cbdf8dd67d567553782ef27a121f32f9ce603e6deb5/django-modeldict-1.3.4.tar.gz" } ], "1.3.5": [ { "comment_text": "", "digests": { "md5": "472dc23f6ea20b4ce3f857f12e71af35", "sha256": "1332486b8ff9b670d1f956a9c582f1b6794f8810f0c5a58a37fccdfb574a59ce" }, "downloads": -1, "filename": "django-modeldict-1.3.5.tar.gz", "has_sig": false, "md5_digest": "472dc23f6ea20b4ce3f857f12e71af35", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9831, "upload_time": "2012-08-14T01:14:48", "url": "https://files.pythonhosted.org/packages/9c/a4/7330d1c83ea7103a66d62059986f6a413bf09e7e721bf46912d2db68d0f1/django-modeldict-1.3.5.tar.gz" } ], "1.3.6": [ { "comment_text": "", "digests": { "md5": "a1dc9cb9fba7456e1a240d6e3cd5838e", "sha256": "ba84c1b37ec02efdc36a7eb0e043b5e5385aaf919181816a319234611646f3ab" }, "downloads": -1, "filename": "django-modeldict-1.3.6.tar.gz", "has_sig": false, "md5_digest": "a1dc9cb9fba7456e1a240d6e3cd5838e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10227, "upload_time": "2012-09-13T20:10:35", "url": "https://files.pythonhosted.org/packages/97/00/208f755420d4b6d1d12adaa92334b11b2da8368110abb4b02f537ae172a7/django-modeldict-1.3.6.tar.gz" } ], "1.4.1": [ { "comment_text": "", "digests": { "md5": "8ec6725bbd87d0c6cab1c03f19b908f3", "sha256": "1509b7089fb202f701b947a03b67b14cef3f173b385096eb076d3ca5115d8de1" }, "downloads": -1, "filename": "django-modeldict-1.4.1.tar.gz", "has_sig": false, "md5_digest": "8ec6725bbd87d0c6cab1c03f19b908f3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10640, "upload_time": "2012-12-04T19:50:28", "url": "https://files.pythonhosted.org/packages/37/b7/4ddb0fb14f057988a4ca724ce557ab3757c5e40e07dfbf81ad50a458913b/django-modeldict-1.4.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8ec6725bbd87d0c6cab1c03f19b908f3", "sha256": "1509b7089fb202f701b947a03b67b14cef3f173b385096eb076d3ca5115d8de1" }, "downloads": -1, "filename": "django-modeldict-1.4.1.tar.gz", "has_sig": false, "md5_digest": "8ec6725bbd87d0c6cab1c03f19b908f3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10640, "upload_time": "2012-12-04T19:50:28", "url": "https://files.pythonhosted.org/packages/37/b7/4ddb0fb14f057988a4ca724ce557ab3757c5e40e07dfbf81ad50a458913b/django-modeldict-1.4.1.tar.gz" } ] }