Giter VIP home page Giter VIP logo

fr-format's Introduction

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.

fr-format's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

fr-format's Issues

Utiliser une licence permissive ?

Le recours à une licence à réciprocité date de l'époque où beta.gouv.fr conseillait cela : depuis 2019 (de mémoire instable), nous avons vu avec la direction juridique qu'il fallait choisir par défaut une licence permissive. Pour ce dépôt, peut-être qu'une licence MIT ou Apache 2.0 fait l'affaire ?

A ta disposition s'il faut plus d'éclairages.

Les options ne sont pas testées disjointement

Après l'ajout des "options" comme paramètre pour valider une valeur donnée, les tests portent uniquement sur des cas où les options sont soit toutes définies à "False" soit toutes à "True". Il manque des tests pour lesquels les options sont testées individuellement, indépendamment les unes des autres.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.