.. _api:

polib API
=========

The ``pofile`` function
-----------------------

.. autofunction:: polib.pofile


The ``mofile`` function
-----------------------

.. autofunction:: polib.mofile


The ``detect_encoding`` function
--------------------------------

.. autofunction:: polib.detect_encoding


The ``escape`` function
-----------------------

.. autofunction:: polib.escape


The ``unescape`` function
-------------------------

.. autofunction:: polib.unescape


The ``POFile`` class
--------------------

.. autoclass:: polib.POFile
    :members:


The ``MOFile`` class
--------------------

.. autoclass:: polib.MOFile
    :members:


The ``POEntry`` class
---------------------

.. autoclass:: polib.POEntry
    :members:


The ``MOEntry`` class
---------------------

.. autoclass:: polib.MOEntry
    :members:

