Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/lotrekagency/emojiflag
- Owner: lotrekagency
- License: mit
- Created: 2018-10-20T14:47:29.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-07-15T18:41:02.000Z (over 2 years ago)
- Last Synced: 2024-09-17T04:10:19.863Z (4 months ago)
- Topics: emoji, flag, i18n, language, locale
- Language: Python
- Homepage:
- Size: 24.4 KB
- Stars: 5
- Watchers: 3
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.
### Installpip install emojiflag
### Use it ✌🏻
```py
import emojiflagemojiflag.get('nl')
>>> 🇳🇱emojiflag.get('en_US')
>>> 🇺🇸emojiflag.get('it')
>>> 🇮🇹```
### Test it 💪🏻
```sh
pip install -r requirements-dev.txtpytest -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/