Skip to main content

Get neatly formatted tables from any Wikipedia article

Project description

pykitables

A python package for getting neatly formatted tables from any Wikipedia page using beautifulsoup4.

Usage

    tables = pykitables.get_tables("https://en.wikipedia.org/wiki/Template:COVID-19_pandemic_data/United_States_medical_cases")
    #Returns a list of Wikitable objects
    csv1 = tables[0].to_csv()
    #Returns the csv for the first table in the article

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

pykitables-0.0.1.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

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

pykitables-0.0.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file pykitables-0.0.1.tar.gz.

File metadata

  • Download URL: pykitables-0.0.1.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.3 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.9

File hashes

Hashes for pykitables-0.0.1.tar.gz
Algorithm Hash digest
SHA256 79f832aa3025030786a643ef6ea62d155d4a605acdf74d8d8d1003abbd58a05b
MD5 2ede2e650141bd9f48c979b140561f93
BLAKE2b-256 1ad300afc78d3205b3bda3ba6129bcee1b35e10b463a13a657790ce3e9547b37

See more details on using hashes here.

File details

Details for the file pykitables-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pykitables-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.3 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.9

File hashes

Hashes for pykitables-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9cb3c6ffc2dcefbc5fbedbe3b1d7216dfe11d800d30e6f0fc52ed9863c1f4bdf
MD5 9985293a42685dfa4b620ae46ebc275b
BLAKE2b-256 f25de9403ce94e0e87602bb44f38701dee78cf0dabf581fc7c9503e8ec12f2d7

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