Metadata-Version: 2.1
Name: my-wiki-bot
Version: 0.0.2
Summary: A simple wrapper of atlassian-python-api for complex confluence page content modification.
Home-page: https://github.com/jnhyperion/WikiBot
Author: Johnny Huang
Author-email: jnhyperion@gmail.com
License: UNKNOWN
Description: 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)
        
        ```
Keywords: atlassian confluence modification
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
