Client Bindings ================================================================================ .. include:: external_references.rst Python Client -------------------------------------------------------------------------------- The `pulp-deb-client package`_ on PyPI provides bindings for all ``pulp_deb`` :ref:`REST API ` endpoints. It is currently published daily and with every RC. The `pulpcore-client package`_ on PyPI provides bindings for all pulpcore :ref:`REST API ` endpoints. It is currently published daily and with every RC. Ruby Client -------------------------------------------------------------------------------- The `pulp_deb_client Ruby Gem`_ on rubygems.org provides bindings for all ``pulp_deb`` :ref:`REST API ` endpoints. It is currently published daily and with every RC. The `pulpcore_client Ruby Gem`_ on rubygems.org provides bindings for all pulpcore :ref:`REST API ` endpoints. It is currently published daily and with every RC. Client in a Language of Your Choice -------------------------------------------------------------------------------- A client can be generated using Pulp's OpenAPI schema and any of the available `OpenAPI generators`_. Generating a client is a two step process: 1) Download the OpenAPI schema for pulpcore and all installed plugins: .. code-block:: bash curl -o api.json http://:24817/pulp/api/v3/docs/api.json The OpenAPI schema for a specific plugin can be downloaded by specifying the plugin's module name as a GET parameter. For example for ``pulp_deb`` only endpoints use a query like this: .. code-block:: bash curl -o api.json http://:24817/pulp/api/v3/docs/api.json?plugin=pulp_deb 2) Generate a client using OpenAPI generator: The schema can then be used as input to the ``openapi-generator-cli``. See `try OpenAPI generator`_ for documentation on getting started.