Skip to main content

Asynchronous Jira library

Project description

aiojira - asynchronous Jira Python library

License PyPI - Python Version PyPI

Asynchronous Jira Python library - asynchronous wrapper for https://github.com/pycontribs/jira

Installation

To install from PyPI run:

$ pip install https://github.com/yifeikong/aioify/archive/master.zip
$ pip install aiojira

Usage

For documentation refer to https://jira.readthedocs.io, because aiojira uses the same API as jira with 2 exceptions:

  1. All functions are converted to coroutines, that means you have to add await keyword before all function calls.
  2. To asynchronously create classes from aiojira use static method create.

Example:

import asyncio
import aiojira


server = 'https://jira.example.com/'
auth = ('user', 'password')

JIRA = asyncio.run(aiojira.JIRA.create(server=server, basic_auth=auth))
projects = asyncio.run(JIRA.projects())
print(projects)

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
aiojira-0.1.13-py3-none-any.whl (15.5 kB) Copy SHA256 hash SHA256 Wheel py3
aiojira-0.1.13.tar.gz (6.5 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page