Python and Oracle BRM using pybrm

I have released an open source library called pybrm which can be used to write client applications for Oracle BRM.

To install it from Pypi, use pip:

pip install pybrm

Check out the source code at Github

Here is a small example of what it can do:

from pybrm import Client
from datetime import datetime

c = Client()

f = c.flist()

f['PIN_FLD_POID'] = '/account'  # type /account, id -1, revision 0
f['PIN_FLD_STATUS'] = 1
f['PIN_FLD_CREATED_T'] = datetime.now()  # you can also set it to an integer

f['PIN_FLD_INHERITED_INFO'] = {
    'PIN_FLD_POID': ('/service', 1234), # type service, id 1234, revision 0
    'PIN_FLD_STATUS': 2,
}

# Call an opcode, in this case PCM_OP_TEST_LOOPBACK
output = f('PCM_OP_TEST_LOOPBACK')

Check out the readme for all the information.


Comments

Add Comment

Name

Email

Comment

Are you human? - three = 4


Name: Waseem

Creation Date: 2020-03-05

Good to hear about it.. Want to learn more about it.


Name: Diego Vanegas

Creation Date: 2023-10-06

The development of Pybrm is excellent, but I wanted to ask if you would have any more examples using opcodes. Beforehand thank you very much