API wrapper for interacting with Arena QMS.
Pyrena is not associated with or approved by Arena Solutions or PTC.
pip install pyrena
Documentation generated by Pyrena self-introspecting its own code. This goes into more detail than this readme.
import pyrena
pyrena.docs()
import pyrena
client = pyrena.Arena("username", "password")
Government users should add the parameter arenagov=True
during client creation.
client.logout()
client.login("different_username", "different_password")
Define an object type and search parameters to get a list of results. Functions equivalently to top bar search on Arena website; however searching based on custom attributes must use the custom attribute GUID. See Arena help documentation on app.bom.com
search_results = client.Listing(client.QualityProcess, number="NCMR-*")
Option 1 - get object by object GUID, if known
my_change_order = client.Change("object_guid")
Option 2 - get object by its "user-friendly" ID (known as number
in the API)
my_capa = client.find(client.QualityProcess, number="CAPA-000001")