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.13+. 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.2.tar.gz (130.8 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.2-py3-none-any.whl (20.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mc_wiki_scraper-0.1.2.tar.gz
Algorithm Hash digest
SHA256 9c80445f287979fdb4761f5fa454c9b9b199f98a0847a5cc9fe03d0950116e7c
MD5 7492771f45119e9ff500173a907ab767
BLAKE2b-256 4561779a6cbe565b7c285e77526ece9a843aa5cfb47f3a00abc175f0d0a9a4b0

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for mc_wiki_scraper-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f4ee92d19733e10d45e73255d8228a6d93af92642cd134db44a57511f8381ef2
MD5 49c6b35f04dc0da5f66f7bf6d0e6c375
BLAKE2b-256 f2a83cac67d86e1e5f6da1a639ec50f98ba9eceaa5044fc9f43bb14472409011

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