Skip to content

alicecommits/pyrena

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyrena

API wrapper for interacting with Arena QMS.

Pyrena is not associated with or approved by Arena Solutions or PTC.

Installation

pip install pyrena

Docs

Documentation generated by Pyrena self-introspecting its own code. This goes into more detail than this readme.

import pyrena
pyrena.docs()

Usage

Create client

import pyrena

client = pyrena.Arena("username", "password")

Government users should add the parameter arenagov=True during client creation.

Change users

client.logout()
client.login("different_username", "different_password")

Search

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-*")

Retrieve specific object

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")

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%