{ "info": { "author": "Jun-You Liu", "author_email": "junyouliu9@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Code Generators", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# Solidity Unfolder\n\nUnfolds all local imports in a solidity file to generate a flat solidity file.\n\n\n## Introduction\nManually combining all imports in a solidity file when verifying your contract source on [Etherscan](https://etherscan.io) is time-consuming and cumbersome. This tool automatically traverses the dependency graph of imports and combines them in the correct order, which is ready to be pasted into the contract verifier.\n\n> NOTE: This tool won't work with imports that are aliased (i.e. import \"./foo.sol\" as bar; )\n\n\n## Installation\n\nThere's no any requirements for this tool.\n\n```\npip install solidity-unfolder\n```\n\n\n## Usage\n\n```\nusage: solu [-h] [-o *.sol] *.sol *.*.*\n\nUnfolds all local imports in a solidity file to generate a flat solidity file.\nPut the output file into out/ folders.\n\npositional arguments:\n *.sol target filename with imports\n *.*.* solidity compiler version e.g. 0.4.24\n\noptional arguments:\n -h, --help show this help message and exit\n -o *.sol, --output *.sol\n output filename (default: flat.sol)\n```\n\n\n## \tContact\nFeel free to [contact me](mailto:junyouliu9@gmail.com) if there's any problems. And welcome to open issues and send pull requests.\n\nInspired by [BlockCatIO](https://github.com/BlockCatIO/solidity-flattener)\n\n### License\n\nMIT License (2018), Jun-You Liu", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Jy-Liu/solidity-unfolder", "keywords": "soldity solidity-unfolder solidity-flattener smart-contracts ethereum", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "solidity-unfolder", "package_url": "https://pypi.org/project/solidity-unfolder/", "platform": "", "project_url": "https://pypi.org/project/solidity-unfolder/", "project_urls": { "Homepage": "https://github.com/Jy-Liu/solidity-unfolder" }, "release_url": "https://pypi.org/project/solidity-unfolder/1.0.1/", "requires_dist": null, "requires_python": ">=3", "summary": "A Python package to unfold soldity code with imports into a single file.", "version": "1.0.1" }, "last_serial": 3928970, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "6d0435bdb3a95106e8a7ef4fb0aaf646", "sha256": "a4fecc021106e40eab6cfef555733a71247e5c425aa14c2f5b85c12d03471a4b" }, "downloads": -1, "filename": "solidity-unfolder-1.0.1.tar.gz", "has_sig": false, "md5_digest": "6d0435bdb3a95106e8a7ef4fb0aaf646", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 3051, "upload_time": "2018-06-04T12:50:22", "url": "https://files.pythonhosted.org/packages/32/c3/7efc16d07f7da2d7383911e6a0f4e3858c4e1556576f5dc1f278c15a1497/solidity-unfolder-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6d0435bdb3a95106e8a7ef4fb0aaf646", "sha256": "a4fecc021106e40eab6cfef555733a71247e5c425aa14c2f5b85c12d03471a4b" }, "downloads": -1, "filename": "solidity-unfolder-1.0.1.tar.gz", "has_sig": false, "md5_digest": "6d0435bdb3a95106e8a7ef4fb0aaf646", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 3051, "upload_time": "2018-06-04T12:50:22", "url": "https://files.pythonhosted.org/packages/32/c3/7efc16d07f7da2d7383911e6a0f4e3858c4e1556576f5dc1f278c15a1497/solidity-unfolder-1.0.1.tar.gz" } ] }