# UniObjects for Python (UOPY)
[![PyPI](https://img.shields.io/pypi/v/uopy)](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.rocketsoftware.com/resource/intro-uopy-uniobjects-python) |
| UOPY: GUI examples | [video](https://www.rocketsoftware.com/resource/uopy-gui-examples), [code](https://github.com/RocketSoftware/uopy-demo/tree/master/examples/uopy_tkexample) |
| UOPY: Webserver app demo | [video](https://www.rocketsoftware.com/resource/webserver-app-demo), [code](https://github.com/RocketSoftware/uopy-demo/tree/master/examples/uopy_web) |
| UOPY: Android Demo | [video](https://www.rocketsoftware.com/resource/uopy-android-demo) |
## API Reference
* [Doc site](https://rocketsoftware.github.io/uopy-demo/docs/uopy.html)
Raw data
{
"_id": null,
"home_page": "https://www.rocketsoftware.com/products/rocket-multivalue-application-development-platform/rocket-uopy",
"name": "uopy",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3",
"maintainer_email": "",
"keywords": "MultiValue,MV,uopy,database",
"author": "Rocket Software",
"author_email": "support@rocketsoftware.com",
"download_url": "",
"platform": null,
"description": "# UniObjects for Python (UOPY)\n\n[![PyPI](https://img.shields.io/pypi/v/uopy)](https://pypi.org/project/uopy/)\n\nUniObjects 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.\n\n## Installation\n\n### Install from PyPI\n\n```bash\n$ pip install uopy\n```\n\n## Quick start\n\n**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.**\n\nThe following example uses UOPY to connect to UniVerse on Windows.\n\n```python\n>>> import uopy\n>>> ses = uopy.connect(host='localhost', user='username', password='password', account='XDEMO')\n>>> cmd = uopy.Command(\"LIST LOCATIONS\")\n>>> cmd.run()\n>>> print(cmd.response)\n\nLIST LOCATIONS 01:58:07pm 13 Oct 2020 PAGE 1\nLOCATIONS. Location Name............\n\nWHSE1 Main warehouse\nWHSE2 Secondary warehouse\nWHSE3 Tertiary Warehouse\n\n3 records listed.\n```\n\n## Resources\n\n| Name | Link |\n|---|---|\n| GitHub UOPY examples repository | [home](https://github.com/RocketSoftware/uopy-demo) |\n| UOPY: Intro to UOPY, UniObjects for Python | [video](https://www.rocketsoftware.com/resource/intro-uopy-uniobjects-python) |\n| UOPY: GUI examples | [video](https://www.rocketsoftware.com/resource/uopy-gui-examples), [code](https://github.com/RocketSoftware/uopy-demo/tree/master/examples/uopy_tkexample) |\n| UOPY: Webserver app demo | [video](https://www.rocketsoftware.com/resource/webserver-app-demo), [code](https://github.com/RocketSoftware/uopy-demo/tree/master/examples/uopy_web) |\n| UOPY: Android Demo | [video](https://www.rocketsoftware.com/resource/uopy-android-demo) |\n\n## API Reference\n\n* [Doc site](https://rocketsoftware.github.io/uopy-demo/docs/uopy.html)\n",
"bugtrack_url": null,
"license": "Rocket Software EULA",
"summary": "UniObjects for Python (UOPY) is a Python package by Rocket Software.",
"version": "1.3.0",
"project_urls": {
"Changelog": "https://github.com/RocketSoftware/uopy-demo/blob/master/CHANGELOG.md",
"Documentation": "https://rocketsoftware.github.io/uopy-demo/docs/uopy.html",
"Homepage": "https://www.rocketsoftware.com/products/rocket-multivalue-application-development-platform/rocket-uopy"
},
"split_keywords": [
"multivalue",
"mv",
"uopy",
"database"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "aad093fbe432db4a427a7bc6d9063707a26c3a3538de3d881770bd732d7a033a",
"md5": "90fe0769e1332cbb1213863dac8d22df",
"sha256": "49eebea92878190c73578d8cb983b73021c84e58079bd8b081744627349621d7"
},
"downloads": -1,
"filename": "uopy-1.3.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "90fe0769e1332cbb1213863dac8d22df",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3",
"size": 71915,
"upload_time": "2023-10-12T08:20:30",
"upload_time_iso_8601": "2023-10-12T08:20:30.709370Z",
"url": "https://files.pythonhosted.org/packages/aa/d0/93fbe432db4a427a7bc6d9063707a26c3a3538de3d881770bd732d7a033a/uopy-1.3.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-12 08:20:30",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "RocketSoftware",
"github_project": "uopy-demo",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "uopy"
}