{ "info": { "author": "Marco Wilka", "author_email": "m.wilka@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Other/Nonlisted Topic" ], "description": "Project Title\n=============\n\nPython library to calculate tables for football and handball\n\nGetting Started\n---------------\n\npip install tablecalculation\n\nAlternatively: copy the tablecalculation package to your project.\n\nPrerequisites\n~~~~~~~~~~~~~\n\nShould work with Python 2.7 and up or 3. Possibly other versions\n(untested).\n\nUsage\n~~~~~\n\nIt\u2019s best to see `tablecalculationtest.py `__\nfor reference.\n\nBasic usage is as follows:\n\n::\n\n # Handball 3. Liga Herren, Saison 2015/16, 17. Spieltag\n # Create table calculation oject with scope, sports type and mode\n t1 = TableCalculation(TABLE_ALL, SPORTSTYPES.HANDBALL, CALCULATION_MODE_DIRECT_COMPARE)\n\n # add your matches / fixtures (upto desired match day or all)\n t1.add_match(_Match('DHK Flensborg', 35551, 'SC Magdeburg II', 35561, 41, 23))\n t1.add_match(_Match('SV Meck.-Schwerin', 35651, 'TS Gro\u00dfburgwedel', 35661, 26, 17))\n ...\n\n tb = t1.get_table()\n # tb is now the sorted table\n\n\\_Match may be replaced with your own object but as a minimum requires a\nteam name and id for both participiants and goals for the home and away\nteam.\n\nThe module supports two modes for calculation:\nCALCULATION_MODE_GOAL_DIFFERENCE and CALCULATION_MODE_DIRECT_COMPARE.\nThe first one uses points, followed by goal difference and then goals\nscored as sort order (as used in German Bundesliga for example).\n\nCALCULATION_MODE_DIRECT_COMPARE will first sort by points, then the\nresult of direct comparison between teams with equal points (often used\nin handball or the Spanish La Liga).\n\nTests\n-----\n\nSome tests are supplied and can be run like this:\n\n::\n\n python -m unittest tablecalculation\n python -m unittest tablecalculation.teampoint\n\nAuthors\n-------\n\n- **Marco Wilka** - *Initial work* -\n `marcowilka `__\n\nLicense\n-------\n\nThis project is licensed under the MIT License - see the\n`LICENSE.txt `__ file for details\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/mkr5000/py-footballtables", "keywords": "football soccer handball table match matches fixture fixtures", "license": "", "maintainer": "", "maintainer_email": "", "name": "tablecalculation", "package_url": "https://pypi.org/project/tablecalculation/", "platform": "", "project_url": "https://pypi.org/project/tablecalculation/", "project_urls": { "Homepage": "https://bitbucket.org/mkr5000/py-footballtables" }, "release_url": "https://pypi.org/project/tablecalculation/1.0.3/", "requires_dist": [ "requests" ], "requires_python": "", "summary": "Python library to calculate tables for football and handball", "version": "1.0.3" }, "last_serial": 5221265, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "b2415c76b8efb834724f1cf2fb7cbf28", "sha256": "96c1d9b13f8fc6befac47e93069f7f9f7975269d09b40d855cea71be8ac318ee" }, "downloads": -1, "filename": "tablecalculation-1.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b2415c76b8efb834724f1cf2fb7cbf28", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10560, "upload_time": "2018-02-28T13:30:48", "url": "https://files.pythonhosted.org/packages/4e/9c/bf2ebbbe685f95f9e62943b31c3a6a759a4fd09de5e3c1c270199e7132b7/tablecalculation-1.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a70e215e24a8ad00afe2553116325307", "sha256": "8612cfed05f9bb274acc76fa2aeb9e1914cee0bdcba2298e7255160f7eeace24" }, "downloads": -1, "filename": "tablecalculation-1.0.1.tar.gz", "has_sig": false, "md5_digest": "a70e215e24a8ad00afe2553116325307", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9479, "upload_time": "2018-02-28T13:30:50", "url": "https://files.pythonhosted.org/packages/d4/30/58397dfdd5f3b448203da6c07c01e9766a28513c67c5784c8ebe1bc0b41d/tablecalculation-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "99e162af3652ffe05c2fed74d69b0c41", "sha256": "730d1370123a9ee103a51a54f60b0a2e9ced5b55977b4d26c7c1495fe410c5f7" }, "downloads": -1, "filename": "tablecalculation-1.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "99e162af3652ffe05c2fed74d69b0c41", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10501, "upload_time": "2018-03-12T13:16:55", "url": "https://files.pythonhosted.org/packages/56/2f/f375edb02f9fdf8584ae09810c55432b27eb3a75e1a87b2deef9f22b1750/tablecalculation-1.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ec23dd15c22333c3e5771b6dcd2e3f63", "sha256": "273bd6794777af96bef6f514d78a26edf538727ac80d1ce1783064a326585363" }, "downloads": -1, "filename": "tablecalculation-1.0.2.tar.gz", "has_sig": false, "md5_digest": "ec23dd15c22333c3e5771b6dcd2e3f63", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9432, "upload_time": "2018-03-12T13:16:56", "url": "https://files.pythonhosted.org/packages/d4/04/c319020bd0c08a53e1dfa7538ece1156aad02de985a8b75ee6d1075e0c6f/tablecalculation-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "82d2f09f91202f9ac19aa2471a139971", "sha256": "4a9ab267b1992621923fc60a87fc55cdd36a8f7d3c8d23e587dcf717df6eb4c5" }, "downloads": -1, "filename": "tablecalculation-1.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "82d2f09f91202f9ac19aa2471a139971", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9384, "upload_time": "2019-05-03T10:32:10", "url": "https://files.pythonhosted.org/packages/c0/2e/2c7800ca69e41dfde69e828724e3e88bb40208015099f9067d0453d50f26/tablecalculation-1.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b4b4c0ec0f87ccbed9ea0c66d7cc1012", "sha256": "c12b1bf81e81ce8595605e3a69e3f4d8f265ce9461b2fe86381e20983113247d" }, "downloads": -1, "filename": "tablecalculation-1.0.3.tar.gz", "has_sig": false, "md5_digest": "b4b4c0ec0f87ccbed9ea0c66d7cc1012", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9497, "upload_time": "2019-05-03T10:32:12", "url": "https://files.pythonhosted.org/packages/3c/7d/69a30f8c4cc529dd2289d9c3309a2729558de6c03acd365e83a15436429f/tablecalculation-1.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "82d2f09f91202f9ac19aa2471a139971", "sha256": "4a9ab267b1992621923fc60a87fc55cdd36a8f7d3c8d23e587dcf717df6eb4c5" }, "downloads": -1, "filename": "tablecalculation-1.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "82d2f09f91202f9ac19aa2471a139971", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9384, "upload_time": "2019-05-03T10:32:10", "url": "https://files.pythonhosted.org/packages/c0/2e/2c7800ca69e41dfde69e828724e3e88bb40208015099f9067d0453d50f26/tablecalculation-1.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b4b4c0ec0f87ccbed9ea0c66d7cc1012", "sha256": "c12b1bf81e81ce8595605e3a69e3f4d8f265ce9461b2fe86381e20983113247d" }, "downloads": -1, "filename": "tablecalculation-1.0.3.tar.gz", "has_sig": false, "md5_digest": "b4b4c0ec0f87ccbed9ea0c66d7cc1012", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9497, "upload_time": "2019-05-03T10:32:12", "url": "https://files.pythonhosted.org/packages/3c/7d/69a30f8c4cc529dd2289d9c3309a2729558de6c03acd365e83a15436429f/tablecalculation-1.0.3.tar.gz" } ] }