{ "info": { "author": "Toni Neubert", "author_email": "lutztonineubert@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Build Tools" ], "description": "# Quom\nQuom is a single header generator for C/C++ libraries.\n\n# Installation\n\n```\npip install quom\n```\n\nOnly **Python 3.6+** is supported.\n\n# How it works\n\nQuom resolves all local includes starting with the main header file of your library.\n\nAfterwards, it tries to find the related source files and places them at the specific stitch location.\n\n# How to use it \n\n```\nusage: quom [-h] [--stitch format] [--include_guard format] [--trim]\n input output\n\nSingle header generator for C/C++ libraries.\n\npositional arguments:\n input Input file path of the main header file.\n output Output file path of the generated single header file.\n\noptional arguments:\n -h, --help show this help message and exit\n --stitch format, -s format\n Format of the comment where the source files should be\n placed. Default: ~> stitch <~\n --include_guard format, -g format\n Regex format of the include guard. Default: None\n --trim, -t Reduce continuous line breaks to one. Default: True\n```\n\nTake a look into the [examples folder](examples/) for more.\n\n# Simple example\n\nThe project:\n\n```\n|-src/\n| |-foo.hpp\n| |-foo.cpp\n| -foobar.hpp\n|-out/\n -foobar_gen.hpp\n\n```\n\n*foo.hpp*\n\n```cpp\n#pragma once\n\n#ifndef FOOBAR_FOO_HPP\n#endif FOOBAR_FOO_HPP\n\nextern int foo; \n\n#endif\n```\n\n*foo.cpp*\n\n```cpp\n#include \"foo.hpp\"\n\nint foo = 42;\n```\n\n*foobar.hpp*\n\n```cpp\n#pragma once\n\n#ifndef FOOBAR_HPP\n#endif FOOBAR_HPP\n\n#include \"foo.hpp\"\n\n#endif\n\n#ifdef FOO_MAIN\n\n// ~> stitch <~\n\n#endif\n```\n\nThe command:\n\n```\nquom src/foobar.hpp foobar_gen.hpp -g FOOBAR_.+_HPP\n```\n\nThe result:\n\n```cpp\n#pragma once\n\n#ifndef FOOBAR_HPP\n#endif FOOBAR_HPP\n\nextern int foo;\n\n#endif\n\n#ifdef FOO_MAIN\n\nint foo = 42;\n\n#endif\n```\n\n\n", "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/Viatorus/quom", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "Quom", "package_url": "https://pypi.org/project/Quom/", "platform": "", "project_url": "https://pypi.org/project/Quom/", "project_urls": { "Homepage": "https://github.com/Viatorus/quom" }, "release_url": "https://pypi.org/project/Quom/0.3.0/", "requires_dist": null, "requires_python": "", "summary": "Quom is a single header generator for C/C++ libraries.", "version": "0.3.0" }, "last_serial": 4556310, "releases": { "0.3.0": [ { "comment_text": "", "digests": { "md5": "ca5e8b570fdbb0fbd1097ecb88988df7", "sha256": "22d76f794bf0bcada28881749e79b32bd1ac5b9452fe5bc073cb456b2206db36" }, "downloads": -1, "filename": "Quom-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "ca5e8b570fdbb0fbd1097ecb88988df7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12701, "upload_time": "2018-12-03T16:05:10", "url": "https://files.pythonhosted.org/packages/47/c0/45ce81220ea08125bbba5793ee100c69d51af225afa843fbea4c70425b80/Quom-0.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b5154da04ef2b90735ccf8f679d77e58", "sha256": "635ebbff3efabe200a9b3b790dfb9be0ae301dcb73f4c7d7e684602c0ae98e3f" }, "downloads": -1, "filename": "Quom-0.3.0.tar.gz", "has_sig": false, "md5_digest": "b5154da04ef2b90735ccf8f679d77e58", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7702, "upload_time": "2018-12-03T16:05:12", "url": "https://files.pythonhosted.org/packages/64/89/ec1a7ef3f73c91512b2064e783bd69ae20eedda250f6465302410a9ddec4/Quom-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ca5e8b570fdbb0fbd1097ecb88988df7", "sha256": "22d76f794bf0bcada28881749e79b32bd1ac5b9452fe5bc073cb456b2206db36" }, "downloads": -1, "filename": "Quom-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "ca5e8b570fdbb0fbd1097ecb88988df7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12701, "upload_time": "2018-12-03T16:05:10", "url": "https://files.pythonhosted.org/packages/47/c0/45ce81220ea08125bbba5793ee100c69d51af225afa843fbea4c70425b80/Quom-0.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b5154da04ef2b90735ccf8f679d77e58", "sha256": "635ebbff3efabe200a9b3b790dfb9be0ae301dcb73f4c7d7e684602c0ae98e3f" }, "downloads": -1, "filename": "Quom-0.3.0.tar.gz", "has_sig": false, "md5_digest": "b5154da04ef2b90735ccf8f679d77e58", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7702, "upload_time": "2018-12-03T16:05:12", "url": "https://files.pythonhosted.org/packages/64/89/ec1a7ef3f73c91512b2064e783bd69ae20eedda250f6465302410a9ddec4/Quom-0.3.0.tar.gz" } ] }