TargetProcess Client
Python library to help getting data from TargetProcess API
Getting the code
The code is hosted at https://github.com/magicjohnson/targetprocess-client
Check out the latest development version with:
$ git clone git://github.com/magicjohnson/targetprocess-client.git
Installing
You can install targetprocess-client using:
$ pip install targetprocess-client
or get the code and run install:
$ cd targetprocess-client $ python setup.py install
Usage examples
Create client instance:
from targetprocess.api import TargetProcessAPIClient
from targetprocess.serializers import TargetProcessSerializer
tp = TargetProcessAPIClient(api_url='https://md5.tpondemand.com/api/v1/', user='user', password='pass')
Get collection of UserStories:
stories_json = tp.get_stories(take=5, include="[Id,Name,CreateDate]")
stories = TargetProcessSerializer.deserialize(stories_json)
Get UserStory item
story_json = tp.get_story(360, include="[Id,Name,CreateDate]")
story = TargetProcessSerializer.deserialize(story_json)
Update item
data = {'Name': 'New name'}
tp.update_story(360, data)
Request “unregistered” collection (that client doesn’t have predefined methods for)
tp.get_collection(collection="Epics", take=2)
tp.get_resource(collection="Epics", entity_id=427)
tp.update_resource(collection="Epics", entity_id=427, data={'Name': 'New Epic name'})
Metadata
Release files for targetprocess-client 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| targetprocess-client-0.1.2.tar.gz | 5.0 kB | Without provenance | Details for targetprocess-client-0.1.2.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| targetprocess_client-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for targetprocess_client-0.1.2-py3-none-any.whl |
| targetprocess_client-0.1.2-py2-none-any.whl | Python 2 | none | any | Details for targetprocess_client-0.1.2-py2-none-any.whl |
Total release size: 20.3 kB
Release files / targetprocess-client-0.1.2.tar.gz
| Download URL | targetprocess-client-0.1.2.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e14f3285c900288aaf8bbef96fb4b249188ef235578d4736caa5decf67936ca6
|
|
BLAKE2b-256 checksum How to use checksums |
8896ab7b4384404ae15d1ae0bdb344f8e2b5a3d1bbe79bf6dafa9841a32d7a77
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / targetprocess_client-0.1.2-py3-none-any.whl
| Download URL | targetprocess_client-0.1.2-py3-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4f04a5a266f1e0934c2966f54ea67176acb6141d6cdb3459c862ea6fdf34a786
|
|
BLAKE2b-256 checksum How to use checksums |
dc7e1a2acf0670c4ab1aaeaad7435d87ee155e134d2910dc93d193cb4a136d40
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / targetprocess_client-0.1.2-py2-none-any.whl
| Download URL | targetprocess_client-0.1.2-py2-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
4a0d780c180e756c7154f6900e321c4176e379c63fbfe936ac2dda7ff8f08441
|
|
BLAKE2b-256 checksum How to use checksums |
813daededbd6bc24f634351b8b2ea9b47dd4073bea372ef8a6fd23286ce2c33e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for targetprocess-client 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.