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.6.tar.gz (135.6 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.6-py3-none-any.whl (20.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mc_wiki_scraper-0.1.6.tar.gz
  • Upload date:
  • Size: 135.6 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.6.tar.gz
Algorithm Hash digest
SHA256 3bb49060a0ff46135bff202272842742815bf0edcc97af5c387def132288037d
MD5 9ceb08a2e0617a88bef49bf8d86f4647
BLAKE2b-256 13f759f2186681658e98e04475433fced69324f0d037779a40affb8e3c6e18dd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mc_wiki_scraper-0.1.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 77e0768fc6ed24cebd9a293c8cb39f397c297ecd9b974113ad96ab635c6ff8a9
MD5 b63bf0ac4ea0cddf7c307370fefa54e7
BLAKE2b-256 1e2b7c4e5b3d2ad85f9d6ea01ba624d859691a54c0e6189a82db35bd81ded009

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