Tags: lukasschwab/arxiv.py
Tags
Replace `/` with `_` in legacy-format IDs in download filenames (#118) Fixes #117. Differentiates character-escaping strategies for paper titles and paper IDs: + IDs: only replace `/` with `_`, to account for legacy-form IDs. + Titles: replace non-word (i.e. `[^\w]`) characters with `_`. Adds a regression test.
Set python_requires >=3.7 (#111) Should capture what we test in CI: 3.7, ..., 3.10, 3.11. Increment the version to 1.4.6 to reflect a patch: this isn't a breaking change for any of the supported versions. Update README.md version badge to resolve supported versions from PyPI.
Disambiguate generic `list` type hints (#109) * Disambiguate generic list types Also updates string annotations in constructor arguments. Imports `annotations` from `__future__`, which allows referring to class types before they're defined. Verification: searched for all instances of `: list`; there aren't any left in arxiv.py. Generated docs look good. * Increment version for patch
Fix docstring: `updated` and `published` are datetimes (#107) * Bump package version to 1.4.4 * Fix docstring: updated and published are datetimes (#106) See `_from_feed_entry` and `_to_datetime`: auto-converting struct_time to datetimes. Update the docstring to reflect the conversion. * Pin pyenv Python version 3.10.4 * Bump pdoc to 13.1.0; log pdoc version before generating docs --------- Co-authored-by: Nasy <nasyxx@gmail.com>
PreviousNext