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 flags.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

emoji-flags-0.1.0.tar.gz (6.4 kB view details)

Uploaded Source

File details

Details for the file emoji-flags-0.1.0.tar.gz.

File metadata

  • Download URL: emoji-flags-0.1.0.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for emoji-flags-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f368b3b2abb0011800cec9c07510fe658c97849e18779f3f2ba0b0b7cb2978e1
MD5 e4e10853c3918b8f959f735701985b76
BLAKE2b-256 f55ff9ac96caaa638f0f39c0c8fab28c2575e2c9b7b29f629005dab4cf0d76f1

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

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