Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python.announce > #3309
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | "Robert Grant" <rhgrant10@gmail.com> |
| Newsgroups | comp.lang.python.announce |
| Subject | berserk v0.7.0 |
| Date | Sun, 26 Jan 2020 12:58:21 -0000 |
| Lines | 76 |
| Approved | python-announce-list@python.org |
| Message-ID | <158004350191.28777.18205044532002090396@mail.python.org> (permalink) |
| Reply-To | python-list@python.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="utf-8" |
| Content-Transfer-Encoding | 7bit |
| X-Trace | news.uni-berlin.de eAn7+CGumG3J5s3RZq0qoQ5St1djVIdulYg7IJt5V5kg== |
| User-Agent | HyperKitty on https://mail.python.org/ |
| X-MailFrom | rhgrant10@gmail.com |
| X-Mailman-Rule-Hits | emergency |
| X-Mailman-Rule-Misses | dmarc-mitigation; no-senders; approved |
| Message-ID-Hash | NQROCY3OJE5FT5EVCRDMY64TCPUTOUJE |
| X-Message-ID-Hash | NQROCY3OJE5FT5EVCRDMY64TCPUTOUJE |
| X-Mailman-Approved-At | Mon, 27 Jan 2020 02:53:27 -0500 |
| X-Mailman-Version | 3.3.1 |
| Precedence | list |
| List-Id | Announcement-only list for the Python programming language <python-announce-list.python.org> |
| Archived-At | <https://mail.python.org/archives/list/python-announce-list@python.org/message/NQROCY3OJE5FT5EVCRDMY64TCPUTOUJE/> |
| List-Archive | <https://mail.python.org/archives/list/python-announce-list@python.org/> |
| List-Help | <mailto:python-announce-list-request@python.org?subject=help> |
| List-Post | <mailto:python-announce-list@python.org> |
| List-Subscribe | <mailto:python-announce-list-join@python.org> |
| List-Unsubscribe | <mailto:python-announce-list-leave@python.org> |
| Xref | csiph.com comp.lang.python.announce:3309 |
Show key headers only | View raw
Hi everyone,
I'm pleased to announce the release of berserk v0.7.0!
What's New?
-----------
It's been a while since the last slew of commits and _lots_ has happened since v0.3.2:
**Features**
* Add ``ApiError`` for all other request errors
* Add ``ResponseError`` for 4xx and 5xx responses with status code, reason, and cause
* Add a utility for easily converting API objects into update params
* Add logging to the ``berserk.session`` module
* Add new ``Teams`` client: join, get members, kick member, and leave
* Add simuls
* Add studies export and export chapter
* Add support for the broadcast endpoints
* Add tests for all utils
* Add tournament results, games export, and list by creator
* Add user followers, users following, rating history, and puzzle activity
**Deprecations**
* Deprecated ``Users.get_by_team`` - use ``Teams.get_members`` instead
**Bugfixes**
* Fix bug in ``Broadcasts.push_pgn_update``
* Fix exception message when no cause
* Fix multiple bugs with the tournament create endpoint
* Fix py36 issue preventing successful build
* Fix test case broken by 0.4.0 release
* Fix multiple bugs in ``Tournaments.export_games``
**Misc**
* Update development status classifier to 4 - Beta
* Update documentation and tweak the theme
* Update the travis build to include py37
* Update the Makefile
What is berserk?
----------------
berserk is the Python client for the Lichess API. It supports JSON and PGN,
provides pluggable session auth, and implements most if not all of the API.
License: GNU General Public License v3
* Read the **docs**: https://berserk.readthedocs.io/
* Install from **PyPI**: https://pypi.org/project/berserk/
* Contribute **source**: https://github.com/rhgrant10/berserk
Example
-------
.. code-block:: python
>>> import berserk
>>> session = berserk.TokenSession('my-api-token')
>>> client = berserk.Client(session)
>>> my = client.account.get()
>>> games = list(client.games.export_by_player(my['username'], as_pgn=True))
>>> len(games)
18
Enjoy!
-- Rob
Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread
berserk v0.7.0 "Robert Grant" <rhgrant10@gmail.com> - 2020-01-26 12:58 +0000
csiph-web