Skip to main content

Python client library for Jama Connect

Project description

py_jama_client

A python Jama Connect REST API client library

Acknowledgments

This client library is heavily inspired by, and even based on the client library created by the Jama team py-jama-rest-client. However, due to inactivity I have taken it upon myself to create a distinct package for those who have a need for a more comprehensive client -- specifically for the use of embedded resources.

Jama Software

Jama Software is the definitive system of record and action for product development. The company’s modern requirements and test management solution helps enterprises accelerate development time, mitigate risk, slash complexity and verify regulatory compliance. More than 600 product-centric organizations, including NASA, Boeing and Caterpillar use Jama to modernize their process for bringing complex products to market. The venture-backed company is headquartered in Portland, Oregon. For more information, visit jamasoftware.com.

Please visit dev.jamasoftware.com for additional resources and join the discussion in our community community.jamasoftware.com.

Requirements

Installation

pip install py-jama-client

Usage

Basic

from py_jama_rest_client.client import JamaClient # import client
from py_jama_rest_client.apis.abstract_items_api import AbstractItemsAPI # import API

client = JamaClient(
    host="example.jamacloud.com", 
    credentials=("my_username", "my_password"),
) # create client instance

abstract_items_api = AbstractItemsAPI(client) # pass client instance to API

abstract_items = abstract_items_api.get_abstract_items() # use API methods to fetch resources

print(abstract_items.data)

With Links

from py_jama_rest_client.client import JamaClient # import client
from py_jama_rest_client.apis.items_api import ItemsAPI # import API

client = JamaClient(
    host="example.jamacloud.com", 
    credentials=("my_username", "my_password"),
) # create client instance

items_api = ItemsAPI(client) # pass client instance to API

items = items_api.get_items(
    project_id=82, 
    params={'include': ('data.itemType', 'data.childItemType', )}, 
    # NOTE: 'params' must be a key-word argument
) # use API methods to fetch resources, include itemTypes, and childItemTypes in response

print(items.data, items.linked)

Additional Notes

Please be aware that this package is a work-in-progress, and some API methods may be missing from the source code. Please open an issue, or submit a pull-request (see CONTRIBUTING.md for more).

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

py_jama_client-0.0.4.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

py_jama_client-0.0.4-py3-none-any.whl (30.3 kB view details)

Uploaded Python 3

File details

Details for the file py_jama_client-0.0.4.tar.gz.

File metadata

  • Download URL: py_jama_client-0.0.4.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for py_jama_client-0.0.4.tar.gz
Algorithm Hash digest
SHA256 80eb44b826d4e086404a0ef83706558955b95b0feeb0885d6463261f66adea5f
MD5 b00695b078f8a87cdb4f6cf17f836f98
BLAKE2b-256 3b4b7bd2b259d2ea52bbc17fc7e397b2943745a8551ac8c024acf7156dfe5e5d

See more details on using hashes here.

File details

Details for the file py_jama_client-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for py_jama_client-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a2ae7679adce29b8780490daefddc8ba6b87aecc39795840c8ca7b5a7d3217ec
MD5 cb66c5e7ba00ec9e30e519ee7b659b73
BLAKE2b-256 d70ed63bea08530a50d46caf4ec41f7282c5ba9ef61195656fc4024536a943fe

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