{ "info": { "author": "Robert Grant", "author_email": "rhgrant10@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Natural Language :: English", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6" ], "description": "=======\nberserk\n=======\n\n\n.. image:: https://img.shields.io/pypi/v/berserk.svg\n :target: https://pypi.python.org/pypi/berserk\n\n.. image:: https://img.shields.io/travis/rhgrant10/berserk.svg\n :target: https://travis-ci.org/rhgrant10/berserk\n\n.. image:: https://readthedocs.org/projects/berserk/badge/?version=latest\n :target: https://berserk.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n\nPython client for the lichess API\n\n\n* Free software: GNU General Public License v3\n* Documentation: https://berserk.readthedocs.io.\n\n\nFeatures\n--------\n\n* handles JSON and PGN formats at user's discretion\n* *all* endpoints implemented\n* token auth support provided\n* easy integration with oauth2\n\nUsage\n-----\n\nYou can use any ``requests.Session``-like object as a session, including those\nfrom ``requests_oauth``. A simple token session is included, as shown below:\n\n.. code-block:: python\n\n import berserk\n\n lichess.account.get()\n lichess.account.get_email()\n lichess.account.get_preferences()\n lichess.account.get_kid_mode()\n lichess.account.set_kid_mode()\n lichess.account.upgrade_to_bot()\n\n lichess.users.get_realtime_statuses()\n lichess.users.get_all_top_10()\n lichess.users.get_leaderboard()\n lichess.users.get_public_data()\n lichess.users.get_activity_feed()\n lichess.users.get_by_id()\n lichess.users.get_by_team()\n lichess.users.get_live_streamers()\n\n lichess.games.export()\n lichess.games.export_by_player()\n lichess.games.export_multi()\n lichess.games.get_among_players()\n lichess.games.get_ongoing()\n lichess.games.get_tv_channels()\n\n lichess.challenges.create()\n lichess.challenges.accept()\n lichess.challenges.decline()\n\n lichess.bots.stream_incoming_events()\n lichess.bots.stream_game_state()\n lichess.bots.make_move()\n lichess.bots.post_message()\n lichess.bots.abort_game()\n lichess.bots.resign_game()\n lichess.bots.accept_challenge()\n lichess.bots.decline_challenge()\n\n lichess.tournaments.get()\n lichess.tournaments.create()\n\n\nDetails for each function can be found in the full documentation.\n\n\nCredits\n-------\n\nThis package was created with Cookiecutter_ and the\n`audreyr/cookiecutter-pypackage`_ project template.\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage\n\n\n=======\nHistory\n=======\n\n0.3.1 (2018-12-23)\n------------------\n\n* Convert datetime string in tournament creation response into datetime object\n\n0.3.0 (2018-12-23)\n------------------\n\n* Convert all timestamps to datetime in all responses\n* Provide support for challenging other players to a game\n\n0.2.1 (2018-12-08)\n------------------\n\n* Bump requests dependency to >=2.20.0 (CVE-2018-18074)\n\n\n0.2.0 (2018-12-08)\n------------------\n\n* Add `position` and `start_date` params to `Tournament.create`\n* Add `Position` enum\n\n\n0.1.2 (2018-07-14)\n------------------\n\n* Fix an asine bug in the docs\n\n\n0.1.1 (2018-07-14)\n------------------\n\n* Added tests for session and formats modules\n* Fixed mispelled PgnHandler class (!)\n* Fixed issue with trailing whitespace when splitting multiple PGN texts\n* Fixed the usage overview in the README\n* Fixed the versions for travis-ci\n* Made it easier to test the `JsonHandler` class\n* Salted the bumpversion config to taste\n\n\n0.1.0 (2018-07-10)\n------------------\n\n* First release on PyPI.\n\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/rhgrant10/berserk", "keywords": "berserk", "license": "GNU General Public License v3", "maintainer": "", "maintainer_email": "", "name": "berserk", "package_url": "https://pypi.org/project/berserk/", "platform": "", "project_url": "https://pypi.org/project/berserk/", "project_urls": { "Homepage": "https://github.com/rhgrant10/berserk" }, "release_url": "https://pypi.org/project/berserk/0.3.1/", "requires_dist": [ "requests (>=2.20.0)", "ndjson (==0.1.0)" ], "requires_python": "", "summary": "Python client for the lichess API", "version": "0.3.1" }, "last_serial": 4630563, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "140f3467a6179b8ba649913f89c6f924", "sha256": "839a2771f7ad9d2235c827c998be7f10d619f1c27d4388cb93b63eef664ea3df" }, "downloads": -1, "filename": "berserk-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "140f3467a6179b8ba649913f89c6f924", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10471, "upload_time": "2018-06-11T03:39:35", "url": "https://files.pythonhosted.org/packages/67/ea/a737e75956044c8f790c47a0ca2d8a7fed80950c2659811617b3e739553f/berserk-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c7316968896c180c9f0f31aa24410b32", "sha256": "97f11a7efb72abb06203458a2c11aaec458e40fe188d09622300cc6c088c9543" }, "downloads": -1, "filename": "berserk-0.1.0.tar.gz", "has_sig": false, "md5_digest": "c7316968896c180c9f0f31aa24410b32", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19439, "upload_time": "2018-06-11T03:39:37", "url": "https://files.pythonhosted.org/packages/8c/19/9b9ecd5c48673bc3c66de71196cae217f46e2a298b2d59a8ae8cae001216/berserk-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "4e02c3deab752dcfe9e6f8b0a3c26bd5", "sha256": "756b72abe8f36c627eed453c27ffac9d91dda7df8a905379194356dcc4f7233c" }, "downloads": -1, "filename": "berserk-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4e02c3deab752dcfe9e6f8b0a3c26bd5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10812, "upload_time": "2018-06-15T03:25:29", "url": "https://files.pythonhosted.org/packages/a2/d1/710624d80d2c04aee50743fbb76896e599ef057c183c8ed9e74a1bd61358/berserk-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c570a98af7f4e3d664231af01b48b415", "sha256": "b3a5f7f4833f9d3d52c2af496caf37eb340e35fd02e81b3a3167471c5222d4c4" }, "downloads": -1, "filename": "berserk-0.1.1.tar.gz", "has_sig": false, "md5_digest": "c570a98af7f4e3d664231af01b48b415", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20510, "upload_time": "2018-06-15T03:25:31", "url": "https://files.pythonhosted.org/packages/3d/a3/a4daee5dcc358e20b3442ca984f3a2ce4d464daef5d4d870cb6f591f2036/berserk-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "1ca21ede27e8001c628ac7cc387ea42b", "sha256": "e21d24aa82bcb8a87f20d13a929bb5517f8c64d73b2bd7cbc156a5f59cff4955" }, "downloads": -1, "filename": "berserk-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1ca21ede27e8001c628ac7cc387ea42b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10922, "upload_time": "2018-06-15T03:33:10", "url": "https://files.pythonhosted.org/packages/48/4b/4bd6c701bbdf08429f5b61b5008ad78cb4414ae7e472214993627aa45d1a/berserk-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dd68767c73dd0cc0f44faf51dee89e0f", "sha256": "cdcb601aa6650dc0fdf2eeca0fcd7dab5d657d72df767d59ecc61c1cc8a54db8" }, "downloads": -1, "filename": "berserk-0.1.2.tar.gz", "has_sig": false, "md5_digest": "dd68767c73dd0cc0f44faf51dee89e0f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20610, "upload_time": "2018-06-15T03:33:11", "url": "https://files.pythonhosted.org/packages/f3/0c/7e77f343539be87cf45bbbf2310661cdf4f50a13af87d90909e42ac97040/berserk-0.1.2.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "2967f0b44ad603970f173d465ec98df7", "sha256": "c2e30cb465e8894472ba7423037e78f61bca8afc9e9b5cc7fe712cd25ee1b18b" }, "downloads": -1, "filename": "berserk-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2967f0b44ad603970f173d465ec98df7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13722, "upload_time": "2018-12-08T20:30:41", "url": "https://files.pythonhosted.org/packages/b8/1f/642b1d5b7b9902a75a7d7e54b972c95bc3c0c27542bf12af8ddc1c4387dc/berserk-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cfb949b216f256d46829b150c1b21df2", "sha256": "b9a82604434c0137d15b87bb1ab676b1254c33a86839dd3dbb215533becee75e" }, "downloads": -1, "filename": "berserk-0.2.0.tar.gz", "has_sig": false, "md5_digest": "cfb949b216f256d46829b150c1b21df2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23787, "upload_time": "2018-12-08T20:30:43", "url": "https://files.pythonhosted.org/packages/31/59/f4c3b3024ea9e9fb1d398b06f06043b0152c3bc0e1360295c5676573b231/berserk-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "dc5b4abb529fa994987f2548bd6b7688", "sha256": "25123f03135ca703ef9ca21a6975f08b754e5f70a6aa92381ab3291e3be24984" }, "downloads": -1, "filename": "berserk-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "dc5b4abb529fa994987f2548bd6b7688", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13805, "upload_time": "2018-12-08T20:45:55", "url": "https://files.pythonhosted.org/packages/a0/0b/e1987f5b14c2d4b6b956c19a26e4cad85777a31b278ed588c357a89b0e8f/berserk-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d93dbeb42fa959626b393e7a66d356af", "sha256": "0330f0b4b77b82f4d984270204b6a86f8c7f2adcaf4297e994fb1ccb7967db54" }, "downloads": -1, "filename": "berserk-0.2.1.tar.gz", "has_sig": false, "md5_digest": "d93dbeb42fa959626b393e7a66d356af", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23857, "upload_time": "2018-12-08T20:45:56", "url": "https://files.pythonhosted.org/packages/02/a7/59a7d596adb1b90cfe0a62039e6ff7be5f62941a1105dcfc2ae329a2a280/berserk-0.2.1.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "86cd535a75f9baa153ba3703c447d4d9", "sha256": "b938574141a6833321caf348ab80ad18a37df6b3c4e018c2f71cb1caa7c7fd27" }, "downloads": -1, "filename": "berserk-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "86cd535a75f9baa153ba3703c447d4d9", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 15446, "upload_time": "2018-12-23T18:52:24", "url": "https://files.pythonhosted.org/packages/f0/1b/2705bf1c09d03e8f535f80f0b0cb665827fd83328a58ba9015ad50ea254c/berserk-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "df3dd4d84bff8fd253f0ee23c7ff4c33", "sha256": "5207cc02b1afc46d6c677c47f95cf6384ee6028e0c5e6db38c562dfc7fe85fc7" }, "downloads": -1, "filename": "berserk-0.3.0.tar.gz", "has_sig": false, "md5_digest": "df3dd4d84bff8fd253f0ee23c7ff4c33", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30273, "upload_time": "2018-12-23T18:52:26", "url": "https://files.pythonhosted.org/packages/c3/b5/506be40c13eebe09e4eda4874bbea05dc1778b67e7efe3c21cb3fea30690/berserk-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "218428afc67f70467208d8fbba579ee6", "sha256": "8c84340a17e2e72d1655594afbad2d809408dda2e3a7d796ecacc9906b63047f" }, "downloads": -1, "filename": "berserk-0.3.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "218428afc67f70467208d8fbba579ee6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 15599, "upload_time": "2018-12-24T04:11:03", "url": "https://files.pythonhosted.org/packages/bb/09/d25b49f70145e07a5ca7aa1a5ff9bf5499ba0754341a592a2e8d165ed621/berserk-0.3.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "877b31294b1f8d406a472e650a58c53a", "sha256": "0b1e8cc729c723a413763a2b6421ef2313ddf2b8a36f2478f7be6bdefc192d23" }, "downloads": -1, "filename": "berserk-0.3.1.tar.gz", "has_sig": false, "md5_digest": "877b31294b1f8d406a472e650a58c53a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30461, "upload_time": "2018-12-24T04:11:05", "url": "https://files.pythonhosted.org/packages/0f/df/ef9f0ae39a7c1d4551ba5a2ce7c6e01232c0d5d8bcaba51917f8134fd3f9/berserk-0.3.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "218428afc67f70467208d8fbba579ee6", "sha256": "8c84340a17e2e72d1655594afbad2d809408dda2e3a7d796ecacc9906b63047f" }, "downloads": -1, "filename": "berserk-0.3.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "218428afc67f70467208d8fbba579ee6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 15599, "upload_time": "2018-12-24T04:11:03", "url": "https://files.pythonhosted.org/packages/bb/09/d25b49f70145e07a5ca7aa1a5ff9bf5499ba0754341a592a2e8d165ed621/berserk-0.3.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "877b31294b1f8d406a472e650a58c53a", "sha256": "0b1e8cc729c723a413763a2b6421ef2313ddf2b8a36f2478f7be6bdefc192d23" }, "downloads": -1, "filename": "berserk-0.3.1.tar.gz", "has_sig": false, "md5_digest": "877b31294b1f8d406a472e650a58c53a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30461, "upload_time": "2018-12-24T04:11:05", "url": "https://files.pythonhosted.org/packages/0f/df/ef9f0ae39a7c1d4551ba5a2ce7c6e01232c0d5d8bcaba51917f8134fd3f9/berserk-0.3.1.tar.gz" } ] }