Skip to main content

Emoji country flags for language codes and LCID's

Project description

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

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

Credits

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

emojiflag-1.0.2.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

emojiflag-1.0.2-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file emojiflag-1.0.2.tar.gz.

File metadata

  • Download URL: emojiflag-1.0.2.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.4

File hashes

Hashes for emojiflag-1.0.2.tar.gz
Algorithm Hash digest
SHA256 a8f4cecd496e258a856833409105e4f7eaa30966ed87644adc98d3f21c9a4f77
MD5 a2ab1844429ae647bf7adacbee6b8d06
BLAKE2b-256 65c39a360965c520a316ce70d0614b3036bc84ced71c9f3d7ca8e1c75fb0f198

See more details on using hashes here.

File details

Details for the file emojiflag-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: emojiflag-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.4

File hashes

Hashes for emojiflag-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5f45756359a20d6cdf915047264e976fc16e70e835563f342c8e6acb2adac0cf
MD5 bf6db8e2558fbae90676509b7af4d626
BLAKE2b-256 c090012d3b9ddb80098c92dcc9446706389fcb2c6187ec80fa3a49d2a2c7a841

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page