psr-factory 5.0.0b46__py3-none-win_amd64.whl → 5.0.0b47__py3-none-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of psr-factory might be problematic. Click here for more details.

psr/factory/__init__.py CHANGED
@@ -2,6 +2,6 @@
2
2
  # Unauthorized copying of this file, via any medium is strictly prohibited
3
3
  # Proprietary and confidential
4
4
 
5
- __version__ = "5.0.0b46"
5
+ __version__ = "5.0.0b47"
6
6
 
7
7
  from .api import *
psr/factory/api.py CHANGED
@@ -2452,6 +2452,23 @@ def create(class_name: str,
2452
2452
  return data_object
2453
2453
 
2454
2454
 
2455
+ def convert_output(input_path: Union[str, pathlib.Path], output_path: Union[str, pathlib.Path], **kwargs):
2456
+ _check_initialized()
2457
+ options: Optional[Union[dict, Value, DataObject]] = kwargs.get("options", None)
2458
+ input_path = str(input_path)
2459
+ output_path = str(output_path)
2460
+ error = Error()
2461
+ options_value = _get_arg_object(options)
2462
+ factorylib.lib.psrd_convert_output(_c_str(input_path),
2463
+ _bytes(input_path),
2464
+ _c_str(output_path),
2465
+ _bytes(output_path),
2466
+ options_value.handler(),
2467
+ error.handler())
2468
+ if error.code != 0:
2469
+ raise FactoryException(error.what)
2470
+
2471
+
2455
2472
  def get_default_context() -> "Context":
2456
2473
  _check_initialized()
2457
2474
  return Context.default_context()
psr/factory/factory.dll CHANGED
Binary file
psr/factory/factorylib.py CHANGED
@@ -373,4 +373,6 @@ def initialize():
373
373
  lib.psrd_date_iterator_at_end.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool), ctypes.c_void_p]
374
374
  lib.psrd_date_iterator_get_value.restype = ctypes.c_int
375
375
  lib.psrd_date_iterator_get_value.argtypes = [ctypes.c_void_p, ctypes.c_char_p, ctypes.c_long, ctypes.c_void_p]
376
+ lib.psrd_convert_output.restype = ctypes.c_int
377
+ lib.psrd_convert_output.argtypes = [ctypes.c_char_p, ctypes.c_long, ctypes.c_char_p, ctypes.c_long, ctypes.c_void_p, ctypes.c_void_p]
376
378
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: psr-factory
3
- Version: 5.0.0b46
3
+ Version: 5.0.0b47
4
4
  Summary: PSR database management module.
5
5
  Author-email: "PSR Inc." <psrfactory@psr-inc.com>
6
6
  License-Expression: MIT
@@ -16,12 +16,12 @@ psr/execqueue/config.py,sha256=rUOzO5dtTkwWoZlZfk06K9RE94xCx53T1bJ1h5JaDUo,1446
16
16
  psr/execqueue/db.py,sha256=sNr_StNEgZZQCKcyCWiB1WrQJIhE9UvLUxPA2tWiXGs,8498
17
17
  psr/execqueue/server.py,sha256=LolYERWRt96P_ip4yKU7DsN7M_n9d_pbflbT0ckUV0E,15782
18
18
  psr/execqueue/watcher.py,sha256=R1dyXJ-OYn_QjqdItBwbLJZQ2LcbtdHqnRaYkyphi4w,5637
