Extrait et affiche les données des numéros INSEE (numéro de sécurité sociale française)
Go to file
Gabriel Augendre 4773950a65 Upload to gitea as part of the release process 2021-08-22 10:49:15 +02:00
data Add benchmark & run test in base folder 2021-08-22 10:08:18 +02:00
pre_process Add more pre-commit checks for go 2021-08-21 10:44:42 +02:00
.gitignore Translate & improve readme 2021-08-21 09:08:01 +02:00
.pre-commit-config.yaml Add more pre-commit checks for go 2021-08-21 10:44:42 +02:00
LICENSE Update data & use embedded json instead of go code 2021-08-19 19:18:09 +02:00
README.md Mention requirements.txt in the readme 2021-08-21 09:31:35 +02:00
go.mod Make package name go getable 2021-08-21 11:01:05 +02:00
go.sum Add more pre-commit checks for go 2021-08-21 10:44:42 +02:00
main.go Make package name go getable 2021-08-21 11:01:05 +02:00
requirements.txt Upload to gitea as part of the release process 2021-08-22 10:49:15 +02:00
tasks.py Upload to gitea as part of the release process 2021-08-22 10:49:15 +02:00

README.md

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