{ "info": { "author": "David Danier", "author_email": "david.danier@team23.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Utilities" ], "description": "ABOUT\n=====\n\ndjango_price is an attempt to implement price representation in django, the\nright way. Prices itself are very easy to implement, but may be done very\nwrong if it comes to do calculations including tax.\n\ndjango_price features a Price class to represent net/tax/gross prices. This\nclass may be added, multiplied, ... like you would some \"simple decimal\"\nexpect to behave. Internaly however it keeps track of all applied taxes\nand its corresponsing net/tax/groos amounts. So adding two prices to\ncalculate the total of - for example - an invoice does not loose important\ninformation (like which tax amounts are included).\n\nWHY\n===\n\nAs said above price calculation can go terribly wrong. This even happens for\nbig players like Magento (10\u20ac product + 5\u20ac shipping = 15.01\u20ac for 19% tax).\ndjango_price tries to do things right, to avoid such issues.\n\nFEATURES\n========\n\n* Basic calculation for prices (including tax information)\n* Knows the used currency (for rounding and formatting)\n* Stores taxes to your database (LinearTax and Multitax)\n* Proper rounding for prices (on demand, based on used currency)\n* Utilities to:\n - Store prices to the database\n - Round prices based on the used currency\n\nROUNDING\n========\n\ndjango_price does implicid rounding when calculating the net/gross/tax amount\nof prices. In addition the raw, precise values are stored. So when you calculate\nwith prices this is always done using the precise prices, afterwards the rounded\nresults are recalculated.\n\nIf yoou need prices to stay stable (10 times 100 should be exactly 1000) you may\nneed to do explicid rounding.\n\nREQUIREMENTS\n============\n\n* Django (obviously)\n* django_deferred_polymorph (may be skipped if you don't use the supplied models)", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ddanier/django_price", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "django_price", "package_url": "https://pypi.org/project/django_price/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django_price/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/ddanier/django_price" }, "release_url": "https://pypi.org/project/django_price/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "Handling price information in django", "version": "0.2.1" }, "last_serial": 4304487, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "a2c7e269830f9a361e379eabc2cb848a", "sha256": "2e1f824d664673919005d5bc8148b18a462dff896312bbfd70eea770d34307d3" }, "downloads": -1, "filename": "django_price-0.1.0.tar.gz", "has_sig": false, "md5_digest": "a2c7e269830f9a361e379eabc2cb848a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10620, "upload_time": "2012-12-08T21:02:33", "url": "https://files.pythonhosted.org/packages/d2/be/638ba2de337bad8290521ad2d95c9cbe00308a3c8d86fb554f96d860b83e/django_price-0.1.0.tar.gz" } ], "0.1.0-2": [ { "comment_text": "", "digests": { "md5": "3374f09fe63e7517d8543eb720871967", "sha256": "1487775202a3fc86a8ab818dff9a09932c26c6f01ce58b3d2ba641ec0b290616" }, "downloads": -1, "filename": "django_price-0.1.0-2.tar.gz", "has_sig": false, "md5_digest": "3374f09fe63e7517d8543eb720871967", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10710, "upload_time": "2012-12-09T22:47:23", "url": "https://files.pythonhosted.org/packages/15/69/ac64eb3e35a646c7aa14775b6444a665249e497134ab3f71d97469d47033/django_price-0.1.0-2.tar.gz" } ], "0.1.1-1": [ { "comment_text": "", "digests": { "md5": "ca74710cdecb24865816f3354037f665", "sha256": "2ecbffb5cdc62915cd9174ce4f93bb72206d9feb71d134dffb5a1b4871dcbd74" }, "downloads": -1, "filename": "django_price-0.1.1-1.tar.gz", "has_sig": false, "md5_digest": "ca74710cdecb24865816f3354037f665", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11680, "upload_time": "2013-02-20T09:24:31", "url": "https://files.pythonhosted.org/packages/83/ca/eb80aa664b6c2ccfcd73e1f5e08e8da36785d7a9424dec06227b71409b57/django_price-0.1.1-1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "f56f89c9699ee81e02065f6fe8b4afc2", "sha256": "a826dfa79186ebc44648f4c22eec4a8381529dcdbe202dd833d2169b2c70f691" }, "downloads": -1, "filename": "django_price-0.2.0.tar.gz", "has_sig": false, "md5_digest": "f56f89c9699ee81e02065f6fe8b4afc2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16523, "upload_time": "2015-09-09T03:34:41", "url": "https://files.pythonhosted.org/packages/be/d3/fe2638ffafd98bc6dab50d97802fa7a7a9e522e23999413384b429e9eed1/django_price-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "a5c26cb9875503eb57755b2357f115fc", "sha256": "270cb8dd05ea7f9635c010135d701b2eaa1a1016fff493e2f0f6ca7d1323702f" }, "downloads": -1, "filename": "django_price-0.2.1.tar.gz", "has_sig": false, "md5_digest": "a5c26cb9875503eb57755b2357f115fc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16205, "upload_time": "2015-09-09T04:06:52", "url": "https://files.pythonhosted.org/packages/ad/df/78e8d6e61871d6b85e500eed80eef9c40011ac3404eb524814c8aca9ac5a/django_price-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a5c26cb9875503eb57755b2357f115fc", "sha256": "270cb8dd05ea7f9635c010135d701b2eaa1a1016fff493e2f0f6ca7d1323702f" }, "downloads": -1, "filename": "django_price-0.2.1.tar.gz", "has_sig": false, "md5_digest": "a5c26cb9875503eb57755b2357f115fc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16205, "upload_time": "2015-09-09T04:06:52", "url": "https://files.pythonhosted.org/packages/ad/df/78e8d6e61871d6b85e500eed80eef9c40011ac3404eb524814c8aca9ac5a/django_price-0.2.1.tar.gz" } ] }