Metadata-Version: 2.0
Name: wlc
Version: 0.8
Summary: A command line utility for Weblate, translation tool with tight version control integration
Home-page: https://weblate.org/
Author: Michal Čihař
Author-email: michal@cihar.com
License: GPLv3+
Download-URL: https://pypi.python.org/pypi/wlc
Keywords: i18n l10n gettext git mercurial translate
Platform: any
Classifier: Development Status :: 4 - Beta
Classifier: Topic :: Software Development :: Internationalization
Classifier: Topic :: Software Development :: Localization
Classifier: Topic :: Utilities
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Requires-Dist: pyxdg

wlc
===

`Weblate`_ commandline client using `Weblate's REST API`_.

.. image:: https://travis-ci.org/WeblateOrg/wlc.svg?branch=master
    :target: https://travis-ci.org/WeblateOrg/wlc
    :alt: Build Status

.. image:: https://ci.appveyor.com/api/projects/status/e9a8n9qhvd6ulibw/branch/master?svg=true
    :target: https://ci.appveyor.com/project/nijel/wlc/branch/master
    :alt: Build status

.. image:: https://landscape.io/github/WeblateOrg/wlc/master/landscape.svg?style=flat
    :target: https://landscape.io/github/WeblateOrg/wlc/master
    :alt: Code Health

.. image:: http://codecov.io/github/WeblateOrg/wlc/coverage.svg?branch=master
    :target: http://codecov.io/github/WeblateOrg/wlc?branch=master
    :alt: Code coverage

.. image:: https://img.shields.io/pypi/dm/wlc.svg
    :target: https://pypi.python.org/pypi/wlc
    :alt: PyPI package

.. image:: https://hosted.weblate.org/widgets/weblate/-/svg-badge.svg
    :alt: Translation status
    :target: https://hosted.weblate.org/engage/weblate/?utm_source=widget

.. image:: https://img.shields.io/badge/docs-latest-brightgreen.svg?style=flat
    :alt: Documentation
    :target: https://docs.weblate.org/en/latest/wlc.html

Installation
------------

Install using pip:

.. code-block:: sh

    pip3 install wlc

Sources are available at <https://github.com/WeblateOrg/wlc>.

Usage
-----

Please see `Weblate documentation`_ for more complete documentation.

Command line usage:

.. code-block:: sh

    wlc list-projects
    wlc list-components
    wlc list-translations
    wlc list-languages
    wlc show
    wlc ls
    wlc commit
    wlc push
    wlc pull
    wlc repo
    wlc stats
    wlc lock
    wlc unlock
    wlc lock-status
    wlc download

Configuration is stored in ``~/.config/weblate``:

.. code-block:: ini

    [weblate]
    url = https://hosted.weblate.org/api/

    [keys]
    https://hosted.weblate.org/api/ = APIKEY

.. _Weblate's REST API: https://docs.weblate.org/en/latest/api.html
.. _Weblate documentation: https://docs.weblate.org/en/latest/wlc.html
.. _Weblate: https://weblate.org/


