uk-fci / nhs-number

Python package to provide utilities for NHS Numbers, including validity checks, normalisation, and generation.
https://nhs-number.uk-fci.tech/
MIT License
4 stars 6 forks source link

CLI client for NHS number validation #33

Open pacharanero opened 11 months ago

pacharanero commented 11 months ago

I wondered if there would be utility in creating a CLI tool which could be dockerized or made into a binary executable, enabling the features of the Python package to be made available in the command line. This could be useful for extending the usability of the library outside of a Python programming environment.

Using a tool like Typer a CLI tool could be built which would follow Unix principles, and be able to be used in scripts, one-liners, and other workflows, with the output being able to be piped from stdout into files or other programs.

This could be 'compiled' into a single executable which would remove the need for a Python installation environment.

Thoughts? It is clearly well beyond the necessary remit of the package but is an interesting 'stretch goal'.

andylaw commented 11 months ago

Issue #28