{ "info": { "author": "Christian S\u00f8rensen", "author_email": "cgs@sbi.aau.dk", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Build Tools" ], "description": "Be10/Be15 calculation engine wrapper for Python\r\n===============================================\r\n\r\nThis Python library is designed to allow easy usage of the Be10 and Be15 calculation engines from Python.\r\nNotice that the python interpreter must be 32 bit!\r\n\r\nInstall\r\n-------\r\n\r\nFrom the command line:\r\n\r\n.. code:: bash\r\npip install beeng\r\n\r\nOr\r\n\r\n.. code:: bash\r\npy -m pip install beeng\r\n\r\nExample\r\n-------\r\n\r\n.. code:: python\r\n\r\n import beeng\r\n eng = beeng.Engine()\r\n model = eng.load_model('PATH_TO_YOUR_PROJECT_XML')\r\n res_success, res_xml = eng.get_res_xml(model)\r\n key_success, key_xml = eng.get_key_xml(model)\r\n assert res_success == True\r\n assert key_success == True\r\n\r\nSee the example directory for more options.\r\n\r\nEngine parameters\r\n-----------------\r\n\r\nThe following table shows that arguments that can be given to the Engine class.\r\n\r\n========================== ====== ==================================================================================================================\r\n Argument Type Comment\r\n========================== ====== ==================================================================================================================\r\n be_eng_dll_path str The path to the Be engine DLL. If set to None beeng will attempt to auto find the dll.\r\n buffer_size int The number of bytes used for the results buffer\r\n uk_flag int Control the language of the results. 0 = danish, 1 = english.\r\n check_for_valid_license bool If set to true beeng will check if a valid license is available. Only works from version 8.17.1.17 and forward.\r\n========================== ====== ==================================================================================================================\r\n\r\nNotice that the calculation engine always check for a valid license so check_for_valid_license is only a help to detect the problem.\r\nIf check_for_valid_license is set to false then the engine will simply fail to return results when no valid license is available.\r\n\r\nSupported functions\r\n-------------------\r\n\r\nThe following functions from the DLL can be used:\r\n\r\n==================== ============= ===================================================================================================================================\r\n Function Return Comment\r\n==================== ============= ===================================================================================================================================\r\n get_key_xml (bool, str) The bool indicates success and the str contains the key xml data\r\n get_res_xml (bool, str) The bool indicates success and the str contains the results xml data\r\n get_summer_comfort (bool, str) The bool indicates success and the str contains the summer comfort temperature xml data for each hour of every day the whole year\r\n is_license_valid bool The bool indicates if a valid license is available (True = valid license) (Supported from version 8.17.1.17 and forward)\r\n==================== ============= ===================================================================================================================================", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/sbi-aau/beeng-py", "keywords": "be10 be15 beeng development", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "beeng", "package_url": "https://pypi.org/project/beeng/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/beeng/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/sbi-aau/beeng-py" }, "release_url": "https://pypi.org/project/beeng/0.0.3/", "requires_dist": null, "requires_python": null, "summary": "A python wrapper for Be10/Be15 calculation engines", "version": "0.0.3" }, "last_serial": 2599471, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "a196c9c23772eb9c8537c75d4d5ebf6f", "sha256": "8f906297540d1ed5bcca080717f96d11d9fc48f3ad40be730e2de230880bbf9e" }, "downloads": -1, "filename": "beeng-0.0.1.zip", "has_sig": false, "md5_digest": "a196c9c23772eb9c8537c75d4d5ebf6f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8524, "upload_time": "2017-01-19T12:58:47", "url": "https://files.pythonhosted.org/packages/59/cb/f5b8178fc89de58fb1fefd38ca665449a6da2bc865093e779d1675d0d867/beeng-0.0.1.zip" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "b7e2301919d5cf6b07ad412b81584970", "sha256": "2d67169ae6ba97d55120517d8ba814a1e3fd75f9620d5f8c909d012331c5c89c" }, "downloads": -1, "filename": "beeng-0.0.2.zip", "has_sig": false, "md5_digest": "b7e2301919d5cf6b07ad412b81584970", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10583, "upload_time": "2017-01-25T09:42:52", "url": "https://files.pythonhosted.org/packages/66/1c/68034069374887f652e002f665f73a26580fd138c048d82647544cb7fd54/beeng-0.0.2.zip" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "96e3c838abd08562033a4509923da214", "sha256": "7a59d1015500163c40db20bfda88f3b3aabad3ba5c00946781980a73ddd570c0" }, "downloads": -1, "filename": "beeng-0.0.3.zip", "has_sig": false, "md5_digest": "96e3c838abd08562033a4509923da214", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11213, "upload_time": "2017-01-26T11:24:44", "url": "https://files.pythonhosted.org/packages/5f/b2/84862a0cb6f7d67c64d01f1ad8e008086bd49a060ee94ca06572fdfd492e/beeng-0.0.3.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "96e3c838abd08562033a4509923da214", "sha256": "7a59d1015500163c40db20bfda88f3b3aabad3ba5c00946781980a73ddd570c0" }, "downloads": -1, "filename": "beeng-0.0.3.zip", "has_sig": false, "md5_digest": "96e3c838abd08562033a4509923da214", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11213, "upload_time": "2017-01-26T11:24:44", "url": "https://files.pythonhosted.org/packages/5f/b2/84862a0cb6f7d67c64d01f1ad8e008086bd49a060ee94ca06572fdfd492e/beeng-0.0.3.zip" } ] }