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.

Files for aiojira, version 0.1.14
Filename, size File type Python version Upload date Hashes
Filename, size aiojira-0.1.14-py3-none-any.whl (15.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size aiojira-0.1.14.tar.gz (6.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page