Metadata-Version: 2.4
Name: urban-json-phone
Version: 0.1.0
Summary: Plugin urban-json : validation de numéros de téléphone (phoneisvalid).
Author-email: Gael Beard <gaelgael5@gmail.com>
License-Expression: Apache-2.0
Project-URL: Homepage, https://github.com/gaelgael5/Jslt
Project-URL: Repository, https://github.com/gaelgael5/Jslt
Keywords: json,transform,template,jslt,phone,plugin
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Text Processing :: Markup
Classifier: Typing :: Typed
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: urban-json
Requires-Dist: phonenumbers>=8.13
Dynamic: license-file

# urban-json-phone

Plugin [urban-json](https://github.com/gaelgael5/Jslt) : **validation de numéros de
téléphone** via `phoneisvalid(numéro, région)` (port du .NET, même bibliothèque
libphonenumber grâce à `phonenumbers`).

```bash
pip install urban-json-phone
```

- `phoneisvalid("+33 6 12 34 56 78", "")` → `true` (international : `+` ou `00`) ;
- `phoneisvalid("06 12 34 56 78", "FR")` → `true` (national, lu avec la région ISO) ;
- numéro illisible, vide ou national sans région → `false`.
