{ "info": { "author": "Matt Cooper", "author_email": "vtbassmatt@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Plugins", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "django-expression-fields lets your users type a mathematical expression in a form field.\nPython does the math and stores the result in the database. For example, suppose you have a model to track Things, like this::\n\n class Thing(models.Model):\n \tcost = models.DecimalField(\n \t\tmax_digits=5, decimal_places=2, null=True, blank=True)\n\nSuppose Things come in packs of 12 for $7.99. Your users have to do some math to fill in the cost of a single Thing, $0.67.\n\nBut not with an expression field! Create your form like this::\n\n\tclass ThingForm(forms.Form):\n\t\tcost = DecimalExpressionField(\n\t\t\tmax_digits=5, decimal_places=2, required=False)\n\nNow your user can simply type ``7.99/12`` in the field and Python will do the math for them!", "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/vtbassmatt/django-expression-fields/", "keywords": "django field expression math", "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "django-expression-fields", "package_url": "https://pypi.org/project/django-expression-fields/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-expression-fields/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/vtbassmatt/django-expression-fields/" }, "release_url": "https://pypi.org/project/django-expression-fields/0.3.0/", "requires_dist": null, "requires_python": null, "summary": "django-expression-fields allows typing mathematical expressions into form fields and having only the calculated result stored in the database.", "version": "0.3.0" }, "last_serial": 1784175, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "086994915b14b421173fcfa2f9bd857b", "sha256": "f813b9f9f984e72b256cb4a2e67dae9aef68dc13d49e0e0d7a008149d66d5094" }, "downloads": -1, "filename": "django-expression-fields-0.1.0.tar.gz", "has_sig": false, "md5_digest": "086994915b14b421173fcfa2f9bd857b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3391, "upload_time": "2015-10-01T14:01:21", "url": "https://files.pythonhosted.org/packages/af/2b/842b86295634e640978c1e477d74b5a41893d1cb34149559cff81cd0ef13/django-expression-fields-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "1fbaa90d73f25868ec61f109cdd9a4ce", "sha256": "67dc845ce5bca042ddd802fc413a38d4b376bbd2d8a0949db7b685a17a9b7a63" }, "downloads": -1, "filename": "django-expression-fields-0.1.1.tar.gz", "has_sig": false, "md5_digest": "1fbaa90d73f25868ec61f109cdd9a4ce", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3460, "upload_time": "2015-10-01T14:33:03", "url": "https://files.pythonhosted.org/packages/dd/ee/c079ba126fc7ee73325f53cf5c39559a4a87960788a0b067ce3de4ca18a4/django-expression-fields-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "37760db1a663fd1a65d4118dff90fec8", "sha256": "50cdfa2f433583601c8ca34408b0aaf789631673596fd85a3d6e09db1701503c" }, "downloads": -1, "filename": "django-expression-fields-0.1.2.tar.gz", "has_sig": false, "md5_digest": "37760db1a663fd1a65d4118dff90fec8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3565, "upload_time": "2015-10-02T04:33:44", "url": "https://files.pythonhosted.org/packages/35/63/8375a87bd051710585b5ab2b19dda235151b7753ac87144c7bb05947aa96/django-expression-fields-0.1.2.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "7ffbb603ca9249bdcb76f1b71277e26c", "sha256": "48e20f960372807db741eca327ff3b72129a72bfaf3dfe2c976f5b7d3bb2cd44" }, "downloads": -1, "filename": "django-expression-fields-0.2.0.tar.gz", "has_sig": false, "md5_digest": "7ffbb603ca9249bdcb76f1b71277e26c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4068, "upload_time": "2015-10-03T14:05:59", "url": "https://files.pythonhosted.org/packages/8f/0b/f0edf93aba8c6795d36b9b92dc5a86c697367c0b415521789ddb6182817f/django-expression-fields-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "4144865ac0ead5aa152508733d504e28", "sha256": "c23ab087d2d7b6ce4ac1cbceb5febfcdfaf756ca0e02dd502b2cb8088889fc14" }, "downloads": -1, "filename": "django-expression-fields-0.2.1.tar.gz", "has_sig": false, "md5_digest": "4144865ac0ead5aa152508733d504e28", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4156, "upload_time": "2015-10-03T20:52:15", "url": "https://files.pythonhosted.org/packages/7b/a6/21bda8d0f89d4b6ab7678843c0e265b2fd79b8c4e4f35d3aa601a1eccc1f/django-expression-fields-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "1ecd76e6c378ce94cb73952e01316fd0", "sha256": "1edbe3785e92c5ed59d1dc977ede259f54bc12adda413d403b542842c85544e5" }, "downloads": -1, "filename": "django-expression-fields-0.2.2.tar.gz", "has_sig": false, "md5_digest": "1ecd76e6c378ce94cb73952e01316fd0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4281, "upload_time": "2015-10-04T04:17:31", "url": "https://files.pythonhosted.org/packages/a2/40/c30ac481a6f3544dab21d426f7d98e62a26d25168c180696378bac733b10/django-expression-fields-0.2.2.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "246f7495fc0506623f91be6e358cbdc8", "sha256": "e20fc3dacbb95bc10061dcba9873df5e077cf8280aac7286b5c180c4b2345152" }, "downloads": -1, "filename": "django-expression-fields-0.3.0.tar.gz", "has_sig": false, "md5_digest": "246f7495fc0506623f91be6e358cbdc8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4393, "upload_time": "2015-10-24T13:35:52", "url": "https://files.pythonhosted.org/packages/f1/ca/751442a032d5d4f4e1924ba421682d134653b18dc10d95c098666c1a8452/django-expression-fields-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "246f7495fc0506623f91be6e358cbdc8", "sha256": "e20fc3dacbb95bc10061dcba9873df5e077cf8280aac7286b5c180c4b2345152" }, "downloads": -1, "filename": "django-expression-fields-0.3.0.tar.gz", "has_sig": false, "md5_digest": "246f7495fc0506623f91be6e358cbdc8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4393, "upload_time": "2015-10-24T13:35:52", "url": "https://files.pythonhosted.org/packages/f1/ca/751442a032d5d4f4e1924ba421682d134653b18dc10d95c098666c1a8452/django-expression-fields-0.3.0.tar.gz" } ] }