Fully asynchronous library for Yandex Tracker
Project description
YaTracker
Asyncio Yandex Tracker API client
API docs: https://tech.yandex.com/connect/tracker/api/about-docpage/
Attention!
- All
self
properties renamed tourl
cause it's incompatible with Python. - All
camelCase
properties renamed topythonic_case
. - Methods named by author, cause Yandex API has no clear method names.
How to install
python3.7 -m pip install yatracker
How to use
from yatracker import YaTracker
tracker = YaTracker(org_id=..., token=...)
async def foo():
# create issue
issue = await tracker.create_issue('New Issue', 'KEY')
# get issue
issue = await tracker.get_issue('KEY-1')
# update issue (just pass kwargs)
issue = await tracker.edit_issue('KEY-1', description='Hello World')
# get transitions:
transitions = await issue.get_transitions()
# execute transition
transition = transitions[0]
await transition.execute()
# don't forget to close tracker on app shutdown
async def on_shutdown():
await tracker.close()
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 Distribution
yatracker-0.0.5.tar.gz
(6.1 kB
view details)
Built Distribution
File details
Details for the file yatracker-0.0.5.tar.gz
.
File metadata
- Download URL: yatracker-0.0.5.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b8b8215e5300992fa1be67befec88b0e7fc076ebf933e76779cd3adfcffb772 |
|
MD5 | 080fd7d4d25aeec37dc3b4537cb03a4f |
|
BLAKE2b-256 | 8caf1db50162b02874d8e282dbf40c9f4a08469dcb5256260ed154763b85bd08 |
File details
Details for the file yatracker-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: yatracker-0.0.5-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcf4d3f283c6c2e46dfd98f0d75c9b326d185e7ed99695059e599cb4ed11e73a |
|
MD5 | 1f6b90c81c896307068c95b7ffb41efe |
|
BLAKE2b-256 | 16133f8cafebc2a6bd512a829a4c7136cea39e23e82af07666353c3ed737ad11 |