Skip to main content

Scrape and analyze articles from minecraft.wiki

Project description

MC Wiki Scraper

Python PyPI Tests Lint

Scrape and analyze articles from minecraft.wiki


Features

  • Summary – Get the first paragraph of an article.
  • Table Extraction – Extract tables and save them as CSV.
  • Count Words – Count words in an article and aggregate results in word-counts.json.
  • Analyze Relative Word Frequency – Compare word frequencies across articles or the whole language.
  • Auto Count Words – Traverse links automatically and count words in articles.

Usage

Show help:

mc-wiki-scraper -h

Example:

mc-wiki-scraper summary 'iron ingot'

Installation

Requires Python 3.11+. Install to a virtual environment (recommended):

python -m venv .venv  
source .venv/bin/activate  
pip install mc-wiki-scraper

Development

Clone the repository and install with test dependencies:

pip install -e '.[test]'  
pytest

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

mc_wiki_scraper-0.1.4.tar.gz (135.5 kB view details)

Uploaded Source

Built Distribution

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

mc_wiki_scraper-0.1.4-py3-none-any.whl (20.7 kB view details)

Uploaded Python 3

File details

Details for the file mc_wiki_scraper-0.1.4.tar.gz.

File metadata

  • Download URL: mc_wiki_scraper-0.1.4.tar.gz
  • Upload date:
  • Size: 135.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.3 cpython/3.13.11 HTTPX/0.28.1

File hashes

Hashes for mc_wiki_scraper-0.1.4.tar.gz
Algorithm Hash digest
SHA256 b7aa1ee8909988891c0ee0b32fdfced8568eb4b58e904cf2b8ee634adba21147
MD5 003c7d0e32a041250896947c6dddfd5c
BLAKE2b-256 8570b6d25e14ce31067f648b07e659d504481edc4bcfc320f405606ebe9e3951

See more details on using hashes here.

File details

Details for the file mc_wiki_scraper-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: mc_wiki_scraper-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 20.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.3 cpython/3.13.11 HTTPX/0.28.1

File hashes

Hashes for mc_wiki_scraper-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ad941f48902990caad2d7a2b203223ec860e0c2b5513e74df10f0026ccdaa75f
MD5 1ad9a9ae646a1432d5c45f9f3d5d480d
BLAKE2b-256 2ea5f5feda88d1a39c0e6285248fde541fdfeb49d42cd59bed01dd5c6c485e79

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