Skip to content

datagouv/fr-format

Repository files navigation

Fr-format

A collection of validators to check data against french formats.

Installation

The package is published on PyPI. Install with :

pip install frformat

Usage

from frformat import Departement

print(Departement.description())
Departement.is_valid("Haute-Vienne")
# True
Departement.is_valid("Canyon Cosmo")
# False

For better performance on big amounts of data, use in conjunction with numpy.

Available formats

Check out this file for a list of available formats.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages