Atlassian REST API Python Wrapper.
Project description
Atlassian REST API Python Wrapper
This library is a wrapper of Atlassian Rest APIs written by Python, will support Jira(In progress), BitBucket(todo), etc.
Purpose
- In order to be better and more convenient to use.
- The pursuit of simple, lightweight, easy to use.
QuickStart
from jira import JIRA
jira = Jira(url='https://jira.atlassian.com', username='username', password='password')
status = jira.get_status('TEST-1')
print(status)
Or update config.ini
first which under atlassian folder
[jira]
url = https://jira.atlassian.com
username = username
password = password
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_status('TEST-1')
print(status)
Install from PyPI
# install
$ pip install atlassian-api-py
# upgrade
$ pip install atlassian-api-py --upgrade
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file atlassian_api_py-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: atlassian_api_py-0.0.4-py3-none-any.whl
- Upload date:
- Size: 7.9 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3aaa8a2a6bf306a3e69fded7eb7baad8fabb311589c08321accdef5777b5e90b |
|
MD5 | 4ee12331d1dc8ed90ae06f3e5a5ff674 |
|
BLAKE2b-256 | 92f9939a5115749962f795897631dce5d96344a5563b5621bf6acfbb0ca5bf37 |