Translate to English, expand documentation and add uv packaging#2
Merged
Merged
Conversation
Internationalization: - Translate the module docstring, all comments, CLI help, stderr summary and error messages of sanitize_netconfig.py to English. Sanitization behavior is unchanged (markers were already English). - Rename the mapping-file warning key "_avertissement" to "_warning". - Translate the test suite and align assertions with the new CLI strings; add a test covering the JSON mapping file output. Documentation: - Rewrite README.md in English with a real before/after example (generated by the tool itself), motivation, installation via uv/uvx/pip/single-file copy, options and exit-code tables, detailed destroyed/pseudonymized/preserved lists, mapping-file guidance, limitations and development instructions, plus a CI badge. uv / packaging support: - Add pyproject.toml (setuptools backend, single py-module, dynamic version from __version__, netanom console entry point, MIT SPDX license metadata, Python >= 3.9). - Commit uv.lock; uv run / uv build / uv tool install now work out of the box. - CI now uses astral-sh/setup-uv, runs the unit tests on Python 3.9 and 3.13, smoke-tests the installed CLI entry point (--version and a --strict sanitization pass) and builds the sdist/wheel. - Bump version to 0.3.0. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Sra7y2NhqmvwkvWSB5Q5D4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #1 — this commit was pushed to the branch right after that PR was merged, so it never reached
main.Internationalization
sanitize_netconfig.pyto English. Sanitization behavior is unchanged (59 tests pass, markers were already English)._avertissementto_warning.Documentation
README.mdin English with a real before/after example generated by the tool itself, motivation, installation via uv / uvx / pip / single-file copy, options and exit-code tables, detailed destroyed/pseudonymized/preserved lists, mapping-file guidance, limitations, development instructions and a CI badge.uv / packaging support
pyproject.toml(setuptools backend, single py-module, dynamic version from__version__,netanomconsole entry point, MIT SPDX license metadata, Python >= 3.9) and commituv.lock.uv run,uv build,uv tool install git+…anduvxnow work out of the box; verified locally (lock, sdist+wheel build, CLI smoke test, full test suite under a uv-managed venv).astral-sh/setup-uv: unit tests on Python 3.9 and 3.13, smoke test of the installed CLI entry point (--version+ a--strictsanitization pass) and an sdist/wheel build on every push.🤖 Generated with Claude Code
https://claude.ai/code/session_01Sra7y2NhqmvwkvWSB5Q5D4
Generated by Claude Code