Coder Social home page Coder Social logo

sachavakili / wikipedia Goto Github PK

View Code? Open in Web Editor NEW

This project forked from goldsmith/wikipedia

2.0 2.0 3.0 248 KB

A Pythonic wrapper for the Wikipedia API

Home Page: https://wikipedia.readthedocs.org/

License: MIT License

Python 99.90% Shell 0.10%

wikipedia's Introduction

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

wikipedia's People

Contributors

goldsmith avatar kazuar avatar fusiongyro avatar sachavakili avatar razerm avatar infothrill avatar javierprovecho avatar jongoodnow avatar imkevinxu avatar arcolife avatar theopolisme avatar bitdeli-chef avatar crazybmanp avatar frewsxcv avatar legoktm avatar mjpieters avatar wronglink avatar salty-horse avatar astavonin avatar jvanasco avatar mkasprz avatar

Stargazers

Happy avatar DOGE avatar

Watchers

Happy avatar DOGE avatar

Forkers

teledoge mutlcc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.