{ "info": { "author": "Ben Darnell", "author_email": null, "bugtrack_url": null, "classifiers": [], "description": "CodeGenLoader\n=============\n\nCodeGenLoader is a Python import hook that transparently runs a code\ngenerator at import time, allowing the use of generated code without\na separate compilation step. The package includes an extensible base\nclass as well as implementations for the Protocol Buffer and\nThrift code generators.\n\nInstallation\n------------\n\n::\n\n pip install codegenloader\n\nPrerequisites\n-------------\n\nCodeGenLoader runs on Python 2 (2.5+) and 3, including pypy and\njython. The base class does not have any external dependencies, but\nto use the Thrift or Protocol Buffer subclasses you will need the\nthrift or protobuf packages installed. Note that protobuf 3.0.0\n(currently in alpha) is required to use protobuf on Python 3.\n\nExample\n-------\n\nAdd the following two lines to `mypackage/proto/__init__.py`::\n\n import codegenloader.protobuf\n __path__ = codegenloader.protobuf.make_path(__name__, \".\")\n\nNow, assuming `foo.proto` exists in in `mypackage/proto/`, you can do::\n\n from mypackage.proto.foo_pb2 import Foo\n\nMore info\n---------\n\nThe source code is hosted at https://github.com/bdarnell/codegenloader\nDetailed documentation can be found at http://codegenloader.readthedocs.org\n", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bdarnell/codegenloader", "keywords": null, "license": null, "maintainer": null, "maintainer_email": null, "name": "codegenloader", "package_url": "https://pypi.org/project/codegenloader/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/codegenloader/", "project_urls": { "Homepage": "https://github.com/bdarnell/codegenloader" }, "release_url": "https://pypi.org/project/codegenloader/0.2/", "requires_dist": null, "requires_python": null, "summary": null, "version": "0.2" }, "last_serial": 1462012, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "18f62ae7499f1342d01c504447b4a6e1", "sha256": "43a84340d6dd1645bf1f497fb7f3b7b428c57f6ac1addc61c38c1dac6057090e" }, "downloads": -1, "filename": "codegenloader-0.1.tar.gz", "has_sig": false, "md5_digest": "18f62ae7499f1342d01c504447b4a6e1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4801, "upload_time": "2012-06-19T08:35:08", "url": "https://files.pythonhosted.org/packages/eb/7d/2dc702cd2fc3d0d4c174688f26e189bf631b12e8158df65170114ff2e317/codegenloader-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "7b9dbfa2a2db2ccc4471a2902ca19aec", "sha256": "d437babb803a1345b34177826493d49e12526f789c9c789f6774f937fc7de627" }, "downloads": -1, "filename": "codegenloader-0.2.tar.gz", "has_sig": false, "md5_digest": "7b9dbfa2a2db2ccc4471a2902ca19aec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4990, "upload_time": "2015-03-15T22:09:38", "url": "https://files.pythonhosted.org/packages/b8/c6/42b46543610ca9576753d269d316a4da9fcd1274f6e8188f216449e56fbf/codegenloader-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7b9dbfa2a2db2ccc4471a2902ca19aec", "sha256": "d437babb803a1345b34177826493d49e12526f789c9c789f6774f937fc7de627" }, "downloads": -1, "filename": "codegenloader-0.2.tar.gz", "has_sig": false, "md5_digest": "7b9dbfa2a2db2ccc4471a2902ca19aec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4990, "upload_time": "2015-03-15T22:09:38", "url": "https://files.pythonhosted.org/packages/b8/c6/42b46543610ca9576753d269d316a4da9fcd1274f6e8188f216449e56fbf/codegenloader-0.2.tar.gz" } ] }