semvec/pypi-packages huggingface dataset:
my-wiki-bot 0.0.2
A simple wrapper of atlassian-python-api for complex confluence page content modification.
Requires Python: >=3.6
Keywords: atlassian confluence modification

WikiBot
=============
This is a simple wrapper of `atlassian-python-api` for complex confluence page content modification.

Install
-------
``` sh
$ pip install my-wiki-bot
```

Feature
-------
* Only 1 method extended `modify_content_with_bs4`.
* This method needs a modification callback input, which allows user to access and modify the page content `bs4.BeautifulSoup` object.

Example
-------
``` python
from bs4 import BeautifulSoup
from wikibot import WikiBot


def modification_callback(soup):
    a = soup.find('table').find_all_next('tr')[6].find_all_next('td')[6].div
    a.append(BeautifulSoup('<b>WikiBot is awesome!</b>', 'html.parser'))


wiki_bot = WikiBot(url='https://localhost', username='WikiBot', password='*******')

wiki_bot.modify_content_with_bs4(space='My Space', title='Demo', modification_callback=modification_callback)

```