Skip to content

RocketSoftware/uopy-demo

Repository files navigation

UOPY demo

UOPY Forum UOPY API Docs PyPI PyPI - Downloads

UniObjects for Python (UOPY) is a Python package by Rocket Software. It is a client API that allows Python applications to access Rocket MV Databases over the network.

Installation

Install from PyPI

$ pip install uopy

Quick start

Before using UOPY to connect to an MV Database, you must be running either a UniVerse or UniData server.

The following example uses UOPY to connect to UniVerse on Windows.

>>> import uopy
>>> ses = uopy.connect(host='localhost', user='username', password='password', account='XDEMO')
>>> cmd = uopy.Command("LIST LOCATIONS")
>>> cmd.run()
>>> print(cmd.response)

LIST LOCATIONS 01:58:07pm  13 Oct 2020  PAGE    1
LOCATIONS.    Location Name............

WHSE1         Main warehouse
WHSE2         Secondary warehouse
WHSE3         Tertiary Warehouse

3 records listed.

Resources

Name Link
GitHub UOPY examples repository home
UOPY: Intro to UOPY, UniObjects for Python video
UOPY: GUI examples video, code
UOPY: Webserver app demo video, code
UOPY: Android Demo video

API Reference