iso639
iso639 copied to clipboard
ISO 639 library for Python
``` Traceback (most recent call last): File "C:\Users\wajah\Documents\Projects\practice\iso32.py", line 4, in print(languages.get(alpha2="fil").name) File "C:\Users\wajah\Documents\Projects\practice\venv\lib\site-packages\iso639\iso639.py", line 265, in get return getattr(self, key)[value] KeyError: 'fil' ```
At least `pkg_resources` has been removed in 3.12, making this library not compatible with this new Python version. I will propose a PR, please assign me this issue if you...
OpenBSD relies on regression testing for ports and identifying dependency breakages. Having the test suite automatically rolled into the PyPI tarball would make this easier.
``` tests/tests.py 115: self.assertIsInstance(languages, collections.Iterable) 116: self.assertIsInstance(iter(languages), collections.Iterator) ```