19
- psr/factory/__init__.py,sha256=1TGDAVfKydHknOPYq3mnH9MaRCOK64uBMBTEAeZAs4o,219
20
- psr/factory/api.py,sha256=QASwrk5SbbAqz63u7EhGoBBqqXOqMnicjL-eJ3gOGe0,104270
21
- psr/factory/factory.dll,sha256=mYJgExkeceC_dtcyiHLevDlK7TAS3ulBLr8ScPlDNcE,18723152
19
+ psr/factory/__init__.py,sha256=v79dUKI3wH0ErW3nDBPZo5wAysJ0k5yAyaaaI5odVp0,219
20
+ psr/factory/api.py,sha256=ttRLilLZqkYUglLLoE0rXDfbENZ-PMSpvfkZU6fjn5k,105058
21
+ psr/factory/factory.dll,sha256=TKfDSRQJ8tWX0W5GnoccvLkMp0M_6fcTBuOzpLcbdCU,18740048
22
22
  psr/factory/factory.pmd,sha256=XCa78VZaYplQTjx3H3lkIqUh-iIwIa1FO8ElU0DiGtY,251366
23
23
  psr/factory/factory.pmk,sha256=xUmWIJKh_I3Ng9BVhaxB3I9xNXR3e--QnWlSgaN2m5A,600775
24
- psr/factory/factorylib.py,sha256=o5Irbw6k-yIOJVUtDu2YYqw2x16P2LmCdouImwSssdw,28290
24
+ psr/factory/factorylib.py,sha256=wrgb1oaY9SkehzDXCn4RdTb26YFaem-ZwXOBPfhwOf0,28481
25
25
  psr/factory/libcurl-x64.dll,sha256=I6-VFSZyO5C-hV4pGmFHRblnSO6E3wBWze_0LVnKboA,5317968
26
26
  psr/factory/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
27
27
  psr/factory/samples/__init__.py,sha256=xxOch5Fokzjy571a6OHD87FWM17qKgvfcbr8xn-n36I,80
@@ -36,8 +36,8 @@ psr/psrfcommon/tempfile.py,sha256=5S13wa2DCLYTUdwbLm_KMBRnDRJ0WDlu8GO2BmZoNdg,39
36
36
  psr/runner/__init__.py,sha256=kI9HDX-B_LMQJUHHylFHas2rNpWfNNa0pZXoIvX_Alw,230
37
37
  psr/runner/runner.py,sha256=hCVH62HAZK_M9YUiHQgqCkMevN17utegjfRIw49MdvM,27542
38
38
  psr/runner/version.py,sha256=mch2Y8anSXGMn9w72Z78PhSRhOyn55EwaoLAYhY4McE,194
39
- psr_factory-5.0.0b46.dist-info/licenses/LICENSE.txt,sha256=N6mqZK2Ft3iXGHj-by_MHC_dJo9qwn0URjakEPys3H4,1089
40
- psr_factory-5.0.0b46.dist-info/METADATA,sha256=g5En9jBjFaBfODaXZyI12X8ofcFHlWuOSdeDIeZVlPc,3486
41
- psr_factory-5.0.0b46.dist-info/WHEEL,sha256=ZjXRCNaQ9YSypEK2TE0LRB0sy2OVXSszb4Sx1XjM99k,97
42
- psr_factory-5.0.0b46.dist-info/top_level.txt,sha256=Jb393O96WQk3b5D1gMcrZBLKJJgZpzNjTPoldUi00ck,4
43
- psr_factory-5.0.0b46.dist-info/RECORD,,
39
+ psr_factory-5.0.0b47.dist-info/licenses/LICENSE.txt,sha256=N6mqZK2Ft3iXGHj-by_MHC_dJo9qwn0URjakEPys3H4,1089
40
+ psr_factory-5.0.0b47.dist-info/METADATA,sha256=Wdaoza3IsL3po-7UBjcHKBWKZn55TrOecBdkUZkJTEk,3486
41
+ psr_factory-5.0.0b47.dist-info/WHEEL,sha256=ZjXRCNaQ9YSypEK2TE0LRB0sy2OVXSszb4Sx1XjM99k,97
42
+ psr_factory-5.0.0b47.dist-info/top_level.txt,sha256=Jb393O96WQk3b5D1gMcrZBLKJJgZpzNjTPoldUi00ck,4
43
+ psr_factory-5.0.0b47.dist-info/RECORD,,