Skip to main content

This is a Python package that takes the ISO 3166-1: internationally recognized two-letter country code, and returns the country’s flag emoji and is inspired by the Node version by Matias Singers Emoji Flags.

Usage

>>> from emojiflags.lookup import lookup
>>> lookup('DE')
'🇩🇪'

Download files

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

Source Distribution

emojiflags-0.1.1.tar.gz (6.6 kB view details)

Uploaded Source

File details

Details for the file emojiflags-0.1.1.tar.gz.

File metadata

  • Download URL: emojiflags-0.1.1.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for emojiflags-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7641f0f55080e9e8ad83519561ade715c5d95f2603bc190532a567085b1c2e65
MD5 c3a69b539105c85cc6efe9e037d26134
BLAKE2b-256 1c3f6483ac57c92c0790e854bf1649f2bfb2c94f6da8de6e144fda3a20ce3a39

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 file

0.1.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page