Registry / crm-productivity / py-jama-rest-client

py-jama-rest-client

JSON →
library1.17.1pypypiunverified

A Python client for the Jama Connect REST API. Current version 1.17.1. Released irregularly.

pip install py-jama-rest-client
INSTALL
IMPORT
SIG · PY-JAMA-REST-CLIEN
P
py-jama-rest-client
crm-productivitypythonv1.17.1
Install
2.2s avg
Import
Disk
19MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.17.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 21.1MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 2.2s · import 0.000s · 22MB
19MB installed
● package 19MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Client
from py_jama_rest_client.client import Client
from jama.client import Client

Authenticate and list projects.

from jama.client import Client client = Client( base_url='https://myinstance.jamacloud.com', username='user@domain.com', password='password', oauth=False ) projects = client.get_projects() print(projects)
Debug
Known issues
gotchaThe Client constructor expects password for basic auth; for oauth, pass oauth=True and use access_token parameter. Mixing these may cause silent auth failures.
fix
For OAuth: Client(base_url, oauth=True, access_token='...'). For basic auth: Client(base_url, username='...', password='...', oauth=False).
affects: >=1.0.0
deprecatedIn v1.0+, the old import path `from jama import JamaClient` is removed. Use `from jama.client import Client`.
fix
Replace `from jama import JamaClient` with `from jama.client import Client`.
affects: >=1.0.0
gotchaMethods may return paginated results. Forgetting to handle pagination can lead to incomplete data. Use `client.get(endpoint, params={'maxResults': ...})` and check for links.next.
fix
Loop through pages using the 'links' key in response, e.g., while response.get('links', {}).get('next'): response = client.get(response['links']['next'])
affects: >=0.1.0
Upgrade
Version history
1.17.1latest on PyPI · released Jun 21, 2023
Audit
Dependencies
requestsrequiredHTTP requests
Agent activity
31 hits · last 30 days
node
26
OpenAI (training)
1
Resources
py-jama-rest-client — pip install py-jama-rest-client · libregistry