Python wrapper for Arena QMS API.
Project description
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")
Users on the government server should add the parameter arenagov=True during client creation.
Users on the Europe server should add the parameter europe=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")
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyrena-1.4.3.tar.gz.
File metadata
- Download URL: pyrena-1.4.3.tar.gz
- Upload date:
- Size: 15.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4bd3fbe5fe5b31741ddf101cabd39e419ae74da8d04f2967a2aa0c2f4a39e68e
|
|
| MD5 |
52732f0f1cba9630d1490a4316f64f1e
|
|
| BLAKE2b-256 |
d528b9ff1cab433161755ef32b39bc7deadbca9c37d7f80a58fc7b133be8d6af
|
File details
Details for the file pyrena-1.4.3-py3-none-any.whl.
File metadata
- Download URL: pyrena-1.4.3-py3-none-any.whl
- Upload date:
- Size: 19.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8eb8f070e084000de993d8345b4caf72de15325e89b7dca801e856265342b188
|
|
| MD5 |
c3f59bc8b00651479f7a37747537d559
|
|
| BLAKE2b-256 |
821ce2c15994db44726651772f87cbcf606dc8df3407496fd08f9df14a295906
|