Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lotrekagency/emojiflag

🇮🇹 Emoji country flags for language codes and LCID's
https://github.com/lotrekagency/emojiflag

emoji flag i18n language locale

Last synced: 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# Emojiflag 🏳️‍🌈 🇺🇸 🇪🇸 🇮🇹
[![Open Source Love png3](https://badges.frapsoft.com/os/v3/open-source.png?v=103)](https://github.com/ellerbrock/open-source-badges/)
[![Latest Version](https://img.shields.io/pypi/v/emojiflag.svg)](https://pypi.python.org/pypi/emojiflag/)
[![codecov](https://codecov.io/gh/lotrekagency/emojiflag/branch/master/graph/badge.svg)](https://codecov.io/gh/lotrekagency/emojiflag)
[![Build Status](https://travis-ci.org/lotrekagency/emojiflag.svg?branch=master)](https://travis-ci.org/lotrekagency/emojiflag)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/lotrekagency/emojiflag/blob/master/LICENSE)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6febe99f004349029b9aaa285f9db555)](https://www.codacy.com/app/Owanesh/emojiflag?utm_source=github.com&utm_medium=referral&utm_content=lotrekagency/emojiflag&utm_campaign=Badge_Grade)

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

pip install emojiflag

### Use it ✌🏻
```py
import emojiflag

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

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

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

```

### Test it 💪🏻
```sh
pip install -r requirements-dev.txt

pytest -s --cov emojiflag
```
Be the change you want to see
```sh
cd tests
python test_doc.py -v
```

### Credits

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