{ "info": { "author": "Fabio Moreno", "author_email": "fabiomoreno@outlook.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6" ], "description": "# python protobuf compiler\n\ncompile all protobuf files and create a single package distribution for can be\ninstalled with pip\n\n## requirements\n\n* python >= 3.6\n* git (only for build from git repository)\n\n## features\n- [x] support for multiples folders\n- [x] support multiples proto files\n- [x] Create self package for pip\n- [x] Support for build from github and gitlab repository\n- [X] Support for build from local directory\n- [X] support imports into proto file (see test folder for show example )\n\n## install\n\n```bash\npip3 install protobuf-compiler\n```\n\nfor check install, execute in your terminal:\n\n```bash\nprotopy -h\n```\n\n## arguments\n\n* -h, --help : show this help message and exit\n* -d PROTO_DIR, --dir PROTO_DIR : folder path where the .proto files are located\n* -p PACKAGE_NAME, --package PACKAGE_NAME : package name\n* -o OUTPUT_DIR, --output OUTPUT_DIR: output folder for save single package .tar.gz\n* -g URL, --git URL : git reopsitory url where the .proto files are located\n* -t TOKEN, --token TOKEN : git server api token\n* -v VERSION, --version VERSION : tag version for build package\n\n\n## usage\n\n```bash\nprotopy [-h] [-d PROTO_DIR] [-p PACKAGE_NAME] [-o OUTPUT_DIR]\n```\n\n### example\n\n* compile from git repository:\n\nyou can clone a git repository from gitlab and github\n```bash\npython3 -m protopy -o /my/target/dir -p testpackage -g https://github.com/netsaj/testing.git -t my-private-token\n```\n\n* compile from folder:\n\n```bash\npython3 -m protopy -o /my/output/dir -p testpackage -d /my/protofile/source/dir \n```\n\n## install generate package in your app\n\nrun in your app folder:\n\n```bash\npip3 install /my/output/dir/package-version.tar.gz\n```\n\n### example:\n* installing generate package:\n```bash\npip3 install /Users/netsaj/temp/mytest-1.0.0.tar.gz\n```\n\n* import into you .py files:\n\n```python\nfrom mytest.analytics import analytics_pb2\n```\n\n## Authors\n\n* Fabio Moreno \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/netsaj/python-protobuf-compiler", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "protobuf-compiler", "package_url": "https://pypi.org/project/protobuf-compiler/", "platform": "", "project_url": "https://pypi.org/project/protobuf-compiler/", "project_urls": { "Homepage": "https://github.com/netsaj/python-protobuf-compiler" }, "release_url": "https://pypi.org/project/protobuf-compiler/1.0.20/", "requires_dist": [ "grpcio (==1.18.0)", "grpcio-tools (==1.18.0)", "colorama (==0.3.3)", "termcolor (==1.1.0)", "tqdm (==4.31.1)", "bleach (==2.1.0)" ], "requires_python": "", "summary": "compile all protobuf files and create a single package distribution for can be installed with pip", "version": "1.0.20" }, "last_serial": 5124679, "releases": { "1.0.18": [ { "comment_text": "", "digests": { "md5": "872cf92646f07e162ac5fb2fd0534cd7", "sha256": "f042c9f6ef4d4faef7d8f21a6bd6fb5eb5bc82e66bb35fd0ce6bf206f05e0c34" }, "downloads": -1, "filename": "protobuf_compiler-1.0.18-py3-none-any.whl", "has_sig": false, "md5_digest": "872cf92646f07e162ac5fb2fd0534cd7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8600, "upload_time": "2019-03-14T16:41:01", "url": "https://files.pythonhosted.org/packages/f6/f2/49eb90fbcbe1db7e8a2f41d4d6b8cff5a64cd24800ccddf0bf3271b58ea8/protobuf_compiler-1.0.18-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dff158b3cbcaa89f79b90464c5a23039", "sha256": "533bcbb8f835fc6e0bddc27c66441940491e4548fb7bc52c590f411dcc940929" }, "downloads": -1, "filename": "protobuf_compiler-1.0.18.tar.gz", "has_sig": false, "md5_digest": "dff158b3cbcaa89f79b90464c5a23039", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5281, "upload_time": "2019-03-14T16:41:02", "url": "https://files.pythonhosted.org/packages/fa/d6/908a4c5909b6b896fa54bf8fbd82abdff84b34107ccbc75405367930c9a6/protobuf_compiler-1.0.18.tar.gz" } ], "1.0.19": [ { "comment_text": "", "digests": { "md5": "adde161af6b5ceabec77fa2c0128b37c", "sha256": "4d9ff03cce63cc55fa372a5463536510763f653fc1303319a36523504adc569f" }, "downloads": -1, "filename": "protobuf_compiler-1.0.19-py3-none-any.whl", "has_sig": false, "md5_digest": "adde161af6b5ceabec77fa2c0128b37c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8585, "upload_time": "2019-03-14T22:29:36", "url": "https://files.pythonhosted.org/packages/73/17/bb190bf3fe9393632f8635101120a7cb246b2f6edc165ff439739ab98891/protobuf_compiler-1.0.19-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b74774c9c2faa32970fd0e8fff3db452", "sha256": "0a206a6ebaef1c1dff85f9948a02851d8dea196ff2cede587ff45e7face3ced0" }, "downloads": -1, "filename": "protobuf_compiler-1.0.19.tar.gz", "has_sig": false, "md5_digest": "b74774c9c2faa32970fd0e8fff3db452", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5279, "upload_time": "2019-03-14T22:29:37", "url": "https://files.pythonhosted.org/packages/3d/65/95311432218ad39c9942b548f076b3641a892175bf373b2a126a8fc50852/protobuf_compiler-1.0.19.tar.gz" } ], "1.0.20": [ { "comment_text": "", "digests": { "md5": "946eea4c9e7dc74602f928c5af4a3729", "sha256": "0b80962b856afae18f7200a5debde241ebd1927ce5b9814c70c19e1f8c6d2260" }, "downloads": -1, "filename": "protobuf_compiler-1.0.20-py3-none-any.whl", "has_sig": false, "md5_digest": "946eea4c9e7dc74602f928c5af4a3729", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8600, "upload_time": "2019-04-10T15:30:48", "url": "https://files.pythonhosted.org/packages/bb/d6/eef8da430f8a6df739d9de807db904a7b4c4103cb292f178201ca7e1121d/protobuf_compiler-1.0.20-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c3297721723f4333173b6da8a0f47254", "sha256": "ac8daa7187fb9cac7752008368b79d8d8e44dd1b154423fa7afd227a31d062f6" }, "downloads": -1, "filename": "protobuf_compiler-1.0.20.tar.gz", "has_sig": false, "md5_digest": "c3297721723f4333173b6da8a0f47254", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5296, "upload_time": "2019-04-10T15:30:50", "url": "https://files.pythonhosted.org/packages/8a/51/a3bc5e68c9a25f63ae934d635df59841cf66e76f47b350ea2fe212a9caaa/protobuf_compiler-1.0.20.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "946eea4c9e7dc74602f928c5af4a3729", "sha256": "0b80962b856afae18f7200a5debde241ebd1927ce5b9814c70c19e1f8c6d2260" }, "downloads": -1, "filename": "protobuf_compiler-1.0.20-py3-none-any.whl", "has_sig": false, "md5_digest": "946eea4c9e7dc74602f928c5af4a3729", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8600, "upload_time": "2019-04-10T15:30:48", "url": "https://files.pythonhosted.org/packages/bb/d6/eef8da430f8a6df739d9de807db904a7b4c4103cb292f178201ca7e1121d/protobuf_compiler-1.0.20-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c3297721723f4333173b6da8a0f47254", "sha256": "ac8daa7187fb9cac7752008368b79d8d8e44dd1b154423fa7afd227a31d062f6" }, "downloads": -1, "filename": "protobuf_compiler-1.0.20.tar.gz", "has_sig": false, "md5_digest": "c3297721723f4333173b6da8a0f47254", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5296, "upload_time": "2019-04-10T15:30:50", "url": "https://files.pythonhosted.org/packages/8a/51/a3bc5e68c9a25f63ae934d635df59841cf66e76f47b350ea2fe212a9caaa/protobuf_compiler-1.0.20.tar.gz" } ] }