{ "info": { "author": "Alexis M\u00e9taireau & contributors", "author_email": "alexis@notmyidea.org", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python :: 3.7" ], "description": "Debts settlement\n================\n\nA simple library and cli-tool to help you solve some debts settlement scenarios.\n\nInstallation\n------------\n\nFrom a command-line interface, run::\n\n $ pip install debts\n\nFrom the command-line\n---------------------\n\nYou can invoke the solver from the command-line. To do so, you need to pass it\nthe arguments in a specific way::\n\n $ debts --settle \"Emeline -200, Alexis -400, R\u00e9my +500, Alexis +100\"\n Emeline \u2192 R\u00e9my: 200.0\n Alexis \u2192 R\u00e9my: 300.0\n\nYou can also read from a JSON file::\n\n $ debts --settle data.json --parser=json\n\nAnd optionally render a HTML table with the results::\n\n $ debts --settle data.json --parser=json --renderer=html > index.html\n\nWhich should look like this:\n\n.. image:: screenshots/html-output.png\n\nAs a library\n------------\n\nIf you want to use it as a library, here is how it works::\n\n >>> from debts import settle\n >>> settle([('Emeline', -200), ('Alexis', -400), ('R\u00e9my', +500), ('Alexis', +100)])\n [('Emeline', 200.0, 'R\u00e9my'), ('Alexis', 300.0, 'R\u00e9my')]\n\nThat's all folks!\n\nTesting\n-------\n\nEverything is tested and should work. If it doesn't, please take the time to\nopen an issue here! Thanks :-)\n\nTo run the tests yourself::\n\n $ pip install -e .\n $ pip install -r dev-requirements.txt\n $ py.test tests", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://framagit.org/almet/debts", "keywords": "debts settlement money balance", "license": "Custom BSD Beerware", "maintainer": "", "maintainer_email": "", "name": "debts", "package_url": "https://pypi.org/project/debts/", "platform": "", "project_url": "https://pypi.org/project/debts/", "project_urls": { "Homepage": "https://framagit.org/almet/debts" }, "release_url": "https://pypi.org/project/debts/0.4/", "requires_dist": null, "requires_python": "", "summary": "Help solve debts settlement.", "version": "0.4" }, "last_serial": 5881276, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "16465dd512a2bad854ac68ddd2a4df1c", "sha256": "c0c45589652502393cf02edd48def52582214bd0b88e346860da0e1bb2e178a2" }, "downloads": -1, "filename": "debts-0.1.tar.gz", "has_sig": false, "md5_digest": "16465dd512a2bad854ac68ddd2a4df1c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3023, "upload_time": "2019-04-18T23:09:13", "url": "https://files.pythonhosted.org/packages/8a/79/c65cc5853cc4e543c9c40461c3a18cd8845d859e15552ffe86c6163d5864/debts-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "d398a5c5d8ae5c01f80ef76189e926f3", "sha256": "1de6c09d69cb16ecda1c1503de75bf340e96e8e9ab5f79be63f4b2976928d00a" }, "downloads": -1, "filename": "debts-0.2.tar.gz", "has_sig": false, "md5_digest": "d398a5c5d8ae5c01f80ef76189e926f3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3849, "upload_time": "2019-04-21T00:29:22", "url": "https://files.pythonhosted.org/packages/82/c4/e782359a029f599d57f8cc49ab7881acaf165c025acc2382a49173f8a309/debts-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "d9071dd201bb69816bc457ec5557ba16", "sha256": "8b6323bb9262584d90553a0e5516ef557a7aa7403f5ece568ab0ae29fd91bbe3" }, "downloads": -1, "filename": "debts-0.3.tar.gz", "has_sig": false, "md5_digest": "d9071dd201bb69816bc457ec5557ba16", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3731, "upload_time": "2019-09-24T16:06:37", "url": "https://files.pythonhosted.org/packages/e7/69/4a5c56678e2e977f3f076b9daa90c19b1eeca58e99f2c06db0a0a66552df/debts-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "0a3acec846c95681f5ef7074ace47e33", "sha256": "02cbda730c210f58a35db4bbfd688d9167ba9e26bd3e8ea7a7c6cc9e8b01b789" }, "downloads": -1, "filename": "debts-0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "0a3acec846c95681f5ef7074ace47e33", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4656, "upload_time": "2019-09-24T18:25:42", "url": "https://files.pythonhosted.org/packages/57/c5/347523ba74734c16c6702c636803a148dc54c324f62f804c087f0b0bbaa7/debts-0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "46c6a337fecb7e2d3cdaa9d996d9d660", "sha256": "2a8aad08d0a929ddaff5963d57c409eee3f584b4180a88ba34d9d81b1aeadc94" }, "downloads": -1, "filename": "debts-0.4.tar.gz", "has_sig": false, "md5_digest": "46c6a337fecb7e2d3cdaa9d996d9d660", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3837, "upload_time": "2019-09-24T17:33:08", "url": "https://files.pythonhosted.org/packages/b6/71/0c2722dd14fefd872054280d877fce7a110cf5ec73fdc07f1a7e8be5f290/debts-0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0a3acec846c95681f5ef7074ace47e33", "sha256": "02cbda730c210f58a35db4bbfd688d9167ba9e26bd3e8ea7a7c6cc9e8b01b789" }, "downloads": -1, "filename": "debts-0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "0a3acec846c95681f5ef7074ace47e33", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4656, "upload_time": "2019-09-24T18:25:42", "url": "https://files.pythonhosted.org/packages/57/c5/347523ba74734c16c6702c636803a148dc54c324f62f804c087f0b0bbaa7/debts-0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "46c6a337fecb7e2d3cdaa9d996d9d660", "sha256": "2a8aad08d0a929ddaff5963d57c409eee3f584b4180a88ba34d9d81b1aeadc94" }, "downloads": -1, "filename": "debts-0.4.tar.gz", "has_sig": false, "md5_digest": "46c6a337fecb7e2d3cdaa9d996d9d660", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3837, "upload_time": "2019-09-24T17:33:08", "url": "https://files.pythonhosted.org/packages/b6/71/0c2722dd14fefd872054280d877fce7a110cf5ec73fdc07f1a7e8be5f290/debts-0.4.tar.gz" } ] }