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


Download files

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

Files for lcid, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size lcid-1.0.1.tar.gz (6.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page