Metadata-Version: 2.1
Name: pyfluence
Version: 0.1.3
Summary: Confluence REST API client for Python
Home-page: https://github.com/kshehadeh/pyfluence
Author: Karim Shehadeh
Author-email: karim@karim.cloud
License: MIT
Description: # PyFluence
        ----
        A Python 2.7 REST API client for Atlassian Confluence
        
        <!--[![Build Status](https://travis-ci.org/PyGithub/PyGithub.svg?branch=master)](https://travis-ci.org/PyGithub/PyGithub)-->
        <!--[![PyPi](https://img.shields.io/pypi/dm/pygithub.svg)](https://pypi.python.org/pypi?%3Aaction=search&term=pygithub&submit=search)-->
        <!--[![readthedocs](https://img.shields.io/badge/docs-latest-brightgreen.svg?style=flat)](http://pygithub.readthedocs.org/en/stable)-->
        <!--[![License](https://img.shields.io/badge/license-LGPL-blue.svg)](https://en.wikipedia.org/wiki/GNU_Lesser_General_Public_License)-->
        
        This library lets you view, edit, delete entities in an instance of Atlassian Confluence using its REST API
        
        [Confluence API v3]: https://docs.atlassian.com/confluence/REST/latest/
        [Confluence]: https://www.atlassian.com/software/confluence
        
        ## Simple Demo
        
        ```python
        from pyfluence import Confluence
        
        # First create a Confluence instance:
        confluence = Confluence("admin","admin","http://localhost:1990/confluence")
        
        # Then create a space
        space_ob = confluence.create_space("TEST","Test Space","Test Space Description")
        
        # Then create a page in that space
        content_ob = confluence.create_content(
            space_key=space_ob['key'],
            type="page",
            title="Test Parent Page",
            html_markup="<h1>This is a test page</h1>",
        )
        
        # Then you can update the page
        self.confluence.update_content(
            space_key=space_ob['key'],
            id=content_ob['id'],
            html_markup="<h1>This is an update</h1>",
            update_type=co.UPDATE_REPLACE
        )
        ```
        
        ## Developing
        You can use the Atlassian Developer SDK to run tests.  You can follow the instructions here:
        https://developer.atlassian.com/server/framework/atlassian-sdk/downloads/
        
        On the mac, for example:
        
            > brew tap atlassian/tap
            > brew install atlassian/atlas-tap/atlassian-plugin-sdk # or upgrade
            > atlas-run-standalone --product confluence
            > python -m unittest pyfluence/tests/test_confluence.py
        
        View confluence here:
        
            http://localhost:1990/confluence
        
        
        
Keywords: confluence development rest api atlassian
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.6
Provides-Extra: test
Provides-Extra: dev
