cobra.io.web.bigg_models_repository
===================================

.. py:module:: cobra.io.web.bigg_models_repository

.. autoapi-nested-parse::

   Provide a concrete implementation of the BioModels repository interface.



Classes
-------

.. autoapisummary::

   cobra.io.web.bigg_models_repository.BiGGModels


Module Contents
---------------

.. py:class:: BiGGModels(**kwargs)

   Bases: :py:obj:`cobra.io.web.abstract_model_repository.AbstractModelRepository`


   Define a concrete implementation of the BiGG Models repository.

   .. attribute:: name

      The name of the BiGG Models repository.

      :type: str


   .. py:attribute:: name
      :type:  str
      :value: 'BiGG Models'



   .. py:method:: get_sbml(model_id: str) -> bytes

      Attempt to download an SBML document from the repository.

      :param model_id: The identifier of the desired metabolic model. This is typically repository
                       specific.
      :type model_id: str

      :returns: A gzip-compressed, UTF-8 encoded SBML document.
      :rtype: bytes

      :raises httpx.HTTPError: In case there are any connection problems.



