/emojiflag

🇮🇹 Emoji country flags for language codes and LCID's

Primary LanguagePythonMIT LicenseMIT

Emojiflag 🏳️‍🌈 🇺🇸 🇪🇸 🇮🇹

Open Source Love png3 Latest Version codecov Build Status License: MIT Codacy Badge


Introduction

Here is a program that helps you to find out the flags related to its country.

Install

pip install emojiflag

Use it ✌🏻

import emojiflag

emojiflag.get('nl')
>>> 🇳🇱

emojiflag.get('en_US')
>>> 🇺🇸

emojiflag.get('it')
>>> 🇮🇹

Test it 💪🏻

pip install -r requirements-dev.txt

pytest -s --cov emojiflag

Be the change you want to see

cd tests
python test_doc.py -v

Credits

https://schinckel.net/2015/10/29/unicode-flags-in-python/