libphonenumber: Parsing, formatting, and validating international phone numbers

[ data, library, mit ] [ Propose Tags ]

This package provides bindings for the C++ version of the libphonenumber library. The bindings currently do not include AsYouTypeFormatter and ShortNumberInfo. The C++ library must be of version >= 8.7.0.

The interface largely resembles that of the original unified C++, Java, and JavaScript version of the library, with some minor changes to make the interface more Haskell-like.

The provided functions are pure, under the assumption that we are the only user of the C++ library, i.e. that no one else has installed a global logger which could observe side-effects from library calls.

The underlying library internally uses UTF-8 encoded byte strings. To avoid decoding overhead where it is unnecessary, and to avoid a dependency on text, we use ByteString throughout the library instead of Data.Text.Text.

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.1.0, 0.1.2.0, 0.1.3.0
Dependencies base (>=4.12 && <4.20), bytestring (>=0.10.8 && <0.13), containers (>=0.6.0 && <0.8), deepseq (>=1.4.4 && <1.6), system-cxx-std-lib, transformers (>=0.5.5 && <0.7) [details]
License MIT
Copyright 2023 Typeable
Author Typeable
Maintainer mniip@typeable.io
Category Data
Home page https://github.com/typeable/libphonenumber/
Source repo head: git clone https://github.com/typeable/libphonenumber/
Uploaded by mniip at 2023-12-20T15:26:29Z
Distributions
Downloads 320 total (15 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]