Skip to main content

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 to url cause it's incompatible with Python.
  • All camelCase properties renamed to pythonic_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


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.6.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

yatracker-0.0.6-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file yatracker-0.0.6.tar.gz.

File metadata

  • Download URL: yatracker-0.0.6.tar.gz
  • Upload date:
  • Size: 6.9 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

Hashes for yatracker-0.0.6.tar.gz
Algorithm Hash digest
SHA256 31d48524c1fea03632a7e30dd6a8bce3a17581fc00abf1bdbe9c700dd6f4f6f4
MD5 615473e28f5abc8e731aa7507dcde7e5
BLAKE2b-256 62b31d5f6877e3a1dd0cfd4676868729ccd309eef62ba034887bfd30a2ef3296

See more details on using hashes here.

File details

Details for the file yatracker-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: yatracker-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 9.1 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

Hashes for yatracker-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 f870416685e1d5efb75541557e3246be4457ac289a7869ffff6101f97d6430e2
MD5 12b05300d43617efb8500c05934d2c42
BLAKE2b-256 68aed701a767d572091223879de08154029dfa99a1da112b71fdd5d460d40126

See more details on using hashes here.

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