https://github.com/pycontribs/confluence
Confluence Python API, please check ticket below π
https://github.com/pycontribs/confluence
confluence python
Last synced: 7 months ago
JSON representation
Confluence Python API, please check ticket below π
- Host: GitHub
- URL: https://github.com/pycontribs/confluence
- Owner: pycontribs
- License: mit
- Created: 2015-09-06T11:56:54.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2019-04-30T05:00:09.000Z (over 6 years ago)
- Last Synced: 2025-06-08T03:12:49.028Z (7 months ago)
- Topics: confluence, python
- Language: Python
- Homepage: https://github.com/pycontribs/confluence/issues/7
- Size: 73.2 KB
- Stars: 143
- Watchers: 15
- Forks: 49
- Open Issues: 3
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
- awesome-tools - pycontribs/confluence - δΈη»΄ζ€δΊγ (Python / Packages)
README
Confluence Python API
=====================
.. image:: https://img.shields.io/pypi/v/confluence.svg
:target: https://pypi.python.org/pypi/confluence/
.. image:: https://img.shields.io/pypi/l/confluence.svg
:target: https://pypi.python.org/pypi/confluence/
.. image:: https://img.shields.io/pypi/dm/confluence.svg
:target: https://pypi.python.org/pypi/confluence/
.. image:: https://img.shields.io/pypi/wheel/confluence.svg
:target: https://pypi.python.org/pypi/confluence/
.. image:: https://travis-ci.org/pycontribs/confluence.svg?branch=develop
:target: https://travis-ci.org/pycontribs/confluence
If you want to interfere with Confluence from Python, this is what you are looking for.
While this library is quite new it has the basic functionality for retrieving and storing pages in Confluence 3.x-5.x, hiding most API differences between these versions.
That's open source and I will welcome any contributions, including bug reports ;)
How to use it
-------------
You should read the documentation from `pythonhosted.org/confluence/
`_ or just look inside the source code as you may find some new features that are not yet documented.
.. code-block:: python
from confluence import Confluence
conf = Confluence(profile='confluence')
conf.getPage("page","space")
conf.storePageContent("page","space","hello world!")
Also create a `config.ini` file like this and put it in current directory, user home directory or PYTHONPATH.
.. code-block:: ini
[confluence]
url=https://confluence.atlassian.com
# only the `url` is mandatory
user=...
pass=...
Development
-----------
Development takes place on GitHub_, where the git-flow_ branch structure is used:
* ``master`` - contains the latest released code.
* ``develop`` - (default branch) is used for development of the next release.
* ``feature/XXX`` - feature branches are used for development of new features before they are merged to ``develop``.
.. _GitHub: https://github.com/pycontribs/confluence
.. _git-flow: http://nvie.com/posts/a-successful-git-branching-model/
How to report bugs and request improvements
-------------------------------------------
We use the GitHub issue_ tracker. Before you submit your issue, take a look at the list of current issues to see if someone already found something similar.
.. _issue: https://github.com/pycontribs/confluence/issues