Package Details: python-langcodes 3.3.0-1

Git Clone URL: https://aur.archlinux.org/python-langcodes.git (read-only, click to copy)
Package Base: python-langcodes
Description: A toolkit for working with and comparing the standardized codes for languages
Upstream URL: https://github.com/LuminosoInsight/langcodes
Keywords: langcodes python
Licenses: Apache
Submitter: PumpkinCheshire
Maintainer: PumpkinCheshire
Last Packager: PumpkinCheshire
Votes: 3
Popularity: 0.48
First Submitted: 2020-10-05 11:19 (UTC)
Last Updated: 2021-11-16 07:02 (UTC)

Latest Comments

bergentroll commented on 2024-03-29 10:56 (UTC)

python-language-data would be an optional dependency.

lucaswerkmeister commented on 2020-11-27 01:18 (UTC)

After installing this package, I get an error when importing it:

$ python -c 'import langcodes'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3.8/site-packages/langcodes/__init__.py", line 15, in <module>
    from langcodes.names import code_to_names, name_to_code
  File "/usr/lib/python3.8/site-packages/langcodes/names.py", line 2, in <module>
    import marisa_trie
ModuleNotFoundError: No module named 'marisa_trie'

I assume the package should declare a dependency on https://aur.archlinux.org/packages/python-marisa-trie. (After installing it manually, the import works.)