im-protobuf


Nameim-protobuf JSON
Version 7.1.0 PyPI version JSON
download
home_pagehttps://github.com/informaticsmatters/squonk2-protobuf
SummaryCross-product protocol buffers
upload_time2024-10-24 10:26:07
maintainerNone
docs_urlNone
authorAlan Christie
requires_pythonNone
licenseMIT
keywords protobuf protoc messaging
VCS
bugtrack_url
requirements protobuf
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Informatics Matters cross-product protocol buffers
==================================================

.. image:: https://badge.fury.io/py/im-protobuf.svg
   :target: https://badge.fury.io/py/im-protobuf
   :alt: PyPI package (latest)

.. image:: https://github.com/InformaticsMatters/squonk2-protobuf/actions/workflows/build.yaml/badge.svg
   :target: https://github.com/InformaticsMatters/squonk2-protobuf/actions/workflows/build.yaml
   :alt: Build

.. image:: https://github.com/InformaticsMatters/squonk2-protobuf/actions/workflows/publish.yaml/badge.svg
   :target: https://github.com/InformaticsMatters/squonk2-protobuf/actions/workflows/publish.yaml
   :alt: Publish

A library of python bindings for `protocol buffer`_ definitions used by one or
more products in the Informatics Matters product suite.

The protocol buffers are used across multiple components and languages.
At the outset we anticipate supporting Python, and Java. The root
of all packages is ``src/main`` as required by build tools like ``Gradle``.
From there the directory is ``proto/informaticsmatters`` followed by component
directories or a ``common`` directory. An example protocol message
file might be::

    src/main/proto/informaticsmatters/protobuf/datamanager/pod_message.proto

When transmitted on a topic-based messaging service the topic is
the lower-case dot-separated message name relative to ``informaticsmatters``
(excluding the ``Message`` suffix), e.g. ``datamanager.pod``.

.. _Protocol Buffer: https://developers.google.com/protocol-buffers/docs/proto3

Installation (Python)
=====================

The protocol buffers are published on `PyPI`_ and can be installed from
there::

    pip install im-protobuf

.. _PyPI: https://pypi.org/project/im-protobuf

Once installed you can access the protocol buffers with::

    >>> from informaticsmatters.protobuf.datamanager.pod_message_pb2 import PodMessage
    >>> pm: PodMessage = PodMessage()

Get in touch
============

- Report bugs, suggest features or view the source code `on GitHub`_.

.. _on GitHub: https://github.com/informaticsmatters/squonk2-protobuf

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/informaticsmatters/squonk2-protobuf",
    "name": "im-protobuf",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "protobuf protoc messaging",
    "author": "Alan Christie",
    "author_email": "achristie@informaticsmatters.com",
    "download_url": "https://files.pythonhosted.org/packages/75/df/1649d1773f1230b4ee39ded9b271a108992276484592c9b0195698896892/im_protobuf-7.1.0.tar.gz",
    "platform": "any",
    "description": "Informatics Matters cross-product protocol buffers\n==================================================\n\n.. image:: https://badge.fury.io/py/im-protobuf.svg\n   :target: https://badge.fury.io/py/im-protobuf\n   :alt: PyPI package (latest)\n\n.. image:: https://github.com/InformaticsMatters/squonk2-protobuf/actions/workflows/build.yaml/badge.svg\n   :target: https://github.com/InformaticsMatters/squonk2-protobuf/actions/workflows/build.yaml\n   :alt: Build\n\n.. image:: https://github.com/InformaticsMatters/squonk2-protobuf/actions/workflows/publish.yaml/badge.svg\n   :target: https://github.com/InformaticsMatters/squonk2-protobuf/actions/workflows/publish.yaml\n   :alt: Publish\n\nA library of python bindings for `protocol buffer`_ definitions used by one or\nmore products in the Informatics Matters product suite.\n\nThe protocol buffers are used across multiple components and languages.\nAt the outset we anticipate supporting Python, and Java. The root\nof all packages is ``src/main`` as required by build tools like ``Gradle``.\nFrom there the directory is ``proto/informaticsmatters`` followed by component\ndirectories or a ``common`` directory. An example protocol message\nfile might be::\n\n    src/main/proto/informaticsmatters/protobuf/datamanager/pod_message.proto\n\nWhen transmitted on a topic-based messaging service the topic is\nthe lower-case dot-separated message name relative to ``informaticsmatters``\n(excluding the ``Message`` suffix), e.g. ``datamanager.pod``.\n\n.. _Protocol Buffer: https://developers.google.com/protocol-buffers/docs/proto3\n\nInstallation (Python)\n=====================\n\nThe protocol buffers are published on `PyPI`_ and can be installed from\nthere::\n\n    pip install im-protobuf\n\n.. _PyPI: https://pypi.org/project/im-protobuf\n\nOnce installed you can access the protocol buffers with::\n\n    >>> from informaticsmatters.protobuf.datamanager.pod_message_pb2 import PodMessage\n    >>> pm: PodMessage = PodMessage()\n\nGet in touch\n============\n\n- Report bugs, suggest features or view the source code `on GitHub`_.\n\n.. _on GitHub: https://github.com/informaticsmatters/squonk2-protobuf\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Cross-product protocol buffers",
    "version": "7.1.0",
    "project_urls": {
        "Homepage": "https://github.com/informaticsmatters/squonk2-protobuf"
    },
    "split_keywords": [
        "protobuf",
        "protoc",
        "messaging"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b595fa8dfeb8bd77345f29b97d82f295b12740ca26e64f55ad6ab72a18fac9b7",
                "md5": "a3254ef82777277c70cd2af3381da4dd",
                "sha256": "22f41867f9fa60c50b7a0e2c6ab0524d1d43ff57e4f44c5845ace6d816375f8d"
            },
            "downloads": -1,
            "filename": "im_protobuf-7.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a3254ef82777277c70cd2af3381da4dd",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 10731,
            "upload_time": "2024-10-24T10:26:07",
            "upload_time_iso_8601": "2024-10-24T10:26:07.102054Z",
            "url": "https://files.pythonhosted.org/packages/b5/95/fa8dfeb8bd77345f29b97d82f295b12740ca26e64f55ad6ab72a18fac9b7/im_protobuf-7.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "75df1649d1773f1230b4ee39ded9b271a108992276484592c9b0195698896892",
                "md5": "abb14bdd9e30ab73bff90567f1b4023b",
                "sha256": "d94b473e02b329fa0aba53cd29ccf0705cc1a631618317eeea1efcdd6f262c59"
            },
            "downloads": -1,
            "filename": "im_protobuf-7.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "abb14bdd9e30ab73bff90567f1b4023b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 5505,
            "upload_time": "2024-10-24T10:26:07",
            "upload_time_iso_8601": "2024-10-24T10:26:07.959400Z",
            "url": "https://files.pythonhosted.org/packages/75/df/1649d1773f1230b4ee39ded9b271a108992276484592c9b0195698896892/im_protobuf-7.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-24 10:26:07",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "informaticsmatters",
    "github_project": "squonk2-protobuf",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "protobuf",
            "specs": [
                [
                    "<",
                    "5.0"
                ],
                [
                    ">=",
                    "4.25"
                ]
            ]
        }
    ],
    "lcname": "im-protobuf"
}
        
Elapsed time: 0.57467s