{ "info": { "author": "Andreas Ruppen", "author_email": "andreas.ruppen@unifr.ch", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Education", "Intended Audience :: End Users/Desktop", "Intended Audience :: Science/Research", "License :: OSI Approved :: Apache Software License", "Operating System :: MacOS :: MacOS X", "Operating System :: POSIX", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Education", "Topic :: Software Development :: Compilers", "Topic :: Utilities" ], "description": "# Model2Code converter\n\nConvert an xWoT meta-model to executable python code.\n\n# Installation\n\n## End Users\n\n pip install xWoTModelTranslator\n \n## Developers\n\n### Final installation\n\nfrom a terminal launch\n\n sudo python setup.py install --record files.txt\n\nthis will compile and install the project to the pyhton libraries (eg. /usr/local/lib/python2.7/dist-packages/XWoT_Model_Translator-1.1-py2.7.egg). Furthermore it will install three scripts in /usr/local/bin/:\n* physical2virtualEntities\n* model2Python\n* model2WADL\nThe configuration and logging.conf are copied into /etc/Model2WADL/ but it is possible to overwrite them either by placing a file with the same name (but prefixed with a dot eg. .logging.conf) in the user home directory or a file with the same name in the current working directory.\n\n### Development installation\n\nfrom a terminal launch\n\n sudo python setup.py develop --record files.txt\n \ndoes the same as before but, uses links instead of copying files.\n\n### Clean Working directory\n\nTo clean the working directory\n \n sudo python setup.py clean --all\n sudo rm -rf build/ dist/ xWoTModelTranslator.egg.egg-info/ files.txt\n\n\n# Uninstall\n\n## Method 1\n cat files.txt |sudo xargs rm -rf\n\n## Method 2\n\nFirst find the installed package with pip and the uninstall it\n\n ~/Documents/Programming/Python/Model2WADL [master|\u271a 1\u20261] \n 12:13 $ pip freeze |grep xWot*\n 3:xWoTModelTranslator==1.1\n ~/Documents/Programming/Python/Model2WADL [master|\u271a 1\u20261] \n 12:13 $ sudo pip uninstall xWoTModelTranslator\n Uninstalling xWoTModelTranslator:\n /Library/Python/2.7/site-packages/xWoTModelTranslator-1.1-py2.7.egg\n /usr/local/bin/model2Python\n /usr/local/bin/model2WADL\n /usr/local/bin/physical2virtualEntities\n Proceed (y/n)? y\n Successfully uninstalled xWoTModelTranslator\n ~/Documents/Programming/Python/Model2WADL [master|\u271a 1\u20261] \n 12:13 $\n\n \n # Utilisation\n \n The package provide two scripts: _physical2virtualEntities_ and _model2Python_. The first one is used to enhance an xWoT model (created with the according Eclipse plugin see https://github.com/aruppen/architecture4xwot for how to get this eclipse plug-in) containing only the virtual side of a Device with the corresponding virtual side. The second script takes a final xWoT model and translates it into code skeletons. The code sekeltons reflects the chosen hierarchy as a RESTful webservice based on python and autobahn.", "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/aruppen/xwotModelCompiler", "keywords": "WoT IoT REST Arduino xWoT", "license": "Apache", "maintainer": null, "maintainer_email": null, "name": "xWoTModelTranslator", "package_url": "https://pypi.org/project/xWoTModelTranslator/", "platform": "any", "project_url": "https://pypi.org/project/xWoTModelTranslator/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/aruppen/xwotModelCompiler" }, "release_url": "https://pypi.org/project/xWoTModelTranslator/1.6/", "requires_dist": null, "requires_python": null, "summary": "Translates xWoT models into various code snippets", "version": "1.6" }, "last_serial": 1787958, "releases": { "1.1": [], "1.3": [ { "comment_text": "", "digests": { "md5": "6ecf8fb04f479ba8e9e65b53019966b6", "sha256": "1acc7791fafe9565a0e7c90361dc7e2088e3b31bac72d3b717c680b2cbcbbd7f" }, "downloads": -1, "filename": "xWoTModelTranslator-1.3-py2.7.egg", "has_sig": false, "md5_digest": "6ecf8fb04f479ba8e9e65b53019966b6", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 1199283, "upload_time": "2015-07-31T09:56:43", "url": "https://files.pythonhosted.org/packages/c8/4d/0bb1a871d8ea436f4f93d0d4c91f91389fd27ae610a35a7d721070e076a6/xWoTModelTranslator-1.3-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "f0f8cbcd0ef67e809b34ce28aea83718", "sha256": "9d603a125ed972fee02f127754b97f4817546be65cde7b4da619388e7a41655c" }, "downloads": -1, "filename": "xWoTModelTranslator-1.3.tar.gz", "has_sig": false, "md5_digest": "f0f8cbcd0ef67e809b34ce28aea83718", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1003150, "upload_time": "2015-07-31T09:56:37", "url": "https://files.pythonhosted.org/packages/ee/9e/4cc2bc5ab6cc554cab2a61a790031ec0aacb607ebf4588808cd4bc9abfd6/xWoTModelTranslator-1.3.tar.gz" } ], "1.4": [ { "comment_text": "", "digests": { "md5": "f16f14f4be429e8d581123686fcecf52", "sha256": "e96f6e7057b9a24d02b32e9960dc2df510761dd27ed14c0904169536a5ab48d3" }, "downloads": -1, "filename": "xWoTModelTranslator-1.4-py2.7.egg", "has_sig": false, "md5_digest": "f16f14f4be429e8d581123686fcecf52", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 1199243, "upload_time": "2015-09-29T12:29:34", "url": "https://files.pythonhosted.org/packages/a9/0a/66992eef6307727cfd5a2a4a6563e28d790189b002065301ce33939eaec0/xWoTModelTranslator-1.4-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "c8e7de004895212d1bdfbadc48d2962f", "sha256": "46f683a5f34c155a84fbdbb58d91fa2f960bada794518ed0e545c1108d1f28fc" }, "downloads": -1, "filename": "xWoTModelTranslator-1.4.tar.gz", "has_sig": false, "md5_digest": "c8e7de004895212d1bdfbadc48d2962f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1003153, "upload_time": "2015-09-29T12:29:29", "url": "https://files.pythonhosted.org/packages/1f/ff/325b4478a0ec2817644551716e1ac9092771af46f80a997fc5292b3e82f1/xWoTModelTranslator-1.4.tar.gz" } ], "1.5": [ { "comment_text": "", "digests": { "md5": "e0513a81b403ca931928556e9f44b250", "sha256": "ddbdde02e1ffe10ce51d597811c23ed4f97117b20276b8da2e3a0a6e08a61d20" }, "downloads": -1, "filename": "xWoTModelTranslator-1.5-py2.7.egg", "has_sig": false, "md5_digest": "e0513a81b403ca931928556e9f44b250", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 1199739, "upload_time": "2015-09-29T12:39:47", "url": "https://files.pythonhosted.org/packages/2a/2c/e0f779f4cc52c94289bcb330fbcc0b9e1cbc9920fc3c4b1574d20c98b554/xWoTModelTranslator-1.5-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "c6280069af10ea3bfda6058d288cb9e1", "sha256": "3f142f0da5045e4808684878501fe897cfd128a239acf239c68ac45c0f0fda36" }, "downloads": -1, "filename": "xWoTModelTranslator-1.5.tar.gz", "has_sig": false, "md5_digest": "c6280069af10ea3bfda6058d288cb9e1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1003239, "upload_time": "2015-09-29T12:39:41", "url": "https://files.pythonhosted.org/packages/c0/38/e5b49e7ffa8033e3e52eea11c4dc23c316e0b69fd103e2e398da2aba2995/xWoTModelTranslator-1.5.tar.gz" } ], "1.6": [ { "comment_text": "", "digests": { "md5": "ad1cafa05ed8b06ca5816ddaef39701d", "sha256": "61403f5e731860f29003682ac6be2cc0581d104f77d525a9887e5bb0d696df02" }, "downloads": -1, "filename": "xWoTModelTranslator-1.6-py2.7.egg", "has_sig": false, "md5_digest": "ad1cafa05ed8b06ca5816ddaef39701d", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 1200495, "upload_time": "2015-10-27T07:49:44", "url": "https://files.pythonhosted.org/packages/d1/aa/3695a78bdc349e038621ddcca0db52fbfeb2a386386e81ed4c483de5fcf3/xWoTModelTranslator-1.6-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "c6119fe759f512b3423ecbb4cbfb1fe7", "sha256": "a90ada5b06901e6b3b16dc7de1da34782b09dc3e335377ba0fd2e1dead5495f2" }, "downloads": -1, "filename": "xWoTModelTranslator-1.6.tar.gz", "has_sig": false, "md5_digest": "c6119fe759f512b3423ecbb4cbfb1fe7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1003630, "upload_time": "2015-10-27T07:49:27", "url": "https://files.pythonhosted.org/packages/2a/12/edaa4f60f643ee5b643a0f180d905491bebf60dbea2d1b1276394bfd7da1/xWoTModelTranslator-1.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ad1cafa05ed8b06ca5816ddaef39701d", "sha256": "61403f5e731860f29003682ac6be2cc0581d104f77d525a9887e5bb0d696df02" }, "downloads": -1, "filename": "xWoTModelTranslator-1.6-py2.7.egg", "has_sig": false, "md5_digest": "ad1cafa05ed8b06ca5816ddaef39701d", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 1200495, "upload_time": "2015-10-27T07:49:44", "url": "https://files.pythonhosted.org/packages/d1/aa/3695a78bdc349e038621ddcca0db52fbfeb2a386386e81ed4c483de5fcf3/xWoTModelTranslator-1.6-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "c6119fe759f512b3423ecbb4cbfb1fe7", "sha256": "a90ada5b06901e6b3b16dc7de1da34782b09dc3e335377ba0fd2e1dead5495f2" }, "downloads": -1, "filename": "xWoTModelTranslator-1.6.tar.gz", "has_sig": false, "md5_digest": "c6119fe759f512b3423ecbb4cbfb1fe7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1003630, "upload_time": "2015-10-27T07:49:27", "url": "https://files.pythonhosted.org/packages/2a/12/edaa4f60f643ee5b643a0f180d905491bebf60dbea2d1b1276394bfd7da1/xWoTModelTranslator-1.6.tar.gz" } ] }