
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
confluence-rest-library
Advanced tools
|Build Status| |PyPI version| |codecov| |Requirements Status| |Docs|
This is a simple wrapper around the REST API which the Confluence provides. Consider the API to be stable as of v1.0.0 (now released)
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!
::
pip install confluence-rest-library
.. code:: python
from confluence.client import Confluence
with Confluence('https://site:8080/confluence', ('user', 'pass')) as c:
pages = c.search('ID=1')
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 <https://developer.atlassian.com/server/framework/atlassian-sdk/set-up-the-atlassian-plugin-sdk-and-build-a-project/>`_
- 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"``
.. _endpoints.md: endpoints.md
.. _Contribution guidelines for this project: CONTRIBUTING.rst
.. |Build Status| image:: https://travis-ci.org/DaveTCode/confluence-python-lib.svg?branch=master
:target: https://travis-ci.org/DaveTCode/confluence-python-lib
:alt: Build status
.. |PyPI version| image:: https://badge.fury.io/py/confluence-rest-library.svg
:target: https://badge.fury.io/py/confluence-rest-library
:alt: PyPI version
.. |codecov| image:: https://codecov.io/gh/DaveTCode/confluence-python-lib/branch/master/graph/badge.svg
:target: https://codecov.io/gh/DaveTCode/confluence-python-lib
:alt: Code coverage stats
.. |Requirements Status| image:: https://requires.io/github/DaveTCode/confluence-python-lib/requirements.svg?branch=master
:target: https://requires.io/github/DaveTCode/confluence-python-lib/requirements/?branch=master
:alt: Requirements status
.. |Docs| image:: https://readthedocs.org/projects/confluence-python-lib/badge/?version=latest
:target: http://confluence-python-lib.readthedocs.io/en/latest/?badge=latest
:alt: Documentation status
FAQs
A simple wrapper around the Confluence REST API.
We found that confluence-rest-library demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.