How to Install Atlassian for Python

Hello. I’ve tried installing using pip install atlassian-python-api, but when I write the script, python is giving me ModuleNotFoundError: No module named ‘atlassian’ when I run my Script.Please Help. Thanks in Advance.
Reference link: Welcome to Atlassian Python API’s documentation! — Atlassian Python API 3.32.2 documentation

This is the code.

from atlassian import Confluence

confluence = Confluence(
url=‘http://localhost:8090’,
username=‘admin’,
password=‘admin’)

status = confluence.create_page(
space=‘DEMO’,
title=‘This is the title’,
body=‘This is the body. You can use HTML tags!’)

print(status)

Hi @VisshnuVandithG,

I’m afraid that even though the developer uses the Atlassian logo on his GitHub repository (atlassian-api · GitHub), this is not an official Atlassian library.

You might have more luck creating an issue on the GitHub repository here: Issues · atlassian-api/atlassian-python-api · GitHub

Looking at the already 33 open issues, you might also want to consider using alternative ways to connect to the Atlassian API (it’s just a REST API, you don’t really need wrappers).

Cheers,

Remie