Extrait et affiche les données des numéros INSEE (numéro de sécurité sociale française)
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Go to file
Gabriel Augendre b6ba3d3506 Update project files 3 months ago
data Add documentation about error cases 3 months ago
pre_process Add more pre-commit checks for go 2 years ago
.envrc Update project files 3 months ago
.gitignore Update project files 3 months ago
.pre-commit-config.yaml Add more pre-commit checks for go 2 years ago
.tool-versions Update project files 3 months ago
LICENSE Update 'LICENSE' 1 year ago
README.md Update 'README.md' 1 year ago
go.mod Make package name go getable 2 years ago
go.sum Add more pre-commit checks for go 2 years ago
main.go Fix strings 1 year ago
requirements.txt Upload to gitea as part of the release process 2 years ago
tasks.py Update project files 3 months ago

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

Reuse

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