Wikipedia tools (for Humans)

Edit Package python-wptools
https://github.com/siznax/wptools/

Python and command-line MediaWiki access for Humans.

Features:
* get an HTML or plain text "extract" (lead or summary)
* get a representative image (pageimage, thumb, etc.)
* get an Infobox as a python dictionary
* get any/all Wikidata by title
* get info in any language
* get random info

Refresh
Refresh
Source Files
Filename Size Changed
python-wptools-avoid-reading-readme.patch 0000000950 950 Bytes
python-wptools.changes 0000004458 4.35 KB
python-wptools.spec 0000002434 2.38 KB
wptools-0.4.17.tar.gz 0000541007 528 KB
Latest Revision
Yuchen Lin's avatar Yuchen Lin (maxlin_factory) accepted request 677694 from Atri Bhattacharya's avatar Atri Bhattacharya (badshah400) (revision 26)
- Remove superfluous devel dependency for noarch package

- Update to version 0.4.17:
  * Support proxy authentication (gh#siznax/wptools#130).
  * Support page links continuations (gh#siznax/wptools#129).

- Update to version 0.4.16:
  + Support for alternate API endpoint.

- Update to version 0.4.15:
  + Include tests in distribution (nonetheless don't run checks
    during specfile because tests need network connection).

- Update to version 0.4.14:
  + Moved expensive backlinks request to page.get_more() and other
    minor fixes.
- Changes from version 0.4.13:
  + Support getting backlinks with continuations, and more general
    continuation support in wptools.core
- Minor rebase of python-wptools-avoid-reading-readme.patch.
- Drop %%check entirely, tests require network.
- Fix up sed command to remove hashbang: check for a valid
  hashbang on the first line of file only and delete a match.
Comments 0
openSUSE Build Service is sponsored by