swh.lister.pypi: Add a pypi lister implementation using xmlprc api
Based solely on pypi's deprecated xmlrpc api [1]. No other way of listing pypi.org is referenced (except for parsing an html page through a legacy api [2]) [1] https://warehouse.readthedocs.io/api-reference/xml-rpc/#pypi-s-xml-rpc-methods [2] https://pypi.python.org/simple/ Related T422
Showing
- README.md 39 additions, 0 deletionsREADME.md
- swh/lister/cli.py 6 additions, 1 deletionswh/lister/cli.py
- swh/lister/core/lister_transports.py 66 additions, 1 deletionswh/lister/core/lister_transports.py
- swh/lister/core/simple_lister.py 67 additions, 0 deletionsswh/lister/core/simple_lister.py
- swh/lister/pypi/__init__.py 0 additions, 0 deletionsswh/lister/pypi/__init__.py
- swh/lister/pypi/lister.py 70 additions, 0 deletionsswh/lister/pypi/lister.py
- swh/lister/pypi/models.py 16 additions, 0 deletionsswh/lister/pypi/models.py
- swh/lister/pypi/tasks.py 20 additions, 0 deletionsswh/lister/pypi/tasks.py
Loading
-
Some references in the commit message have been migrated:
- T422 is now swh/meta#422 (closed)
Please register or sign in to comment