/python-taiga

:evergreen_tree: Python module for communicating with the Taiga API

Primary LanguagePythonMIT LicenseMIT

python-taiga

Join the Gitter chat Latest PyPI version Python versions Latest Travis CI build status Test coverage Code Climate License

A module for using the Taiga REST API. Documentation: https://python-taiga.readthedocs.io/

Install

pip install python-taiga

Contribute to python-taiga

  • If you want to contribute to python-taiga with small fixes or updates please open a PR on Github
  • If you want to start working on a big feature please let's discuss it together, opening a new issue
  • If you want to contribute to python-taiga's documentation use the generate_docs.sh script to build the official documentation and send a PR (We use sphinx http://sphinx-doc.org/)

Getting Started

Getting started with the Taiga API couldn't be easier. Create a TaigaAPI and you're ready to go.

API Credentials

The TaigaAPI needs your Taiga credentials. You can pass these directly to the auth method (see the code below).

Alternately, you can pass a token to the constructor TaigaAPI constructor.

You can also specify a different host if you use Taiga somewhere else

Get projects, user stories, task and issues

You can get projects, user stories, tasks and issues using the primary key or using slug/ref

Create a project

Create a new user story

You can also create a milestone and pass it to a story

To add a task to your user story just run

Create an issue

Create a custom attribute

List elements

You can also specify filters

Attach a file

You can attach files to issues, user stories and tasks

Play with instances

Instances can have actions, for example you can star a project just calling

Any instance can be updated and deleted

Search function returns a SearchResult object, containing tasks, user stories and issues:

History

You can access the history of issues, tasks, userstories and wiki pages:

You can find a complete example in demo.py.