Wrapper for Polymatica API
Project description
Библиотека предназначенна для работы с Polymatica API.
Основным модулем бизнес-логики является файл business_scenarios.py`, импортировать который можно с помощью команды from polyapi import business_scenarios as sc.
Модуль предоставляет два класса для работы с Полиматикой - BusinessLogic и GetDataChunk. Методы этих классов можно посмотреть при помощи стандартной функции dir().
Аргументы функций и прочую docstring-документацию модуля и функций можно посмотреть при помощи стандартной функции help().
Инициализация нового клиентского подключения: client = sc.BusinessLogic(login="your_login", password="your_password", url="polymatica_server_url", **args)
Change Log
0.0.1 (08/12/2020)
First Release
0.0.2 (08/12/2020)
Minor fixes
0.0.4 (15/12/2020)
fixed FileNotFoundError
0.0.5 (29/12/2020)
added getLogger
new functions in business_scenarios
0.0.6 (15/01/2021)
fixed logging: logs are displayed in stdout (default) or logs can be redirected to file
fixed other bugs
added new functions in business_scenarios
0.0.8 (17/02/2021)
fixed logging: only significant logs are recorded in DEBUG mode
fixed method exceptions: relieved of sys.exit(), now only exceptions are thrown
fixed other bugs
added new functions in business_scenarios
0.0.9 (12/03/2021)
fixed “load_sphere_chunc” method bug
fixed scenario timeout
fixed other bugs
added new functions in business_scenarios
rewrite module docstring
5.6.10.0 (19/03/2021)
fixed “get_data_frame” method
fixed other bugs
- Changed way of PPL versioning; version is now define as “x.y.n.h” where
“x.y” - version of Polymatica (for example, 5.6), “n” - version of PPL in association with version of Polymatica, “h” - number of hotfix. Example: “5.6.10.0”, “5.6.18.1”, “5.7.0.0”
5.6.11.0 (16/04/2021)
added methods for working with charts: graph_create, graph_modify; the following types of graphs are available: lines, cylinders, cumulative cylinders
implemented the ability to execute commands of charts module (execute_graph_command)
fixed other bugs
5.6.12.0 (22/06/2021)
implemented all graph types, except “Corridors”, “Surface”, “Graph”
fixed bugs for Polymatica 5.7
fixed other bugs
5.6.13.0 (13/07/2021)
fixed bugs for Polymatica 5.7
fixed other bugs
5.6.14.0 (23/07/2021)
fixed the problem of encoding cyrillic symbols
fixed all methods of working with scripts for Polymatica 5.7
fixed other bugs
5.6.15.0 (27/08/2021)
all types of graphs are implemented
fixed authentication bugs
fixed the problem of encoding cyrillic symbols
fixed other bugs
5.6.16.0 (04/10/2021)
add parms “default_value” and “convert_empty_values” to load_sphere_chunk function
fixed function names in “func_timing”
fixed other bugs
5.6.17.0 (03/02/2022)
fixed problem with encoding in Polymatica 5.7
fixed work/reworked of following methods: “create_calculated_measure”, “wait_cube_loading”, “delete_dim_filter”, “select_all_dims”, “create_sphere”
changed the api of following methods: “group_dimensions”
“unselect_all_dims” method added
fixed many bugs
5.6.17.1 (08/02/2022, hotfix)
fixed “wait_cube_loading” method
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file polyapi-5.6.17.1.tar.gz.
File metadata
- Download URL: polyapi-5.6.17.1.tar.gz
- Upload date:
- Size: 117.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4e21316cb5f05ebb1c87d57e90fa86949c7865fa6f3b9f8886720cbf9d653d5
|
|
| MD5 |
d9c3a3140fac896ebe2dc691317ce683
|
|
| BLAKE2b-256 |
8363c0b46a67b87081218c442df9fc4113917bef29fd727105690bc6c662c3f5
|