https://github.com/rocketsoftware/uopy-demo
UOPY demo programs
https://github.com/rocketsoftware/uopy-demo
multivalue mv-database unidata universe uopy
Last synced: about 1 year ago
JSON representation
UOPY demo programs
- Host: GitHub
- URL: https://github.com/rocketsoftware/uopy-demo
- Owner: RocketSoftware
- Created: 2020-10-09T01:55:17.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-01-22T10:09:24.000Z (about 1 year ago)
- Last Synced: 2025-02-19T23:49:21.746Z (about 1 year ago)
- Topics: multivalue, mv-database, unidata, universe, uopy
- Homepage:
- Size: 8.65 MB
- Stars: 11
- Watchers: 10
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# UOPY demo
[](https://community.rocketsoftware.com/forums/multivalue?CommunityKey=dd45d00d-59db-4884-b3eb-2b0647af231b)
[](https://rocketsoftware.github.io/uopy-demo/docs/uopy.html)
[](https://pypi.org/project/uopy/)

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
```bash
$ pip install uopy
```
## Quick start
**Before using UOPY to connect to an MV Database, you must be running either a [UniVerse](https://www.rocketsoftware.com/products/rocket-universe-0/rocket-universe) or [UniData](https://www.rocketsoftware.com/products/rocket-unidata-0/rocket-unidata) server.**
The following example uses UOPY to connect to UniVerse on Windows.
```python
>>> 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](https://github.com/RocketSoftware/uopy-demo) |
| UOPY: Intro to UOPY, UniObjects for Python | [video](https://www.youtube.com/watch?v=m26_b0qD8zM) |
| UOPY: GUI examples | [video](https://www.youtube.com/watch?v=el20qZC89t8), [code](https://github.com/RocketSoftware/uopy-demo/tree/master/examples/uopy_tkexample) |
| UOPY: Webserver app demo | [video](https://www.youtube.com/watch?v=Q7w-pQJdLDg), [code](https://github.com/RocketSoftware/uopy-demo/tree/master/examples/uopy_web) |
| UOPY: Android Demo | [video](https://www.youtube.com/watch?v=3NfgQrPNtSM) |
## API Reference
* [Docs site](https://rocketsoftware.github.io/uopy-demo/docs/uopy.html)