kafka-schema-registry-admin


Namekafka-schema-registry-admin JSON
Version 0.5.1 PyPI version JSON
download
home_pageNone
SummaryPure HTTP client to manage schemas in Schema Registry
upload_time2024-04-06 18:36:00
maintainerNone
docs_urlNone
authorJohn Preston
requires_python<4.0,>=3.9
licenseApache-2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ===========================
Kafka schema registry admin
===========================

Simple / light HTTP client library (using requests) to manipulate schemas and definitions into Schema Registry.

* Confluent API specification is documented `here <https://docs.confluent.io/platform/current/schema-registry/develop/api.html#overview>`__

* RedPanda API specification is documented `here <https://docs.redpanda.com/current/manage/schema-reg/schema-reg-api/>`__

.. warning::

    RedPanda SR does not have 100% compatibility with Confluent's.
    Confluent Cloud specific endpoints not implemented (and no plans to be).


Usage
======

Very simple example to manipulate the schema registry and its resources.
Every function returns the ``requests.Response`` object to allow you to implement any kind of logic from there,
instead of trying to implement it for you.

Non 2xx HTTP codes raise exceptions which are in the ``kafka_schema_registry_admin.client_wrapper.errors``
More specific exceptions will be created in due course to identify exact exceptions.

.. code-block::

    from kafka_schema_registry_admin import SchemaRegistry

    registry = SchemaRegistry("http://localhost:8081")
    subjects = registry.get_all_subjects().json()

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "kafka-schema-registry-admin",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.9",
    "maintainer_email": null,
    "keywords": null,
    "author": "John Preston",
    "author_email": "john@ews-network.net",
    "download_url": "https://files.pythonhosted.org/packages/7a/9f/4f9fa711adba85d0f91c6784b6500bf239bc768ff5e132f686d392f5cfaf/kafka_schema_registry_admin-0.5.1.tar.gz",
    "platform": null,
    "description": "===========================\nKafka schema registry admin\n===========================\n\nSimple / light HTTP client library (using requests) to manipulate schemas and definitions into Schema Registry.\n\n* Confluent API specification is documented `here <https://docs.confluent.io/platform/current/schema-registry/develop/api.html#overview>`__\n\n* RedPanda API specification is documented `here <https://docs.redpanda.com/current/manage/schema-reg/schema-reg-api/>`__\n\n.. warning::\n\n    RedPanda SR does not have 100% compatibility with Confluent's.\n    Confluent Cloud specific endpoints not implemented (and no plans to be).\n\n\nUsage\n======\n\nVery simple example to manipulate the schema registry and its resources.\nEvery function returns the ``requests.Response`` object to allow you to implement any kind of logic from there,\ninstead of trying to implement it for you.\n\nNon 2xx HTTP codes raise exceptions which are in the ``kafka_schema_registry_admin.client_wrapper.errors``\nMore specific exceptions will be created in due course to identify exact exceptions.\n\n.. code-block::\n\n    from kafka_schema_registry_admin import SchemaRegistry\n\n    registry = SchemaRegistry(\"http://localhost:8081\")\n    subjects = registry.get_all_subjects().json()\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "Pure HTTP client to manage schemas in Schema Registry",
    "version": "0.5.1",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "44fbc767c81aaa1e8cf73c1456d1f6311f87554a6818a0c05c274e943d86c6dc",
                "md5": "373de70f3e3dc1e686ab874a2cd2ed01",
                "sha256": "c32aea702df32527255eeab9e6a22ba765cc72b682c6b0d315e2a50a76181341"
            },
            "downloads": -1,
            "filename": "kafka_schema_registry_admin-0.5.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "373de70f3e3dc1e686ab874a2cd2ed01",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.9",
            "size": 15355,
            "upload_time": "2024-04-06T18:35:58",
            "upload_time_iso_8601": "2024-04-06T18:35:58.359335Z",
            "url": "https://files.pythonhosted.org/packages/44/fb/c767c81aaa1e8cf73c1456d1f6311f87554a6818a0c05c274e943d86c6dc/kafka_schema_registry_admin-0.5.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7a9f4f9fa711adba85d0f91c6784b6500bf239bc768ff5e132f686d392f5cfaf",
                "md5": "ed5a0b8bc4728e71c5bbc440dfef1bc4",
                "sha256": "7fc9fea80f28664c500ebd04c9d65e9c1239f0b4fa49bd7f7c5e119eab7c02dc"
            },
            "downloads": -1,
            "filename": "kafka_schema_registry_admin-0.5.1.tar.gz",
            "has_sig": false,
            "md5_digest": "ed5a0b8bc4728e71c5bbc440dfef1bc4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.9",
            "size": 12383,
            "upload_time": "2024-04-06T18:36:00",
            "upload_time_iso_8601": "2024-04-06T18:36:00.162264Z",
            "url": "https://files.pythonhosted.org/packages/7a/9f/4f9fa711adba85d0f91c6784b6500bf239bc768ff5e132f686d392f5cfaf/kafka_schema_registry_admin-0.5.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-06 18:36:00",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "kafka-schema-registry-admin"
}
        
Elapsed time: 0.21801s