Skip to content

KiranNiranjan/wiki-parser-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wikipedia Parser wikiparser logo

Simple and best tool to parse wikipedia

https://travis-ci.org/KiranNiranjan/wiki-parser-py.svg?branch=master

Installing

pip install wikiparser

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Dependency

  • Python 3
  • wikiparser

Import

from wikiparser import *

Importing specific methods

from wikiparser import infoBox, getMainImage, getParagraph

Methods

  • infoBox()

    ''' To get info_box table from wikipedia as json '''
    infoBox = infoBox("https://en.wikipedia.org/wiki/Methane")

Running the tests

Explain how to run the automated tests for this system

python tests/test.py

Authors

KiKe

Javasctipt (npm)

wikiparser KiKe

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Releases

No releases published

Packages

No packages published

Languages