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

Metadata

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 Provenance Actions
conflupy-1.3.0.tar.gz 8.4 kB Without provenance Details for conflupy-1.3.0.tar.gz

Built distribution (wheel)

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

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

Security for conflupy 1.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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