www/py-arxiv 4.0.1 FreeBSD
Python wrapper for the arXiv API
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
20c9e85ce0- License
- MIT
- Categories
- www, python
- Package size
- 24.2 KiB, 106.9 KiB installed
Description
arxiv.py is a Python wrapper for the arXiv API (http://arxiv.org/help/api/index).
arXiv is a project by the Cornell University Library that provides open access to 1,000,000+ articles in Physics, Mathematics, Computer Science, Quantitative Biology, Quantitative Finance, and Statistics.
They have an API that uses ATOM feeds to serve simple database queries. Unfortunately, handling these ATOM requsts can be clumsy (especially given inconsistency in data between different result objects, even in the same query). This is where arxiv.py comes it: it constructs requests for arXiv and gets ATOM feeds via a simple handful of methods, and parses the results into an intuitive format.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | www/py-arxiv | 4.0.1 |
| DragonFly | www/py-arxiv | 2.1.3 |
| HardenedBSD | www/py-arxiv | 4.0.1 |
| GhostBSD | www/py-arxiv | 4.0.1 |
Install
Binary package:
pkg install py312-arxiv
From the ports tree:
cd /usr/ports/www/py-arxiv/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-arxiv>0:www/py-arxiv
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 4.0.1 | 4.0.1 | 1.4.2 | 2.2.0 | 4.0.1 |
| FreeBSD:14:quarterly | 4.0.1 | 4.0.1 | n/a | 2.2.0 | 4.0.1 |
| FreeBSD:15:latest | 4.0.1 | 4.0.1 | n/a | 2.2.0 | 2.2.0 |
| FreeBSD:15:quarterly | 4.0.1 | 4.0.1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 4.0.1 | 4.0.1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0: devel/py-hatch-vcs${PYTHON_PKGNAMEPREFIX}hatchling>=0: devel/py-hatchling
Runtime 2
${PYTHON_PKGNAMEPREFIX}lxml>=6.1.0<7/0: devel/py-lxml${PYTHON_PKGNAMEPREFIX}requests>=2.32<2.35: www/py-requests
Test 1
${PYTHON_PKGNAMEPREFIX}pdoc>=0: devel/py-pdoc
The full lists below include those, and their dependencies in turn.
Build dependencies 22
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-build
- devel/py-hatch-vcs
- devel/py-hatchling
- devel/py-installer
- devel/py-packaging
- devel/py-pathspec
- devel/py-pluggy
- devel/py-pyproject-hooks
- devel/py-setuptools
- devel/py-setuptools-scm
- devel/py-trove-classifiers
- devel/readline
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- textproc/py-tomlkit
Run dependencies 18
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| arxiv-4.0.1.tar.gz | 198962 | 304e91a9f869fa4cc362a0a6f38ecb956eec11b83619465172ab24b9453e3d51 |
Master sites 1
- PYPI