Skip to main content

Wikipedia(English) to json

Project description

WikiToJson

Convert a english wikipedia page to text, replicating the section hierarchy in json attributes.

Instalation

pip install wikitojson

Basic Usage

import wikitojson
data = wikitojson.get("Computer")

import json
print(json.dumps(data, indent = 4))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wikitojson-0.0.3.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wikitojson-0.0.3-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file wikitojson-0.0.3.tar.gz.

File metadata

  • Download URL: wikitojson-0.0.3.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.7.3

File hashes

Hashes for wikitojson-0.0.3.tar.gz
Algorithm Hash digest
SHA256 e99dd88db5141c40eef3013608f8639c91a311b0ecd35accc35fca982521ca91
MD5 b5c8456317d4dcf21fd1d97ed592fcce
BLAKE2b-256 495dfe4778bfa3b61cf3db9c327b79a6672bf37af7bcfc8989535a393a1596d7

See more details on using hashes here.

File details

Details for the file wikitojson-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: wikitojson-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.7.3

File hashes

Hashes for wikitojson-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 921972bf1059ba2b7675c90930d17bbe17f487324c4736bed101f42d971a3c9c
MD5 8309d89cac950314e9814c58b7a6077b
BLAKE2b-256 95c680650b391c2033edd4b0d7cdf674ed5b51725fd8418ac54f65033da6a56e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page