{ "info": { "author": "Thomas Saunders", "author_email": "tasaunders@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Build Tools" ], "description": "\n===========================================\nPython compiler for the kaze Virtual Machine\n===========================================\n\nOverview\n--------\n\nThe ``kaze-boa`` compiler is a tool for compiling Python files to the\n``.avm`` format for usage in the `kaze Virtual\nMachine `__ which is used to\nexecute contracts on the `kaze\nBlockchain `__.\n\nThe compiler supports a subset of the Python language ( in the same way\nthat a *boa constrictor* is a subset of the Python snake species)\n\nWhat does it currently do\n^^^^^^^^^^^^^^^^^^^^^^^^^\n\n- Compiles a subset of the Python language to the ``.avm`` format for\n use in the `kaze Virtual\n Machine `__\n- Works for Python 3.6+\n- Adds debugging map for debugging in kaze-python or other kaze debuggers\n\n\nWhat will it do\n^^^^^^^^^^^^^^^\n\n- Compile a larger subset of the Python language\n\nGet Help or give help\n^^^^^^^^^^^^^^^^^^^^^\n\n- Open a new\n `issue `__ if you\n encounter a problem.\n- Or ping **@localhuman** on the `kaze official community\n chatroom `__.\n- Pull requests welcome. New features, writing tests and documentation\n are all needed.\n\nInstallation\n------------\n\nMake sure you are using a Python 3.6 or greater virtual environment\n\nPip\n^^^\n\n::\n\n pip install kaze-boa\n\nDocker\n^^^^^^\n\nThis project contains a Dockerfile to batch compile Python smart\ncontracts. Clone the repository and navigate into the docker sub\ndirectory of the project. Run the following command to build the\ncontainer:\n\n::\n\n docker build -t kaze-boa .\n\nThe kaze-boa Docker container takes a directory on the host containing\npython smart contracts as an input and a directory to compile the .avm\nfiles to as an output. It can be executed like this:\n\n::\n\n docker run -it -v /absolute/path/input_dir:/python-contracts -v /absolute/path/output_dir:/compiled-contracts kaze-boa\n\nThe -v (volume) command maps the directories on the host to the\ndirectories within the container.\n\nManual\n^^^^^^\n\nClone the repository and navigate into the project directory. Make a\nPython 3 virtual environment and activate it via:\n\n::\n\n python3 -m venv venv\n source venv/bin/activate\n\nor, to install Python 3.6 specifically:\n\n::\n\n virtualenv -p /usr/local/bin/python3.6 venv\n source venv/bin/activate\n\nThen, install the requirements:\n\n::\n\n pip install -r requirements.txt\n\nUsage\n-----\n\nThe compiler may be used like in the following example:\n\n::\n\n from boa.compiler import Compiler\n\n Compiler.load_and_save('path/to/your/file.py')\n\nDocs\n----\n\nYou can `read the docs\nhere `__.\n\nTests\n-----\n\nAll tests are located in ``boa_test/test``. Tests can be run with the following command ``python -m unittest discover boa_test``\n\nLicense\n-------\n\n- Open-source `MIT `__.\n- Main author is `localhuman `__.\n\nDonations\n---------\n\nAccepted at **ATEMNPSjRVvsXmaJW4ZYJBSVuJ6uR2mjQU**\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/KAZEBLOCKCHAIN/kaze-boa", "keywords": "compiler kaze .avm blockchain smartcontract development dApp", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "kaze-boa", "package_url": "https://pypi.org/project/kaze-boa/", "platform": "", "project_url": "https://pypi.org/project/kaze-boa/", "project_urls": { "Homepage": "https://github.com/KAZEBLOCKCHAIN/kaze-boa" }, "release_url": "https://pypi.org/project/kaze-boa/0.5.1/", "requires_dist": [ "astor", "coz-bytecode (==0.5.1)", "twine; extra == 'dev'", "wheel; extra == 'dev'", "sphinx; extra == 'dev'", "autopep8; extra == 'dev'", "pep8; extra == 'dev'", "sphinx-rtd-theme; extra == 'dev'", "coverage; extra == 'test'" ], "requires_python": ">=3.6", "summary": "A Python compiler for the kaze Virtual Machine", "version": "0.5.1" }, "last_serial": 4286867, "releases": { "0.5.0": [ { "comment_text": "", "digests": { "md5": "3bc6a5d28f510ce316f3f91ed0667951", "sha256": "06b931a79cacebbdac3ddbeb273fcc10e2f65f9f38cfc2e7522e16659dc73a33" }, "downloads": -1, "filename": "kaze_boa-0.5.0-py3-none-any.whl", "has_sig": false, "md5_digest": "3bc6a5d28f510ce316f3f91ed0667951", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 59272, "upload_time": "2018-09-19T03:07:51", "url": "https://files.pythonhosted.org/packages/a6/7d/c9a5504f635f08433d56e81e6b9a8ff0dfcc6a7db58c56261790306732df/kaze_boa-0.5.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "417d1c0be87ccd38998b0e99881b7f22", "sha256": "7e0835dc8274dddcf53107986f41f333513c436f2ecb767ff25898397f4ef5ee" }, "downloads": -1, "filename": "kaze-boa-0.5.0.tar.gz", "has_sig": false, "md5_digest": "417d1c0be87ccd38998b0e99881b7f22", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 36083, "upload_time": "2018-09-19T03:07:52", "url": "https://files.pythonhosted.org/packages/41/82/0681b65db6cf975123a985941dae687aeae8dc9676725d9bdd4dd8c0ccbf/kaze-boa-0.5.0.tar.gz" } ], "0.5.1": [ { "comment_text": "", "digests": { "md5": "276223aac0140cf58e8c9ffed2439164", "sha256": "1743ef11c967013125d91f71013c918d0b360150771f724872ee0c3eb35973f3" }, "downloads": -1, "filename": "kaze_boa-0.5.1-py3-none-any.whl", "has_sig": false, "md5_digest": "276223aac0140cf58e8c9ffed2439164", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 59268, "upload_time": "2018-09-19T03:36:02", "url": "https://files.pythonhosted.org/packages/a2/d7/cbb486d184bd2b25c653879ef1420a73da0e920e1ebe01eb2fe43cc5b1ea/kaze_boa-0.5.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "231bd628493032d08a41b36a003b007d", "sha256": "97dce455508240e4e21b8fd40c4cc17f2c5bea2ffd964547ec9ae4317b5ffe6f" }, "downloads": -1, "filename": "kaze-boa-0.5.1.tar.gz", "has_sig": false, "md5_digest": "231bd628493032d08a41b36a003b007d", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 36088, "upload_time": "2018-09-19T03:36:03", "url": "https://files.pythonhosted.org/packages/c3/46/62adc94e81115986d18b1a02eda708e2ef07da2ce9a9c6818791308bbbcf/kaze-boa-0.5.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "276223aac0140cf58e8c9ffed2439164", "sha256": "1743ef11c967013125d91f71013c918d0b360150771f724872ee0c3eb35973f3" }, "downloads": -1, "filename": "kaze_boa-0.5.1-py3-none-any.whl", "has_sig": false, "md5_digest": "276223aac0140cf58e8c9ffed2439164", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 59268, "upload_time": "2018-09-19T03:36:02", "url": "https://files.pythonhosted.org/packages/a2/d7/cbb486d184bd2b25c653879ef1420a73da0e920e1ebe01eb2fe43cc5b1ea/kaze_boa-0.5.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "231bd628493032d08a41b36a003b007d", "sha256": "97dce455508240e4e21b8fd40c4cc17f2c5bea2ffd964547ec9ae4317b5ffe6f" }, "downloads": -1, "filename": "kaze-boa-0.5.1.tar.gz", "has_sig": false, "md5_digest": "231bd628493032d08a41b36a003b007d", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 36088, "upload_time": "2018-09-19T03:36:03", "url": "https://files.pythonhosted.org/packages/c3/46/62adc94e81115986d18b1a02eda708e2ef07da2ce9a9c6818791308bbbcf/kaze-boa-0.5.1.tar.gz" } ] }