A CLI tool to interact with MediaWiki via its API
Project description
PyWikiCLI
A command-line interface tool for interacting with MediaWiki-powered wikis.
Features
get: Retrieve and display wiki page contentput: Edit or create wiki pagescrawl: Crawl wiki pages starting from a specific pageconfig: Configure API settings and credentials
Installation
# Install from PyPI
pip install pywikicli
# Or install with Poetry
poetry install
# Activate the Poetry environment (if using Poetry)
poetry shell
Usage
# Configure your wiki connection
pywikicli config
# Get a page
pywikicli get "Main Page"
# Put content to a page
pywikicli put "My Page" --content "This is my wiki page content"
# Crawl pages starting from a specific page
pywikicli crawl "Starting Page" --depth 2
Development
This project follows SOLID principles and uses a modular architecture for maintainability and extensibility.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pywikicli-0.1.8.tar.gz
(10.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
pywikicli-0.1.8-py3-none-any.whl
(13.7 kB
view details)
File details
Details for the file pywikicli-0.1.8.tar.gz.
File metadata
- Download URL: pywikicli-0.1.8.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25b22fdaf035ad167ca3e6c0d12befa96784da266189b5af4b23363783f3aff0
|
|
| MD5 |
d974dce002ba77a62e57a363d6c7e494
|
|
| BLAKE2b-256 |
3d70b95f4fd83f89f9f8409d9a0f1ff01435949ab409fb1d1899ce892cef2f81
|
File details
Details for the file pywikicli-0.1.8-py3-none-any.whl.
File metadata
- Download URL: pywikicli-0.1.8-py3-none-any.whl
- Upload date:
- Size: 13.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
193db1d496841f89dd70e8b4bd5f7240b8042f4a25a190902d1517126a2a7bb3
|
|
| MD5 |
827bd5a868966ba07544c5922ac8d0a7
|
|
| BLAKE2b-256 |
8ca80a3c139abe64355061b851050f64afee3b695a11115e055442c71b054633
|