{ "info": { "author": "Alex Perez Ortu\u00f1o", "author_email": "alexperezortuno@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 2.0", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "=====\nDjango Template Maths\n=====\n\nDjango Template Maths is a simple filter for execute maths in template\n\nQuick start\n-----------\n\n1. Add \"django_template_maths\" to your INSTALLED_APPS setting like this::\n\n INSTALLED_APPS = [\n ...\n 'django_template_maths',\n ]\n\nExample usage\n-------------\n\n```html\n{% load django_template_maths %}\n\n{{ 10|add:5 }} # print 15\n\n{{ 10|sub:5 }} # print 5\n\n{{ 10|div:5 }} # print 2\n\n{{ 10|mul:5 }} # print 50\n\n{{ 10|mod:5 }} # print 0\n\n{{ 10|exp:5 }} # print 100000\n\n{{ 10|flr:5 }} # print 2\n\n{{ 10|sqr }} # 3.1622776601683795\n\n{{ 10|add:5|add_decimal:2 }} # print 15.00\n\n{{ 1000|add:5|add_decimal:2|separator:'comma' }} # print 1,005.00\n\n{{ 1000|add:5|add_decimal:2|separator:'dot' }} # print 1.005,00\n\n{{ 1000|remove_decimal|separator:'dot' }} # print 1.005\n\n{{ 50|percent_of_number:500 }} # print 10,0\n\n```", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/alexperezortuno/django-template-maths", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "django-template-maths", "package_url": "https://pypi.org/project/django-template-maths/", "platform": "", "project_url": "https://pypi.org/project/django-template-maths/", "project_urls": { "Homepage": "https://github.com/alexperezortuno/django-template-maths" }, "release_url": "https://pypi.org/project/django-template-maths/0.2.0/", "requires_dist": null, "requires_python": "", "summary": "Filter for maths in template", "version": "0.2.0" }, "last_serial": 4178246, "releases": { "0.0.10": [ { "comment_text": "", "digests": { "md5": "c328b2dd1dfd8231a2f283a1d3d6f216", "sha256": "f949279360308545eba72b8984c7c040e7b6543fbe17775cf6fe97250f6ebe5a" }, "downloads": -1, "filename": "django-template-maths-0.0.10.tar.gz", "has_sig": false, "md5_digest": "c328b2dd1dfd8231a2f283a1d3d6f216", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3710, "upload_time": "2018-07-23T18:55:42", "url": "https://files.pythonhosted.org/packages/81/55/11934715698ab47c52afd89e17a15a43605492ab5ae0a61f4fc282fbc08f/django-template-maths-0.0.10.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "b0f52bdd0807f4fc9ca24606d0c8dbce", "sha256": "303e15c4df59334d13fa55e7be8f77080d62380d15f7be7f170b9957650458d5" }, "downloads": -1, "filename": "django-template-maths-0.0.5.tar.gz", "has_sig": false, "md5_digest": "b0f52bdd0807f4fc9ca24606d0c8dbce", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3593, "upload_time": "2018-07-22T17:04:34", "url": "https://files.pythonhosted.org/packages/0e/60/0241c9d605eaaf09658f1300f362f12a2b7a5915554e9097453f4a16c195/django-template-maths-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "daa9f4d3f898c6b8b6c8ba960b78427a", "sha256": "d41992464b16e465ecc43431123ecb21acea8b9fa6745dfe2b743aa9f4c0f21e" }, "downloads": -1, "filename": "django-template-maths-0.0.6.tar.gz", "has_sig": false, "md5_digest": "daa9f4d3f898c6b8b6c8ba960b78427a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3594, "upload_time": "2018-07-23T18:06:44", "url": "https://files.pythonhosted.org/packages/13/6c/8d9f766bda7b9fb73828317b82bf3c8142a66d37c66be6260effbfde7150/django-template-maths-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "dddea296807aeb1040061e006d9f42d0", "sha256": "3c20062ee45ea2f2d959aca1487adaf43e79200a95796f36274c39dd916c02fd" }, "downloads": -1, "filename": "django-template-maths-0.0.7.tar.gz", "has_sig": false, "md5_digest": "dddea296807aeb1040061e006d9f42d0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3592, "upload_time": "2018-07-23T18:31:37", "url": "https://files.pythonhosted.org/packages/b1/8b/604720614275b1cc7affc8fef49ff885ca3d7f068812a6d4c1b8c850942c/django-template-maths-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "6e1759f1c7f31b6b65129c8b0c76bae3", "sha256": "209c2ffb00aa33436ef9a104c6884d3a733a7c62c9bbec47a268adb242df72d3" }, "downloads": -1, "filename": "django-template-maths-0.0.8.tar.gz", "has_sig": false, "md5_digest": "6e1759f1c7f31b6b65129c8b0c76bae3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3595, "upload_time": "2018-07-23T18:39:22", "url": "https://files.pythonhosted.org/packages/8b/09/8a64b47cdd64aecd91e834de80a7abfc45387f84f08274312647bbd59b8f/django-template-maths-0.0.8.tar.gz" } ], "0.0.9": [ { "comment_text": "", "digests": { "md5": "8685d3e6095edb153b655737aad79a31", "sha256": "4b16719d4d00b252bf91c285eae595dc4eb30087f33f088d5e319c1503e1bda1" }, "downloads": -1, "filename": "django-template-maths-0.0.9.tar.gz", "has_sig": false, "md5_digest": "8685d3e6095edb153b655737aad79a31", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3593, "upload_time": "2018-07-23T18:44:26", "url": "https://files.pythonhosted.org/packages/b7/3b/b945df3a655ee38f4c39fdc197edff124372e24d4448343d7ea9840ea0f5/django-template-maths-0.0.9.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "1dde68760a8aedfc09ac7a6194ea3357", "sha256": "bb60ccf6280f7992586a93f5b09a8cf308d75c3af936b425f97bac80887edeaf" }, "downloads": -1, "filename": "django-template-maths-0.1.0.tar.gz", "has_sig": false, "md5_digest": "1dde68760a8aedfc09ac7a6194ea3357", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3737, "upload_time": "2018-07-27T20:16:02", "url": "https://files.pythonhosted.org/packages/9a/b3/b04693466261ed6ef5262430193f0c5e7adbaa1c56711fbaf6bce67702a4/django-template-maths-0.1.0.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "a0f99c2d15cff174d46e96476e9102aa", "sha256": "57d0a519d57050c649c60963c9d51e240e6d4e6716df7f50885e0a3fbdef32fd" }, "downloads": -1, "filename": "django-template-maths-0.1.2.tar.gz", "has_sig": false, "md5_digest": "a0f99c2d15cff174d46e96476e9102aa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3755, "upload_time": "2018-07-27T20:21:34", "url": "https://files.pythonhosted.org/packages/f8/51/54ccd75ec1b0ba8626e7b1f2ba8d0e00043bd5468990da55f4bfbdd0fcda/django-template-maths-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "bf190d0a3efb0f85e447c2aacc40e672", "sha256": "cb78f14b945d1e6f4db953053188deb6169a8837a2663a4d378ed748b15a2f91" }, "downloads": -1, "filename": "django-template-maths-0.1.3.tar.gz", "has_sig": false, "md5_digest": "bf190d0a3efb0f85e447c2aacc40e672", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3758, "upload_time": "2018-07-27T20:26:47", "url": "https://files.pythonhosted.org/packages/f7/87/03f730f19a64a8953b6dcd9ef4ef00657cd35f046c5f446e50810a8dd189/django-template-maths-0.1.3.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "3a1c794f56d0bede2521cf60bf27a2c7", "sha256": "0ae7f0849a787e3876899cecd92db5db1a37916c8c56cfbd8f2b81cd1c6fe25a" }, "downloads": -1, "filename": "django-template-maths-0.1.5.tar.gz", "has_sig": false, "md5_digest": "3a1c794f56d0bede2521cf60bf27a2c7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3799, "upload_time": "2018-07-27T21:28:18", "url": "https://files.pythonhosted.org/packages/07/00/8e7db31bc04fae8db012a363cee77716f04be27e952ec9e335f1dd3c33c4/django-template-maths-0.1.5.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "4fbecb6053b08e682ca8b79c867b80cb", "sha256": "19847ca95ec3eb4e01f3511009226293d10f3e08755dfed806038037dc6acbf8" }, "downloads": -1, "filename": "django-template-maths-0.2.0.tar.gz", "has_sig": false, "md5_digest": "4fbecb6053b08e682ca8b79c867b80cb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3887, "upload_time": "2018-08-16T21:58:29", "url": "https://files.pythonhosted.org/packages/f3/2c/f2b5362d9cd2a3a267f284d1f331d803a964f51c3a3394024916c4a44955/django-template-maths-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4fbecb6053b08e682ca8b79c867b80cb", "sha256": "19847ca95ec3eb4e01f3511009226293d10f3e08755dfed806038037dc6acbf8" }, "downloads": -1, "filename": "django-template-maths-0.2.0.tar.gz", "has_sig": false, "md5_digest": "4fbecb6053b08e682ca8b79c867b80cb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3887, "upload_time": "2018-08-16T21:58:29", "url": "https://files.pythonhosted.org/packages/f3/2c/f2b5362d9cd2a3a267f284d1f331d803a964f51c3a3394024916c4a44955/django-template-maths-0.2.0.tar.gz" } ] }