Skip to main content

LCID lookup tool

Project description

# lcid-python

Get LCIDs for BCP 47 tags in Python.

## Usage

  • get(tag: str) -> int (eg: 1033)
  • get_hex4(tag: str) -> str (eg: ‘0409’)
  • get_hex8(tag: str) -> str (eg: ‘00000409’)

All functions return None if nothing found. A rational default is 0 or 0x1000 depending on your use case.

## License

CC0 - see LICENSE.

Project details


Release history Release notifications

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
lcid-1.0.1.tar.gz (6.6 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page