{ "info": { "author": "Adam Jaso", "author_email": "", "bugtrack_url": null, "classifiers": [], "description": "# Cloud Foundry Dropsonde Protocol for Python\n\nCompiled python generated from the Cloud Foundry Dropsonde Protobuf definition files.\n\nThe [Dropsonde Protocol](https://github.com/cloudfoundry/dropsonde-protocol)\nis defined here, and this repo provides \"protoc\" compiled Python and Python3\nmodules.\n\n## Example\n\nThe Standard protobuf files are referenced as follows.\n\n```python\nfrom dropsonde.pb import envelope_pb2\nfrom dropsonde.pb import error_pb2\nfrom dropsonde.pb import http_pb2\nfrom dropsonde.pb import log_pb2\nfrom dropsonde.pb import metric_pb2\nfrom dropsonde.pb import uuid_pb2\n```\n\nThe UUID protobuf type is rather cryptic, so a utility function is included\nfor parsing the type into a UUID formatted string.\n\n```python\n>>> from dropsonde.util import get_uuid_string\n>>> application_guid = {\n... 'low': '12413561682238894606',\n... 'high': '3611542221973970511'\n... }\n>>> application_guid = get_uuid_string(**application_guid)\n>>> print(application_guid)\n0ef23f83-94d4-45ac-e455-014268ec2103\n>>>\n```\n\n## Development\n\nThe `Makefile` provides all core development tasks.\n\n### Install environment\n\n`make install`\n\nThis will\n\n1. clone the Dropsonde protobuf repo\n1. install dependencies for python2\n1. install dependencies for python3\n\n### Refactor and compile the protobuf files\n\n`make compile`\n\nThis will\n\n1. create a copy of the protobuf source files\n1. refactor the \"import\" directives in the source files to match the required python package structure\n1. run \"protoc\" on the refactored source files and output the generated Python code into the \"dropsonde.pb\" python package tree.\n\n### Test\n\n`make test`\n\nThis will\n\n1. run the tests to ensure that imports work\n1. ensure that the UUID conversion tool works\n\n### Clean\n\n`make clean`\n\nThis will\n\n1. remove all the refactored protobuf files\n1. remove the virtualenv environments for python2 and python3\n\n### Package\n\n`make package`\n\nThis will only package the compiled python files using `setup.py`\n\n### Build\n\n`make build`\n\nThis will\n\n1. run the \"clone\" task\n1. run the \"compile\" task\n1. run the \"test\" task\n1. run the \"package\" task\n\n### Deploy\n\n`make deploy`\n\nThis will\n\n1. run the \"clean\" task\n1. run the \"clone\" task\n1. run the \"compile\" task\n1. run the \"test\" task\n1. run the `python setup.py sdist upload` to deploy to PyPI.\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/hsdp/python-dropsonde", "keywords": "", "license": "Apache License Version 2.0", "maintainer": "", "maintainer_email": "", "name": "dropsonde", "package_url": "https://pypi.org/project/dropsonde/", "platform": "", "project_url": "https://pypi.org/project/dropsonde/", "project_urls": { "Homepage": "https://github.com/hsdp/python-dropsonde" }, "release_url": "https://pypi.org/project/dropsonde/0.0.5/", "requires_dist": null, "requires_python": "", "summary": "Compiled python generated from the Cloud Foundry Dropsonde Protobuf definition files", "version": "0.0.5" }, "last_serial": 3943623, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "640ee2677cfe4e2bd4538ed22179c206", "sha256": "994213c550662f712907504eae68cb6dace4380e85c0f1b9cf2479f88bb53cb0" }, "downloads": -1, "filename": "dropsonde-0.0.1.tar.gz", "has_sig": false, "md5_digest": "640ee2677cfe4e2bd4538ed22179c206", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11929, "upload_time": "2018-05-13T04:27:00", "url": "https://files.pythonhosted.org/packages/e8/ba/c9d0d6cf79e27fe777f6970c0b3eda4e6e3e80635945398c71ce74f5d332/dropsonde-0.0.1.tar.gz" } ], "0.0.1a1": [ { "comment_text": "", "digests": { "md5": "f561640caa25c3965cf2414cc07f5e16", "sha256": "c334c2cf1a0d861bc1a49de9492476856d4a9e26ab4e6126f032a473b1aeed54" }, "downloads": -1, "filename": "dropsonde-0.0.1a1.tar.gz", "has_sig": false, "md5_digest": "f561640caa25c3965cf2414cc07f5e16", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12025, "upload_time": "2018-05-13T04:56:44", "url": "https://files.pythonhosted.org/packages/27/24/a9c3f2acfb7327a90fcd33972010aad25a7029daf1df067e8b173ce712e8/dropsonde-0.0.1a1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "4536fbfa04d045a7e56a5d89d664eeaa", "sha256": "36c56ba3f0233ec8fde4617cc97f7753fb5daf2c4a5c5a06222962e5c9e3ec6c" }, "downloads": -1, "filename": "dropsonde-0.0.2.tar.gz", "has_sig": false, "md5_digest": "4536fbfa04d045a7e56a5d89d664eeaa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12029, "upload_time": "2018-05-13T05:04:14", "url": "https://files.pythonhosted.org/packages/70/a9/5e4b12a54914da393f454d0c86cd521b3cd7f9dab7f4f7373b90b1d4d224/dropsonde-0.0.2.tar.gz" } ], "0.0.2a1": [ { "comment_text": "", "digests": { "md5": "12ef04ca6c5717825a2c9dcda25ab0fd", "sha256": "6d57e0c9534dfb0ed68dd4a6cfe7df6cdfc05feb7ae579442eb576b658b26474" }, "downloads": -1, "filename": "dropsonde-0.0.2a1.tar.gz", "has_sig": false, "md5_digest": "12ef04ca6c5717825a2c9dcda25ab0fd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12020, "upload_time": "2018-05-13T05:07:53", "url": "https://files.pythonhosted.org/packages/8f/72/3844c4fded9d846a101b1c6ffecb709b15df646769ae31d3a0084058200d/dropsonde-0.0.2a1.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "cbd11f7333a605142481896d80f77e31", "sha256": "9da950eb3e1a89d9456e8551b49d496ae168921b6a3d1082bd63adafbb002346" }, "downloads": -1, "filename": "dropsonde-0.0.3.tar.gz", "has_sig": false, "md5_digest": "cbd11f7333a605142481896d80f77e31", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12021, "upload_time": "2018-05-13T05:14:58", "url": "https://files.pythonhosted.org/packages/dd/ef/eb7a62433a946e5f015afa484d983ac8cb3f41b77e00e3a3cc1778eb4262/dropsonde-0.0.3.tar.gz" } ], "0.0.3a1": [ { "comment_text": "", "digests": { "md5": "3f74e862578edde055d59ac400a8188d", "sha256": "888ec30d8581ea0cf348dc740c1b27b3176477d3051b35905c658f2dec244496" }, "downloads": -1, "filename": "dropsonde-0.0.3a1.tar.gz", "has_sig": false, "md5_digest": "3f74e862578edde055d59ac400a8188d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12410, "upload_time": "2018-05-14T22:28:42", "url": "https://files.pythonhosted.org/packages/5a/fd/a43e5b9e39d5232b45e2adf1b8cf637e5e2e6afa07975ac1b4d325dd5123/dropsonde-0.0.3a1.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "c0b40689ab68cb2e54da426ccb02f921", "sha256": "0429c08445cc20fbc9382d0245147f12da8edc9ca2ffc1bf6b67367869888c66" }, "downloads": -1, "filename": "dropsonde-0.0.4.tar.gz", "has_sig": false, "md5_digest": "c0b40689ab68cb2e54da426ccb02f921", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12410, "upload_time": "2018-05-14T22:32:30", "url": "https://files.pythonhosted.org/packages/ea/1f/7b6aa9f4dc12ee27f14a73d1a9fb496a1420422674183ce33349d0df2ce1/dropsonde-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "86d14e5d5b1a8068d0bdfa27e009cb25", "sha256": "829f0f963559eb73dc09a36623a59623adaf7e198d2c468a502c42bc5009192e" }, "downloads": -1, "filename": "dropsonde-0.0.5.tar.gz", "has_sig": false, "md5_digest": "86d14e5d5b1a8068d0bdfa27e009cb25", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12421, "upload_time": "2018-06-08T18:07:30", "url": "https://files.pythonhosted.org/packages/56/9e/3e657c4e640bdf91d44c5d037e05cddff2730f4fd62ac542c9b66fffcca7/dropsonde-0.0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "86d14e5d5b1a8068d0bdfa27e009cb25", "sha256": "829f0f963559eb73dc09a36623a59623adaf7e198d2c468a502c42bc5009192e" }, "downloads": -1, "filename": "dropsonde-0.0.5.tar.gz", "has_sig": false, "md5_digest": "86d14e5d5b1a8068d0bdfa27e009cb25", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12421, "upload_time": "2018-06-08T18:07:30", "url": "https://files.pythonhosted.org/packages/56/9e/3e657c4e640bdf91d44c5d037e05cddff2730f4fd62ac542c9b66fffcca7/dropsonde-0.0.5.tar.gz" } ] }