Skip to main content

Minimalist Wikipedia CLI client for terminal dwellers.

Project description

WiCLIpedia

License: GPL-3.0-or-later Version Supported Versions Code Style: Black

This is a minimalistic command line interface (CLI) tool to fetch and display data from Wikipedia.

In an era where Artificial Intelligence answers everything and large language models shape our knowledge, this program is a small tribute to Wikipedia, the silent, human-curated backbone that feeds those very models. Never forget the source.

Installation

pip install wiclipedia

Usage

wicli "Blade Runner"

User will be interactively prompted to navigate through the article's sections and subsections, or select a different page if the query is ambiguous.

By default, it fetches the English Wikipedia.
To specify a different language, use the -l or --lang option:

wicli "La classe operaia va in paradiso" --lang it

API Respect & Fair Use Disclaimer

WiCLIpedia interfaces directly with the official Wikipedia PHP/MediaWiki APIs without using any third-party scraping libraries. Please use this tool responsibly. If you need to perform massive automated data extraction, use official database dumps instead of hammering the live API.

License

This program is licensed under the GNU General Public License v3.0 or later (GPL-3.0). See the LICENSE file for details.

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

wiclipedia-0.1.0b0.tar.gz (20.7 kB view details)

Uploaded Source

Built Distribution

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

wiclipedia-0.1.0b0-py3-none-any.whl (22.8 kB view details)

Uploaded Python 3

File details

Details for the file wiclipedia-0.1.0b0.tar.gz.

File metadata

  • Download URL: wiclipedia-0.1.0b0.tar.gz
  • Upload date:
  • Size: 20.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for wiclipedia-0.1.0b0.tar.gz
Algorithm Hash digest
SHA256 462a3dfd1d99b95d1aebfa2a19fbf9a69d4ae3456838e30abe3c51a2dc6acf4b
MD5 09fcc60bdcae4c758f8b293a57f3cfa2
BLAKE2b-256 fb84ee343223784cf353578d63d8e4d0e8ab1d1735363354f3e79bf3c1c57683

See more details on using hashes here.

File details

Details for the file wiclipedia-0.1.0b0-py3-none-any.whl.

File metadata

  • Download URL: wiclipedia-0.1.0b0-py3-none-any.whl
  • Upload date:
  • Size: 22.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for wiclipedia-0.1.0b0-py3-none-any.whl
Algorithm Hash digest
SHA256 d8029997a76665b280d067338e6d119111c793b549b6fcce1e8d9012f1903cb7
MD5 273e660105f0d2b156380aa41568da3f
BLAKE2b-256 1f23b99bcb71c45f8b1b77d05bc2ab259f35a89d11cb58476386ef38e2241b64

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