A simple wrapper around the Confluence REST API.
Project description
Confluence Python Library
This is a simple wrapper around the REST API which the Confluence provides.
Note that the library is undergoing major work so don’t expect the API to be stable until this notice is removed!
c.f. endpoints.md for a list of endpoints and whether this library supports them yet. Please do send pull requests if you want an endpoint that isn’t covered!
Installation
pip install confluence-rest-library
Usage
from confluence.client import Confluence
with Confluence('https://site:8080/confluence', ('user', 'pass')) as c:
pages = c.search('ID=1')
Development and Deployment
See the Contribution guidelines for this project for details on how to make changes to this library.
Testing Locally
There are two sets of tests included. A suite of unit tests that verify the models can be built correctly and a suite of integration tests that run against a local instance of confluence. The unit tests can be run by simply invoking: .. code:
python setup.py test --addopts "tests"
The integration tests are more complex and require the developer to take the following steps:
Install the Atlassian SDK
Run atlas-run-standalone --product confluence --version 6.6.0 --server localhost
Wait for the server to complete starting up
Run integration tests using python setup.py test --addopts "integration_tests"
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
Built Distribution
Hashes for confluence-rest-library-0.12.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f27401b4753edfeb1efb189869c578cc95eb4c4d184df18611c495da388aa01a |
|
MD5 | f9f30f0e49eca77137b6d3606470db36 |
|
BLAKE2b-256 | 95ae1dcb71ba5869ce12856c4462dae0b859a92534af9885d731702762fca8a3 |
Hashes for confluence_rest_library-0.12.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f36bae012725bd7f3245360e343683461ec3d017186d16b918747d1ff17c9202 |
|
MD5 | f751f91ddc285598fdf875b1f877183c |
|
BLAKE2b-256 | 791da5c0a9c6f995199a2b8fbdbb1a69d04c438f317f80beb79fad91125f26d7 |