{ "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": "Standings\n=========\n\nPython library to calculate standings for football and handball\n\nGetting Started\n---------------\n\npip install standings\n\nAlternatively: copy the standings 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 `standingstest.py `__ for reference.\n\nBasic usage is as follows:\n\n::\n\n # Handball 3. Liga Herren, Saison 2015/16, 17. Spieltag\n # Create ranking calculation oject with scope, sports type and mode\n t1 = Standings(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 standings\n python -m unittest standings.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": "standings", "package_url": "https://pypi.org/project/standings/", "platform": "", "project_url": "https://pypi.org/project/standings/", "project_urls": { "Homepage": "https://bitbucket.org/mkr5000/py-footballtables" }, "release_url": "https://pypi.org/project/standings/1.0.4/", "requires_dist": [ "requests" ], "requires_python": "", "summary": "Python library to calculate standings for football and handball", "version": "1.0.4" }, "last_serial": 5221350, "releases": { "1.0.4": [ { "comment_text": "", "digests": { "md5": "00e2eb094d9c1116cbde315ffb553ad1", "sha256": "66c5e3bbb5b3692ccc323d24bf269c057248143427eee4a2e0d422b75055c121" }, "downloads": -1, "filename": "standings-1.0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "00e2eb094d9c1116cbde315ffb553ad1", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 15253, "upload_time": "2019-05-03T10:56:50", "url": "https://files.pythonhosted.org/packages/4f/e2/04ff180b0666fa3f982a0a473fcbd5e659008c94e7f433efb1787fb6b889/standings-1.0.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8942449d351e99ff6cd3b707d20f7f4d", "sha256": "d586e4890e40f8b97eeb517c59d8fe457bfd2edc8de93d5cbce9e73fe6339410" }, "downloads": -1, "filename": "standings-1.0.4.tar.gz", "has_sig": false, "md5_digest": "8942449d351e99ff6cd3b707d20f7f4d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9285, "upload_time": "2019-05-03T10:56:52", "url": "https://files.pythonhosted.org/packages/64/d5/009abe0891d34e8be62ab02741508439b272825d911af434e9d593d25274/standings-1.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "00e2eb094d9c1116cbde315ffb553ad1", "sha256": "66c5e3bbb5b3692ccc323d24bf269c057248143427eee4a2e0d422b75055c121" }, "downloads": -1, "filename": "standings-1.0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "00e2eb094d9c1116cbde315ffb553ad1", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 15253, "upload_time": "2019-05-03T10:56:50", "url": "https://files.pythonhosted.org/packages/4f/e2/04ff180b0666fa3f982a0a473fcbd5e659008c94e7f433efb1787fb6b889/standings-1.0.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8942449d351e99ff6cd3b707d20f7f4d", "sha256": "d586e4890e40f8b97eeb517c59d8fe457bfd2edc8de93d5cbce9e73fe6339410" }, "downloads": -1, "filename": "standings-1.0.4.tar.gz", "has_sig": false, "md5_digest": "8942449d351e99ff6cd3b707d20f7f4d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9285, "upload_time": "2019-05-03T10:56:52", "url": "https://files.pythonhosted.org/packages/64/d5/009abe0891d34e8be62ab02741508439b272825d911af434e9d593d25274/standings-1.0.4.tar.gz" } ] }