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 | Provenance | Actions |
|---|---|---|---|---|
| wikihappy-1.0.0.tar.gz | 9.8 kB | Without provenance | Details for wikihappy-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wikihappy-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for wikihappy-1.0.0-py3-none-any.whl |
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
|
Security for wikihappy 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.