Skip to main content

conflupy

GitHub Workflow Status PyPI

A Python library for Atlassian Confluence REST API

Version with 1.0.x ~ 1.2.x are for distribution tests and have bugs. Please use conflupy >= 1.3.0

Requirements

Installation

pip install conflupy

Usage

from confluence import Confluence

# Initialize Confluence
confluence = Confluence(base_url: 'https://confluence.example.com', account: (USER_ID, USER_PW))

# Get Pages
pages = confluence.get_pages(space_key='TEST')
print('Pages :', pages)

# Get Specific Page
page = confluence.get_content(content_id='1349141')
print('Page :', page)

# Create a new Page
body = '<h1>Hello</h1><br /><p>This is a page created with REST API</p>'
new_page = create_page(space_key='TEST', title='Test Page', body=body)
print('New Page :', new_page)

Build & Deploy (PyPi)

# Build
pip install build
python -m build
# whl file & archived src(tar.gz) file will be generated.

# Deploy
pip install twine
python -m twine upload dist/*
# package will be uploaded to PyPi registry
# https://pypi.org/project/conflupy

However, this project use GitHub Actions workflow to automatically publish the package to PyPI when a tag pushed.

To Do

  • Unittest

Authors

License

Release files for conflupy 1.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for conflupy 1.3.0
File Size Uploaded
conflupy-1.3.0.tar.gz 8.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for conflupy 1.3.0
File Interpreter ABI Platform
conflupy-1.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 20.2 kB

Release files / conflupy-1.3.0.tar.gz

Download URL conflupy-1.3.0.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e20afc7c17a3dddb1e1a4a9443ccb59318c3cb0c587446b26517defb88ecbc12
BLAKE2b-256 checksum
How to use checksums
7ff8d08f4fdefd23236d754595250391b432d9458f2a289f9a1802268f627ae8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.2

Release files / conflupy-1.3.0-py3-none-any.whl

Download URL conflupy-1.3.0-py3-none-any.whl
Size 11.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
48defbfe1602dedfa165c6d8d6867fe0de5508c8bc147b20138ffb49856d4155
BLAKE2b-256 checksum
How to use checksums
fdafeec5b822710450a6ca316f1549a90c8b32e4958281795468fc7b119f17cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.2

Release history Release notifications | RSS feed

This release

1.3.0 This release

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page