Skip to main content

Atlassian REST API Python Wrapper.

Project description

Atlassian REST API Python Wrapper

PyPI

This library is a wrapper of Atlassian Rest APIs written by Python, will support Jira, BitBucket, etc.

Purpose

  • In order to be better and more convenient to use.
  • The pursuit of simple, lightweight, easy to use.

QuickStart

>>> from atlassian import Jira

>>> jira = Jira(url='https://shenxianpeng.atlassian.net', 
... username="myusername", password="mypassword")
>>> status = jira.get_issue_status('AAP-1')
>>> print(status)
Backlog

Or get credential information from a config file config.ini.

[jira]
url = https://shenxianpeng.atlassian.net
username = myusername
password = mypassword

Then

>>> import configparser
>>> config = configparser.ConfigParser()
>>> config.read('config.ini')

>>> jira_url = config['jira']['url']
>>> jira_usr = config['jira']['username']
>>> jira_psw = config['jira']['password']

>>> jira = Jira(url=jira_url, username=jira_usr, password=jira_psw)
>>> status = jira.get_issue_status('AAP-1')
>>> print(status)
Backlog

Install from PyPI

# install
$ pip install atlassian-api-py

# upgrade
$ pip install atlassian-api-py --upgrade

FAQ

Q1: Which Jira/BitBucket version I used to develop?

For Jira I used Jira v8.5.9 and Jira Cloud.

For BitBucket I used Bitbucket v5.13.1. not support Bitbucket cloud for now.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

atlassian_api_py-0.0.14-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file atlassian_api_py-0.0.14-py3-none-any.whl.

File metadata

  • Download URL: atlassian_api_py-0.0.14-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.6

File hashes

Hashes for atlassian_api_py-0.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 8d3d73aa09cd7d38272669d18813afd156f9783d729cb714e9c6220a9d0c5e77
MD5 7aa42132d3c6b65910d430b3ed4d86c9
BLAKE2b-256 b39cad73aee787962e86fd0c70b25f028bdc17d9a4bbb5cc020f496afd65d067

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page