WikiBot
This is a simple wrapper of atlassian-python-api for complex confluence page content modification.
Install
$ 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.BeautifulSoupobject.
Example
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)
Metadata
Release files for my-wiki-bot 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| my-wiki-bot-0.0.2.tar.gz | 2.2 kB | Without provenance | Details for my-wiki-bot-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| my_wiki_bot-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for my_wiki_bot-0.0.2-py3-none-any.whl |
Total release size: 5.4 kB
Release files / my-wiki-bot-0.0.2.tar.gz
| Download URL | my-wiki-bot-0.0.2.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e54609adcf8d8406004ea023ef664738e418ca5c8fe9b724f01a5ba182048a64
|
|
BLAKE2b-256 checksum How to use checksums |
da891728dc0caf1823f9217506ace636de602e8a461044e7364d730025eb58ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.1
|
Release files / my_wiki_bot-0.0.2-py3-none-any.whl
| Download URL | my_wiki_bot-0.0.2-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3a637abbbbd3ea8b4042b9e3ea01f71edbb144293c8cd896d8e6de7c58f3799b
|
|
BLAKE2b-256 checksum How to use checksums |
ae2b0f7c6e0490eff31175d942560a9d06018f7e326cf7c334b0683d688f2681
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.1
|
Security for my-wiki-bot 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.