Skip to main content

Helper modules for the `ecmind_blue_client` to ease the work with object definition APIs.

Project description

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

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.

Version 0.1.2

  • Add row to list of xml tags that are marked as list.
  • Fix int casting for index elements of dropdown icon lists.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ecmind_blue_client_objdef-0.1.2.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file ecmind_blue_client_objdef-0.1.2.tar.gz.

File metadata

File hashes

Hashes for ecmind_blue_client_objdef-0.1.2.tar.gz
Algorithm Hash digest
SHA256 1f4d5dbc421965244eb0ce00f9d0ee0ab6036e19b255ac59282947ec07b8c74a
MD5 e626b969a1161ef9bd797e366a22a6e9
BLAKE2b-256 a3dfd61c54b0f947449f8833f9d8e7467ce973aa55d7d178a154ceefda8dfb0d

See more details on using hashes here.

File details

Details for the file ecmind_blue_client_objdef-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for ecmind_blue_client_objdef-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 39175fef7e62965841566f0cb766475ae6c051c7dcf3da8f6035c3fd9c868320
MD5 81894c439c42e80acb1892b040c314bc
BLAKE2b-256 671b1adc49311f2dc20b96c60963bf5db10763efd24a05c0e08498b09dd52056

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page