Skip to main content

Unicode properties of codepoints.

Project description

Summary

This module reports the Unicode properties of codepoints, beyond what Python’s unicodedata module provides.

Unicode

This module supports Unicode 10.0.

Examples

>>> import uniprop
>>> uniprop.script('A')
'Latin'
>>> uniprop.script('\N{GREEK SMALL LETTER ALPHA}')
'Greek'
>>> uniprop.block('A')
'Basic_Latin'
>>> uniprop.block('\N{GREEK SMALL LETTER ALPHA}')
'Greek_And_Coptic'
>>> uniprop.numeric_value('\N{VULGAR FRACTION ONE THIRD}')
'1/3'
>>> uniprop.numeric_value('A')
'NaN'
>>> uniprop.numeric_type('\N{VULGAR FRACTION ONE THIRD}')
'Numeric'
>>> uniprop.numeric_type('A')
'None'

Please note that all of the results are strings. This differs from the unicodedata module where numeric_value returns a float.

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

uniprop-1.3.tar.gz (115.5 kB view details)

Uploaded Source

Built Distributions

uniprop-1.3-cp37-none-win_amd64.whl (82.4 kB view details)

Uploaded CPython 3.7Windows x86-64

uniprop-1.3-cp37-none-win32.whl (80.4 kB view details)

Uploaded CPython 3.7Windows x86

uniprop-1.3-cp36-none-win_amd64.whl (82.4 kB view details)

Uploaded CPython 3.6Windows x86-64

uniprop-1.3-cp36-none-win32.whl (80.5 kB view details)

Uploaded CPython 3.6Windows x86

uniprop-1.3-cp35-none-win_amd64.whl (82.4 kB view details)

Uploaded CPython 3.5Windows x86-64

uniprop-1.3-cp35-none-win32.whl (80.5 kB view details)

Uploaded CPython 3.5Windows x86

uniprop-1.3-cp34-none-win_amd64.whl (82.4 kB view details)

Uploaded CPython 3.4Windows x86-64

uniprop-1.3-cp34-none-win32.whl (80.5 kB view details)

Uploaded CPython 3.4Windows x86

File details

Details for the file uniprop-1.3.tar.gz.

File metadata

  • Download URL: uniprop-1.3.tar.gz
  • Upload date:
  • Size: 115.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for uniprop-1.3.tar.gz
Algorithm Hash digest
SHA256 7ccff5a27c1be505db9e97b796613d6bbb0fcb31ce85bcce32a73b573ec5838b
MD5 01837ea76c710b7411dde5eb3900a330
BLAKE2b-256 c207c6b27aa39159ca9d60409a20d2428dcda68ff868d282e9b1187a3a9cd8d3

See more details on using hashes here.

File details

Details for the file uniprop-1.3-cp37-none-win_amd64.whl.

File metadata

File hashes

Hashes for uniprop-1.3-cp37-none-win_amd64.whl
Algorithm Hash digest
SHA256 f45b13d89202dbb435c27e32bc838a916718414ea4117e202370c4de821b0475
MD5 5b1ea45868284b0265f4e9ee591e98be
BLAKE2b-256 709cc8db3becd723039749f1b8b7f456c1aa9c0c6fb52b5759fdb60966c21254

See more details on using hashes here.

File details

Details for the file uniprop-1.3-cp37-none-win32.whl.

File metadata

  • Download URL: uniprop-1.3-cp37-none-win32.whl
  • Upload date:
  • Size: 80.4 kB
  • Tags: CPython 3.7, Windows x86
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for uniprop-1.3-cp37-none-win32.whl
Algorithm Hash digest
SHA256 2807e4e2c1b9b4ae34e77ca9cd96484b20a1d83a2cff57986af4c4efafd41295
MD5 f335025a12671a2ab843545a0246b8e4
BLAKE2b-256 57e3892fc64df02f95742ac603bc6dda6fc5ad5167947f838dad583c18b0d53c

See more details on using hashes here.

File details

Details for the file uniprop-1.3-cp36-none-win_amd64.whl.

File metadata

File hashes

Hashes for uniprop-1.3-cp36-none-win_amd64.whl
Algorithm Hash digest
SHA256 1c91cbdb838e6481f5247ab919e99d6f63bc84b75fd72c9b15ff9510e771658b
MD5 96492e812b1cace47f52ae0c9da3769f
BLAKE2b-256 a214f3af7a48b0be47e9f44acd84b482e49bd072a5596b48a79985dc7514c96f

See more details on using hashes here.

File details

Details for the file uniprop-1.3-cp36-none-win32.whl.

File metadata

  • Download URL: uniprop-1.3-cp36-none-win32.whl
  • Upload date:
  • Size: 80.5 kB
  • Tags: CPython 3.6, Windows x86
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for uniprop-1.3-cp36-none-win32.whl
Algorithm Hash digest
SHA256 6ed8e438f9247f4cb45bce5558cabf9efe9bdc8e6abb1c9cafe962a6e1b21fdc
MD5 146f10e0a5d56b00cf60ba2b56981a22
BLAKE2b-256 2f2bf5b63ca5d30d52e678c2e8f80fd24c2930f93c0ab4d30fccdc74e2d638a8

See more details on using hashes here.

File details

Details for the file uniprop-1.3-cp35-none-win_amd64.whl.

File metadata

File hashes

Hashes for uniprop-1.3-cp35-none-win_amd64.whl
Algorithm Hash digest
SHA256 c9841237b8300e38cb791c45661c33a254ebce22db7f22bf4d3086c7aab46797
MD5 6d0be54cebba00964ff26954a59cb4a4
BLAKE2b-256 d3d01e533bd77eb5e2f403a0c1a219324e584ea50b07775d8491ef41a6049d20

See more details on using hashes here.

File details

Details for the file uniprop-1.3-cp35-none-win32.whl.

File metadata

  • Download URL: uniprop-1.3-cp35-none-win32.whl
  • Upload date:
  • Size: 80.5 kB
  • Tags: CPython 3.5, Windows x86
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for uniprop-1.3-cp35-none-win32.whl
Algorithm Hash digest
SHA256 76694071775e37590cdb7465ec94769aef25625ccc38b32799552813af36260d
MD5 ce84916c267dcf45b3051f571a9c64be
BLAKE2b-256 149013afa8b24a2dd6acccfda7f0169a59779fd449453575e62d89888672c252

See more details on using hashes here.

File details

Details for the file uniprop-1.3-cp34-none-win_amd64.whl.

File metadata

File hashes

Hashes for uniprop-1.3-cp34-none-win_amd64.whl
Algorithm Hash digest
SHA256 c11f78b1284de7e87f160d43f4719a4641f57d8a78e4ff299ba03f2449631007
MD5 65843b024e2aa4036e0f58691efb35fa
BLAKE2b-256 fef7360d88e310fe225d685a242f2ad06a83a1655cd25f5908b41038d9a38ab3

See more details on using hashes here.

File details

Details for the file uniprop-1.3-cp34-none-win32.whl.

File metadata

  • Download URL: uniprop-1.3-cp34-none-win32.whl
  • Upload date:
  • Size: 80.5 kB
  • Tags: CPython 3.4, Windows x86
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for uniprop-1.3-cp34-none-win32.whl
Algorithm Hash digest
SHA256 ea64348bf5a203a221fa6158363e4ade5df44fe9f246a2fb64d7eff7adeeec84
MD5 2a4f36a5b40178247541e6ba274206a7
BLAKE2b-256 b80b2751e51b76e3e13d6fd52deba24c79535571f30bbf110d4c8468bf83301e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page