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
Built Distribution
File details
Details for the file py_jama_client-0.1.0.tar.gz
.
File metadata
- Download URL: py_jama_client-0.1.0.tar.gz
- Upload date:
- Size: 17.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f93d530469c2d42147f824480d27baac3fb15eef149bea92203f9c7e8bffbe6a |
|
MD5 | 8741962325615d0131f89afc80068d56 |
|
BLAKE2b-256 | 932f996991b45492e943b60efe646d04aad554641ec30d8bb1bbbf1b05d84e16 |
File details
Details for the file py_jama_client-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: py_jama_client-0.1.0-py3-none-any.whl
- Upload date:
- Size: 31.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e953c8628687dc430dbca2b0e2ff5000daf093307c65f691dbecbdf64f9f66ed |
|
MD5 | fde0ca5e532ebcf2983e51727505151a |
|
BLAKE2b-256 | 08f3fe4c9a0ec6510de2dfbf31cc9b59302c750791e58acbcb9aa146e76a8986 |