lukasschwab / arxiv.py

Python wrapper for the arXiv API
MIT License
1.07k stars 120 forks source link

Add `__str__` and `__repr__` methods to all non-Enums #61

Closed lukasschwab closed 3 years ago

lukasschwab commented 3 years ago

Should improve readability in interactive usage.

Description

Adds standard Python __str__ and __repr__ methods to all declared classes besides the enums.

Breaking changes

List any changes that break the API usage supported on master.

Relevant issues

List GitHub issues relevant to this change.

EPS-Libraries-Berkeley/volt#161: this came up as a pain point when migrating their example.

Checklist