Metadata-Version: 2.1
Name: ecmind_blue_client_objdef
Version: 0.1.1
Summary: Helper modules for the `ecmind_blue_client` to ease the work with object definition APIs.
Home-page: https://gitlab.ecmind.ch/open/ecmind_blue_client_objdef
Author: Roland Koller
Author-email: info@ecmind.ch
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE

# ECMind blue client: Object Definition (objdef)

Helper modules for the `ecmind_blue_client` to ease the work with object definition APIs. See discussion here: https://hub.ecmind.ch/t/119

## Installation

`pip install ecmind_blue_client_objdef`

## Usage

```python
from ecmind_blue_client.tcp_client import TcpClient as Client
from ecmind_blue_client_objdef import object_definition

client = Client(hostname='localhost', port=4000, appname='test', username='root', password='optimal')
asobjdef = object_definition.load_object_definition(client)
for cabinet in asobjdef.cabinets:
    print(cabinet)
```

## Changes

### Version `0.0.3`

- Workaround and warn message for pages without internal name.

### Version `0.0.4`

- Workaround and warn message for tables without columns.

### Version `0.0.5`

- Workaround and warn message for tab pages without controls.

### Version `0.0.9`

- Add list addon support
- Add missing field types YES_NO, LETTERS_ONLY and ALPHA_DIGITS

### Version `0.1.0`

- Fix parsing of `dbfield`
- (Re-) add table_name to `Fields` & `TableFields`
- Fix/Remove redefining built-in `type` by renaming function parameter to `_type`

### Version `0.1.1`

- Deactivate automatic number and bool parsing in xml to dict function.
- Manually convert id/type/cotype/length fields to int. 
