insee_number_translator

command module
v1.3.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2023 License: Unlicense Imports: 4 Imported by: 0

README

INSEE number translator (Français)

(English below) Extrait les données des numéros INSEE (numéro de sécurité sociale française).

Le numéro de sécurité sociale français est signifiant. Cela veut dire que ce n'est pas un numéro aléatoire, il porte des informations.

Commencer

Utiliser un programme prêt à l'emploi

Rendez-vous sur la dernière version et téléchargez le fichier correspondant à votre système d'exploitation et à votre architecture.
Si vous ne savez pas de quoi il s'agit, essayez d'abord amd64 puis 386 si le premier ne fonctionne pas.
Pour macOS, utilisez le fichier darwin.

Ensuite, utilisez la ligne de commande pour exécuter le fichier :

./insee 269059913116714 168127982980507 299122A00498723 299129742398791 144089943287340

Rassurez-vous, ce programme ne transmet aucune information sur le réseau. Toutes les données nécessaires à son fonctionnement sont comprises dans le fichier que vous venez de télécharger.
Votre numéro de sécurité sociale ne quitte pas votre ordinateur.

Depuis les sources

Requiert les outils go (https://golang.org/).

Exécution directe
go run . 269059913116714 168127982980507 299122A00498723 299129742398791 144089943287340
Compilation et installation
go install
insee_number_translator 269059913116714 168127982980507 299122A00498723 299129742398791 144089943287340

INSEE number translator (English)

Extract data from INSEE number (France).

The french social security number is significant. That means it's not a random number, it bears information.

Getting started

Using a pre-built binary

Go to the latest release and download the binary matching your OS and architecture.
If you don't know what that means, try amd64 first, then 386 if it doesn't work.
For macOS, choose darwin.

Then, run the tool via the command line:

./insee 269059913116714 168127982980507 299122A00498723 299129742398791 144089943287340

Rest assured, this program doesn't transmit any information on the network. All the data necessary for its operation are included in the file you just downloaded.
Your social security number doesn't leave your computer.

From sources

Requires the go toolchain (https://golang.org/).

Run
go run . 269059913116714 168127982980507 299122A00498723 299129742398791 144089943287340
Build & install
go install
insee_number_translator 269059913116714 168127982980507 299122A00498723 299129742398791 144089943287340

Tinker

Update data

You can easily update the data by downloading the CSV files available using the link in Data sources below. Then, unzip the file in data/raw_data and run the following command:

invoke pre-process

This requires invoke on your machine (run pip install -r requirements.txt).

Release

Run tests, create a tag and build binaries:

inv release <version_name>

Data sources

Reuse

If you do reuse my work, please consider linking back to this repository 🙂

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package data is used to parse the insee number into a usable and human-readable data structure.
Package data is used to parse the insee number into a usable and human-readable data structure.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL