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

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.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

emojiflag-1.0.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for emojiflag-1.0.1.tar.gz
Algorithm Hash digest
SHA256 cf6ca491fbdd537b24f93e0b6ba3667795556b14a6ed379e100d63f36eb75519
MD5 42af9fa3f216d91e4ae46e2c36562e34
BLAKE2b-256 a54741a821512261e66359764b904b5cab338383349d532c991e650be9ff9458

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for emojiflag-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4ceaf06f6764a41f4b1f3555d324a4d2fa28913a43eafdfb294e2fcdd6cc4ca1
MD5 13bfe8894553de68b6373295ce1b4858
BLAKE2b-256 e38316fbd995ae1b2484ee4abe366e8892b64e6dda9ab9701b3a747d05ea8160

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