Arxiv

Latest version: v2.1.0

Safety actively analyzes 619477 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

2.1.0

**Deprecating change.**

Deprecates submodule-style imports for the base package: `import arxiv.arxiv` and `from arxiv import arxiv`. Use `import arxiv`.

What's Changed

* Move package logic into `__init__.py` by lukasschwab in https://github.com/lukasschwab/arxiv.py/pull/141
* Add an unencoded query example to README.md by lukasschwab in https://github.com/lukasschwab/arxiv.py/pull/143
* Restructure README.md: focus on generated docs by lukasschwab in https://github.com/lukasschwab/arxiv.py/pull/144

**Full Changelog**: https://github.com/lukasschwab/arxiv.py/compare/2.0.0...2.1.0

2.0.0

What's Changed

Breaking change.

+ Primary goal is to improve the client's resilience against API instability. See ongoing investigation on 129.
+ Basic usage — i.e. everything covered in the README — should be unaffected.

Breaking

+ Previously deprecated `Client.get`/`Search.get` removed in 137
+ Misleading type hints/defaults for `max_results`/`delay_seconds` replaced in 138
+ Constructors are expected to be backwards-compatible, but this is untested behavior
+ `UnexpectedEmptyPageError` and `HTTPError` constructor signatures changed in 136
+ Sets a `User-Agent` header on the API request
+ Introduces dependency on `requests`
+ Introduces `Client`-encapsulated session reuse
+ `feedparser` no longer swallows connection errors; instead, retry per `Client` behavior

Deprecating

+ `Search.results` deprecated: prefer `Client.results` with client reuse.

Other

* Format with black in https://github.com/lukasschwab/arxiv.py/pull/120
* Standardize on HTTPS over HTTP in https://github.com/lukasschwab/arxiv.py/pull/131
* Improve logging: standard formatting, verbose tests in https://github.com/lukasschwab/arxiv.py/pull/132
* Use `setup-pythonv4`, cache pip dependencies in https://github.com/lukasschwab/arxiv.py/pull/133
* Pin `feedparser==6.0.6` in https://github.com/lukasschwab/arxiv.py/pull/135

**Full Changelog**: https://github.com/lukasschwab/arxiv.py/compare/1.4.8...2.0.0

1.4.8

What's Changed

Nonbreaking change.

* Adapt pdoc docs.yml docs-deploy workflow by lukasschwab in https://github.com/lukasschwab/arxiv.py/pull/113
* Remove ./docs directory from git by lukasschwab in https://github.com/lukasschwab/arxiv.py/pull/114
* Simplify `pdoc` build, eliminate nav badges by lukasschwab in https://github.com/lukasschwab/arxiv.py/pull/115
* Replace `/` with `_` in legacy-format IDs in download filenames by lukasschwab in https://github.com/lukasschwab/arxiv.py/pull/118

**Full Changelog**: https://github.com/lukasschwab/arxiv.py/compare/1.4.7...1.4.8

1.4.7

Nonbreaking change. No logical changes from 1.4.6.

* Indicate Python version in trove classifiers by lukasschwab in https://github.com/lukasschwab/arxiv.py/pull/112

1.4.6

Nonbreaking change.

* Move linting from flake8 to ruff by lukasschwab in https://github.com/lukasschwab/arxiv.py/pull/110
* Set python_requires >=3.7 by lukasschwab in https://github.com/lukasschwab/arxiv.py/pull/111

**Full Changelog**: https://github.com/lukasschwab/arxiv.py/compare/1.4.5...1.4.6

1.4.5

Nonbreaking change.

+ Disambiguate generic `list` type hints by lukasschwab in https://github.com/lukasschwab/arxiv.py/pull/109

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.