Skip to main content

Python client library for Jama Connect

Project description

PyPI version

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_client.client import JamaClient # import client
from py_jama_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_client.client import JamaClient # import client
from py_jama_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.4.3.tar.gz (19.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_jama_client-0.4.3-py3-none-any.whl (33.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py_jama_client-0.4.3.tar.gz
  • Upload date:
  • Size: 19.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for py_jama_client-0.4.3.tar.gz
Algorithm Hash digest
SHA256 622721519ac52f43798a9dcd9ab9e4a4df122a0f92d013e4f371fdbe05edcd0f
MD5 ad5f768b14f6a49777472ccb949d372e
BLAKE2b-256 23dc2f701d7ac6db192b526777d9e53ab5ba3a80122e801617b84305e17f7004

See more details on using hashes here.

Provenance

The following attestation bundles were made for py_jama_client-0.4.3.tar.gz:

Publisher: ci-cd.yml on austinhallett/py_jama_client

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: py_jama_client-0.4.3-py3-none-any.whl
  • Upload date:
  • Size: 33.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for py_jama_client-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a96bf32ab2b9fcfa5b6fe053006624c51eaef61f3b66c3d7a0c1f5ad4711f737
MD5 803d4f15b61cf7297e90de6412520ac3
BLAKE2b-256 7dbcdb46753b02748bfcee42c2504fb0ded840a35e7d0097abef790c8864dca9

See more details on using hashes here.

Provenance

The following attestation bundles were made for py_jama_client-0.4.3-py3-none-any.whl:

Publisher: ci-cd.yml on austinhallett/py_jama_client

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page