CITI's Wiki page editing for lazy people.
Project description
Easily edit pages on CITi’s Wiki directly from shell or using a Markdown (.md) file.
Installation
$ pip install citi-wikibot
Usage
Editing a page directly from the shell
$ python
>>> from wikibot.bot import Wikibot
>>> bot = Wikibot(username='insert_username', password='insert_password', page='insert_page')
>>> bot.edit_page('== My title ==\nHello world!')
Editing a page from a Markdown file
Important: It’s recommended that you run the script in the folder your file is located
$ ls
notes.md
$ python
>>> from wikibot.bot import Wikibot
>>> bot = Wikibot(username='insert_username', password='insert_password', page='insert_page')
>>> bot.edit_page_from_file('notes.md')
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
citi-wikibot-0.4.7.tar.gz
(2.1 kB
view hashes)