.. _bindings python3 loading repositories:

Loading repositories
====================

These tutorials are follow-ups to :ref:`bindings python3 creating and configuring a session`, you
can prepend it directly for a functional piece of code.

Load repositories from system configuration files
-------------------------------------------------

.. literalinclude:: ../../tests/bindings/python3/repo/load_system_repos.py
    :language: py
    :linenos:


Load a custom repository
------------------------

.. literalinclude:: ../../tests/bindings/python3/repo/load_repo.py
    :language: py
    :linenos:
