Wikipedia with sections
Wikipedia with sections is a Python library that makes it easy to access and parse data from Wikipedia.
This is a fork from Jonathan Goldsmith’s Wikipedia package
>>> import wikipedia
>>> ny = wikipedia.page("New York")
>>> ny.sections[:5]
# ['Etymology', 'History', 'Early history', 'Dutch rule', 'English rule']
Installation
To install Wikipedia, simply run:
$ pip install wikipedia_sections
Wikipedia is compatible with Python 2.6+ (2.7+ to run unittest discover) and Python 3.3+.
Documentation
See https://github.com/goldsmith/Wikipedia for full dcumentation.
License
MIT licensed. See the LICENSE file for full details.
Credits
Wikipedia by Jonathan Goldsmith for the original repository
wiki-api by @richardasaurus for inspiration
@nmoroze and @themichaelyang for feedback and suggestions
The Wikimedia Foundation for giving the world free access to data
Metadata
Release files for wikihappy 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wikihappy-1.0.0.tar.gz | 9.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wikihappy-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.4 kB
Release files / wikihappy-1.0.0.tar.gz
| Download URL | wikihappy-1.0.0.tar.gz |
|---|---|
| Size | 9.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7aa44e06c35c3d3b9e2d04d0664ca5fe27ac5501846b72881aa54b13b042bb47
|
|
BLAKE2b-256 checksum How to use checksums |
8c02b9f0521b90310ccce0915fc9b3eecd3357a7ea2bcdd1d2820961fe09772a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
|
Release files / wikihappy-1.0.0-py3-none-any.whl
| Download URL | wikihappy-1.0.0-py3-none-any.whl |
|---|---|
| Size | 10.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0f7504618218ffb7d50728aba173d705ec3b3fc00191529b290f5849d620730b
|
|
BLAKE2b-256 checksum How to use checksums |
cb9aaefaf718ec21e7e47c3423c7799e6dc42db8839d196f49df49fca6221ea4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
|