Metadata-Version: 2.1
Name: language-tags
Version: 1.2.0
Summary: This project is a Python version of the language-tags Javascript project.
Home-page: https://github.com/OnroerendErfgoed/language-tags
Author: Flanders Heritage Agency
Author-email: ict@onroerenderfgoed.be
License: MIT
Platform: any
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: License :: OSI Approved :: MIT License
Description-Content-Type: text/x-rst
License-File: LICENSE

IANA Language Tags for Python
=============================

.. image:: https://badge.fury.io/py/language-tags.png
        :target: http://badge.fury.io/py/language-tags
.. image:: https://app.travis-ci.com/OnroerendErfgoed/language-tags.png?branch=develop
        :target: https://app.travis-ci.com/OnroerendErfgoed/language-tags
.. image:: https://coveralls.io/repos/OnroerendErfgoed/language-tags/badge.png
        :target: https://coveralls.io/r/OnroerendErfgoed/language-tags
.. image:: https://readthedocs.org/projects/language-tags/badge/?version=latest
        :target: https://readthedocs.org/projects/language-tags/?badge=latest

This Python API offers a way to validate and lookup languages tags.

Standard
--------

It is based on `BCP 47 <http://tools.ietf.org/html/bcp47>`_ (`RFC 5646 <http://tools.ietf.org/html/rfc5646>`_) and the latest `IANA language subtag registry <http://www.iana.org/assignments/language-subtag-registry>`_.

This project will be updated as the standards change.

Language-tags 1.0.0 only supports Python 3, for Python 2 support, please use language-tags 0.5.0.

JSON data
---------

See the `language-subtag-registry <https://github.com/mattcg/language-subtag-registry>`_ project for the underlying JSON data.

Javascript version
------------------

This project is a Python version of the `language-tags <https://github.com/mattcg/language-tags>`_ Javascript project.


